Diagnostic features
The EtherCAT Master reads two configuration files generated by EtherCAT configurator:
- An ENI file, EtherCAT Network Information, which is a standardized description of the network, that is the output of the EtherCAT configurator
- An XML configuration file, describing the mapping of PLC I/O variables with PDO Entries; this file includes some other master parameters
- it starts sending packets on the network with the timing required
- synchronizes the system clock: in case of configuration with distributedclock, the whole system must be synchronized at network time.
- INIT: initialization phase
- PREOP: pre operational, no data-exchange occur between master and slaves
- SAFEOP: safe operational, only input data from slaves to the master are exchanged
- OP: operational, full data-exchange can happen
- IDLE: The master clock is completely independent from the slaves
- SYNCHRONIZING: The master is making preliminary measurements to synchronize with the slaves
- WAITING_START_TIME: After the master has synced with the slaves, you have to wait for the START_TIME, which is the first time the slaves implement I/O
- COMPENSATING: If the master clock is synchronous with that of the slaves and after START_TIME has passed, the management goes into this state, which means that the Master is constantly tracking the clocks of the network, in this state typically all slaves are in OP state
- NOT_SYNCHRONIZED: If for any reason the master fails to follow the network clock, then management goes into this state and all the slaves involved go to the SAFE_OP state.
- Using the index, positional on the EtherCAT network, the index starts from 0
- Using a physical address, which can also be selected by the user during configuration
- the status change of slaves,
- communication errors,
- emergency CoE messages,
- distributed clock status variation,
- resync events, which occur when the slaves or the entire network are ready to go into operating mode,
- and finally the network recovery event, which indicates a reboot of EtherCAT communi- cation to deal with a serious error case.