ST_KL8548InData

Process image of the inputs for the KL8548

Linked to the terminals in the System Manager.

TYPE ST_KL8548InData :
STRUCT
  byState  : BYTE;
  byDummy  : BYTE;
  wDataIn  : WORD;
END_STRUCT
END_TYPE

byState: Status byte: Bit 0 is TRUE if the automatic switch is set to "man" (Status byte=1).

byDummy: Dummy byte.

wDataIn: Data word 1: position of the potentiometer (0x0000=0V, 0x3FFF=+5V, 0x7FFF=+10V)