Addressing of the slaves
The EtherCAT system uses two types of addressing for the slaves:
1.
Auto-increment addressing
2.
Fixed-address addressing
Auto-increment addressing
Auto-increment addressing is used by the master during the initialization phase of the fieldbus. When the Pre-Operational state has been reached, the master uses fixed-address addressing.
Synchronizing the internal EtherCAT slave
The controller contains an internal EtherCAT slave with its own address to provide the synchronization.
Thus, the connected first nodes have the following start address:
–
0xFFFE by the auto-increment procedure
–
1002 by fixed-address addressing
The additional internal slave is also to be taken into consideration when running network diagnostics.
Fixed-address addressing
With the fixed-address addressing, the slaves are addressed via the station address distributed by the master during the start-up phase. In the EtherCAT bus topology in the »PLC Designer«, the first slave is given the address 1001, the second slave the address 1002 and so on. The EtherCAT addresses cannot be changed. The EtherCAT address of the master is 0. Access to master objects with the address 0 is possible.
Example of the auto-increment procedure and fixed-address addressing
The first slave of a configuration is an internal slave and is given the following address:
–
Auto-increment procedure: 0
–
Fixed-address addressing procedure: 1001
The first external slave of a configuration is given the following addresses:
–
Auto-increment procedure: -1
–
Fixed-address addressing procedure: 1002
The auto-increment procedure uses negative numbering.