Data structures for the EL60xx serial EtherCAT terminal in 22-byte mode

For data exchange by way of the I/O bus, every serial EtherCAT terminal needs variables of type EL6inData22B and EL6outData22B. These variables are placed at a fixed address in the memory map and are linked to the hardware with the TwinCAT System Manager.

EL6inData22B

TYPE EL6inData22B
STRUCT
    Status  : WORD;
    D       : ARRAY[0..21] OF BYTE;
END_STRUCT
END_TYPE

EL6outData22B

TYPE EL6outData22B
STRUCT
    Ctrl    : WORD;
    D       : ARRAY[0..21] OF BYTE;
END_STRUCT
END_TYPE