Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

ABB IO

#6
Hi Patrick,

Yes, I was referring to case 14 of the serial driver. If you have a dionum called colletOpen mapped to digital output 0 you can do the following:

Code:
IF num1 == 0 THEN
SetDO colletOpen, num2;
ELSEIF num2 == 1 THEN
SetDO dionum1, num2;
ELSE
TPWrite "Unknown Output ID: " \Num:=num1;
STOP;
ENDIF

You can implement this in an IF THEN ELSE or a SWITCH CASE.

Albert


Messages In This Thread
ABB IO - byPatrick- 11-02-2019, 06:59 AM
RE: ABB IO - byPatrick- 11-02-2019, 28AM
RE: ABB IO - byPatrick- 11-03-2019, 12:57 PM
RE: ABB IO - byAlbert- 11-04-2019, 11:54 AM
RE: ABB IO - byPatrickCavan43- 11-05-2019, 05:17 PM
RE: ABB IO - byAlbert- 11-06-2019, 12:02 PM
RE: ABB IO - byPatrickCavan43- 11-06-2019, 12:25 PM



Users browsing this thread:
1 Guest(s)