Initial Operation and System Behaviour¶
Basics
The EtherCAT® protocol is handled by the EtherCAT® Communication Module and the PLC operation system automatically. When the Communication Module is initiated in the proper way and the user application is running, the Communication Module and the bus become active.
You need no function blocks for the cyclic process data exchange. Furthermore, it is possible to access the send data and the receive data in the according operands range directly. The access takes place with either operand or symbolic variables. Special EtherCAT® functions are realised by function blocks of the EtherCAT® Library.
A detailed documentation to include an AC500 EtherCAT® Communication Module in the PLC system can be found in the document “Example: EtherCAT® Configuration”.
In summary, you create an EtherCAT® configuration and write it into the Communication Module.
EtherCAT® System Start-up Behaviour
When the user application changes in the run mode, the Communication Module tries to establish communication with the configured slaves.
The Communication Module will not change in run mode if:
- the number of the configured slaves is not equal to the number of connected slaves
- the type of the configured slaves is not equal to the type of connected slaves.
In this case, the LED STA2 ETHCAT (Master Communication Module) switches on.
After communication to the slaves is established, the distributed clocks will be synchronized. This process can last up to 1 minute. During the synchronizing process, the LED S-ERR (slave) switches on. After a successful synchronization of the distributed clocks, the LED S-ERR switches off and the LED PWR, STA1 ETHCAT and STA2 ETHCAT of the slave are on.
For details see the device description of CM579_ETHCAT: CM579-EtherCAT - EtherCAT® Master CM579-EtherCAT - EtherCAT® Master, CI511: EtherCATâ Bus Module CI511-ETHCAT EtherCATâ Bus Module CI511-ETHCAT and CI512: EtherCATâ Bus Module CI512-ETHCAT EtherCATâ Bus Module CI512-ETHCAT.
Note
If a Busmodule will be disconnected from the EtherCAT® network during operation, it will not continue with the communication after re-connecting. A restart of the whole system must be performed.