ST_KL8524InData
Process image of the inputs for the KL8524
Linked to the terminals in the System Manager.
TYPE ST_KL8524InData :
STRUCT
byState : BYTE;
byAutoManual : BYTE;
bySwitchMode : BYTE;
byOnOff : BYTE;
END_STRUCT
END_TYPE
byState: Status byte
byAutoManual: Data byte 1: Position of the auto/man switch (bit 0 = channel 1, bit 3 = channel 4)
bySwitchMode: Data byte 2: Position of the three-step switch (bit 0 = channel 1 position 1, bit 1 = channel 1 position 2 .. , bit 6 = channel 1 position 1, bit 7 = channel 4 position 2)
byOnOff: Data byte 3: State of the physical outputs (bit 0 = channel 1 output 1, bit 1 = channel 1 output 2, ..., bit 6 = channel 1 output 1, bit 7 = channel 4 output 2)