Validity: Rule, Task
This keyword provides access to a logical output word (16 bits).
Syntax |
I32 out_w (I32 n) |
---|---|
n |
Index of the output word. See file RHW.CFG. Minimum representable number: 1 Maximum representable number: Depends on Hardware |
Attributes |
Bit-accessible |
NOTE: In the case of remote I/O mapping to fieldbus you must use indexes (256 to 9999).
Example
; to rifVel is assigned the value of the output word 1000 rifVel = out_w(1000) ; I set (equal to 1) the first bit of output word 1000 out_w(1000).0 = 1 |