5. CONFIGURATION
Code Enum Description
06 ADAPTER_MISMATCH
Second network adapter uses the MAC-ID as first inter-
face.
07 NO_SLAVES_FOUND
Error in slaves startup: There’s possibly missing slaves or
with no communication.
08 VENDOR_ID_WRONG Vendor ID is not equal.
09 PRODUCT_ID_WRONG Product ID is not equal.
10 NUMBER_DEVICE_MISMATCH
Reading Product ID or Vendor ID is unsuccessful, more
slaves in the configuration than in real architecture.
11 SDO_WRITE_ERROR SDO writing error during startup.
12 SDO_TIMEOUT SDO time-out during startup.
13 EMERGENCY_RECEIVED Emergency received from the device.
14 IDN_WRITE_ERROR IDN writing error during startup.
15 IDN_TIMEOUT IDN time-out during startup.
Table 134: EtherCAT Master Error Codes
Variable
DG_Slave.*
Type Possible Values Description
tDiag.
wState
ETC_SLAVE_STATE
ETC_SLAVE_BOOT=3
ETC_SLAVE_INIT=1
ETC_SLAVE_PREOPERATIONAL=2
ETC_SLAVE_SAVEOPERATIONAL=4
ETC_SLAVE_OPERATIONAL=8
Current Slave State.
tDiag.
dwVendorID
DWORD Any DWORD
After the EtherCAT stack
initialization, this variable
returns the Vendor ID read
from the slave.
tDiag.
dwProductID
DWORD Any DWORD
After the EtherCAT stack
initialization, this variable
returns the Product ID read
from the slave.
tDiag.
dwRevisionID
DWORD Any DWORD
After the EtherCAT stack
initialization, this variable
returns the Revision ID read
from the slave.
tDiag.
tLastEmergency
ETC_CO_Emergency -
If a message is received then
this information is stored in
the slave and it can be read
in the application through
this variable. Also a log
message is added. More in-
formation about this diagno-
sis is found in Table 136.
tDiag.
bReserved_01
BOOL - Reserved space.
byReserved_00
BYTE - Reserved space.
Table 135: EtherCAT Slave Diagnostics
176