ST_KL8528OutData

Process image of the outputs for the KL8528

Linked to the terminals in the System Manager.

TYPE ST_KL8528OutData :
STRUCT
  byCtrl          : BYTE;
  byOut           : BYTE;
  byData          : BYTE;
  byLEDOutGreen   : BYTE;
  byLEDOutYellow  : BYTE;
END_STRUCT
END_TYPE

byCtrl: Control byte

byOut: Data byte 1: sets output 1 to 8 via the PLC if the respective switch is set to "auto".

byData: Data byte 2: reserved for register communication

byLEDOutGreen: Data byte 3: sets LED 1 to 8 to green (must be enabled via byDisCh)

byLEDOutYellow: Data byte 4: sets LED 1 to 8 to yellow (must be enabled via byDisCh)