ST_KL8524OutData

Process image of the outputs for the KL8524

Linked to the terminals in the System Manager.

TYPE ST_KL8524OutData :
STRUCT
  byCtrl           : BYTE;
  bySwitchModeOut  : BYTE;
  byData           : BYTE;
  byLEDGreen       : BYTE;
  byLEDYellow      : BYTE;
END_STRUCT
END_TYPE

byCtrl: Control byte

bySwitchModeOut: Data byte 1: sets the outputs of the three-step switch via the PLC if the automatic switch is set to "auto"

byData: Data byte 2: reserved for register communication

byLEDGreen: Data byte 3: sets the output LEDs to green (must be enabled via byDisCh)

byLEDYellow: Data byte 4: sets the output LEDs to yellow (must be enabled via byDisCh)