EL6inData22B, EL6outData22B
Data structures for serial EtherCAT Terminal EL60xx in 22-byte mode
For data exchange via the I/O bus each serial EtherCAT Terminal requires a variable of type EL6inData22B and a variable of type 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_TYPEEL6outData22B
TYPE EL6outData22B
STRUCT
Ctrl : WORD;
D : ARRAY[0..21] OF BYTE;
END_STRUCT
END_TYPERequirements
Development environment | Target platform | PLC libraries to include |
|---|---|---|
TwinCAT v3.1.4012 | PC or CX (x86, x64, Arm®) | Tc2_SerialCom |