CAN FD Message data structures
The following new data structures have been introduced for CAN FD support at the CAN interface.
TYPE CANFDTSRXQUEUE :
STRUCT
dataLenght : BYTE;
EDL : BIT;
BSR : BIT;
ESI : BIT;
cobId : UDINT;
rxData : CANFDMESSAGE;
timeStamp : ULINT;
END_STRUCT
END_TYPE
TYPE CANFDTXQUEUE :
STRUCT
transactionNumber : UINT;
dataLenght : BYTE;
EDL : BIT;
BSR : BIT;
ESI : BIT;
cobId : UDINT;
txData : CANFDMESSAGE;
END_STRUCT
END_TYPE
TYPE CANFDMESSAGE :
ARRAY [0..63] OF USINT;
END_TYPE
These structures are available for the IOs in the System Manager as well as in the PLC.
Further Information