4. Configuration
137
the first EtherCAT slave whose DC setting is
active. This variable is TRUE shortly after this
synchronization is successfully completed. This
signal, for example, can be used to initialize
SoftMotion function blocks in case of compatibility
with the device after the CLP is in synchronized
mode, otherwise jumps in position may occur. At
the PLC startup this variable is FALSE and will
change to TRUE after a few seconds. If
synchronization is lost due to any failure, the
variable will change to FALSE.
In rising edge, the master will restart completely.
All configuration parameters will be reloaded.
When this variable is TRUE, the communication is
stopped. EtherCAT packages will not be sent. On
most devices a restart is required, because they
are in an error state.
tCommand.
wDCInSyncWindow
Time window to bDistributedClockSync. Jitter
must be inside this window so that the
bDistributedClockSync stays TRUE. Default value:
50 microseconds.
tCommand.
bySlaveUpdatedbyCycl
e
This value defines the number of slaves that will
be read each cycle to fill the slaves diagnostic
variables. Value 0 means that no slave diagnostic
will be updated.
Table 4-92. EtherCAT Master Diagnostics and Commands
No communication. Over 100 packages weren’t received. Possible
failure in the master cable.
Working counter to processdata is wrong. One or more slaves aren’t
operational or missing and the expected working counter isn’t found.
Slave DC Time is always zero -> maybe IN and OUT connectors are
wrong and no time can be read from the time reference.
First network adapter can’t be opened.
OPEN_SECONDADAPTER_FAILED
Second network adapter can’t be opened.
Second network adapter uses the MAC-ID as first interface.
Error in slaves startup: There’s possibly missing slaves or with no
communication.
Reading ProductID or Vendor ID is unsuccessful, more slaves in the
configuration than in real architecture.
SDO writing error during startup.
SDO timeout during startup.
Emergency received from the device.
IDN writing error during startup.
IDN timeout during startup.
Table 4-93. EtherCAT Master Error Codes