Validity: Rule, Task
This keyword provides access to a logical output channel.
Syntax |
I32 out (I32 n) |
---|---|
n |
Boolean output channel index. See file RHW.CFG. Minimum representable number: 1 Maximum representable number: Depends on Hardware |
Example
; if output channel 257 is equal to 1, then in sr(1) ; the string "The first output channel of module RMC2 is energized" ; will be stored, otherwise will be stored the string ; "The first output channel of module RMC2 is not energized" if(out(257)) sr(1)= "The first output channel of module RMC2 is energized" else sr(1)= "The first output channel of module RMC2 is not energized" endif |
Example
; output channel 257 is activated out(257) = 1 |