ST_EcLastProtErrInfo
The structure ST_EcLastProtErrInfo contains additional error information relating to the most recent EtherCAT mailbox protocol error.
TYPE ST_EcSlaveState:
STRUCT
ownAddr : ST_AmsAddr;
orgAddr : ST_AmsAddr;
errCode : UDINT;
binDesc : ARRAY[0..MAX_STRING_LENGTH] OF BYTE;
END_STRUCT
END_TYPE
Name | Type | Description |
---|---|---|
ownAddr | ST_AmsAddr | Own AMS address (address of the communication device that queries the error information) |
orgAddr | ST_AmsAddr | AMS address of the error originator (address of communication device that has triggered or caused the protocol error) |
errCode | UDINT | Mailbox protocol error number (SoE, CoE, FoE error code) |
binDesc | ARRAY[0..MAX_ | Additional error information as binary data. The additional error information is device-specific and can include a string or binary data, for example. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.0 | PC or CX (x86, x64, ARM) | Tc2_EtherCAT |