Hi,
I have just compiled the program example below which is switching on and off equipment through relays with digital output channels based on certain conditions being met.
At present I cannot test this program and therefore just wanted to check the syntax and general program is OK.
'schedule definition
RA1M LOGONA GA
1TK("INSIDE",=1CV)
1*TK("OUTSIDE",=2CV)
2TK("PLATE",=3CV)
ALARM1(1CV<16.)AND ALARM2(2CV>16.)1DSO{[=1]} ALARM3(1CV<16.)AND ALARM4(2CV<16.)2DSO{[=1]} ALARM5(1CV>19.)1DSO{[=0]}
ALARM6(1CV>19.)2DSO{[=0]}
ALARM7(1CV>21.)AND ALARM8(3CV>18.)3DSO{[=1]} 4CV=1CV-3CV
ALARM9(4CV<>0.,0.)3DSO{[=0]}
ALARM10(1CV>21.)AND ALARM11(3CV>18.)4DSO
END
'end of program file
Stephen
Hi,
I have just compiled the program example below which is switching on and off equipment through relays with digital output channels based on certain conditions being met.
At present I cannot test this program and therefore just wanted to check the syntax and general program is OK.
````
'schedule definition
RA1M LOGONA GA
1TK("INSIDE",=1CV)
1*TK("OUTSIDE",=2CV)
2TK("PLATE",=3CV)
ALARM1(1CV<16.)AND ALARM2(2CV>16.)1DSO{[=1]} ALARM3(1CV<16.)AND ALARM4(2CV<16.)2DSO{[=1]} ALARM5(1CV>19.)1DSO{[=0]}
ALARM6(1CV>19.)2DSO{[=0]}
ALARM7(1CV>21.)AND ALARM8(3CV>18.)3DSO{[=1]} 4CV=1CV-3CV
ALARM9(4CV<>0.,0.)3DSO{[=0]}
ALARM10(1CV>21.)AND ALARM11(3CV>18.)4DSO
END
'end of program file
````
Stephen