conguraon is based on the designator (STRING). If a slave has to be contained in a
conguraon (Mandatory Slave), it is marked by an 'X' in the following sample table.
Address 1001 1002 1003
Inverter i700 9400 CiA 9400 AS
Conguraon 1: All inverters are
congured.
X X X
Conguraon 2: The 1st and 2nd
inverters are congured.
X X
Conguraon 3: The 1st and 3rd
inverters are congured.
X X
The conguraon le does not necessarily have to be available.
Precondions:
•
Manual address assignment via the L_ETC_MMCAssignAddress funcon block
•
Operaon of the EtherCAT master in the "RUN_WITHOUT_CHECK" mode
Dependencies between conguraon les and services
Depending on the selected service, informaon from the machine conguraon le "mmc-0-
conf.csv" and the le for further idencaon features of the slaves "mmc-0-ident.csv" is
required. If the les are not available or if there is a "Parsing Error", one of the following error
messages results when a service is acvated: "CONFIG_FILE_ERROR" or "IDENT_FILE_ERROR".
8.1.11.4 Address assignment
Before the EtherCAT master in the modular machine conguraon can switch to the operang
mode "RUN_[...]" each EtherCAT slave has to be assigned a "Second Staon Address" (alias
address). For this purpose, the funcon block L_ETC_MMCController oers the services
"ADDR_ASSIGNMENT_EXTERNALLY" and "ADDR_ASSIGNMENT_CONFIG_SLAVEORDER".
For all address assignment services, the EtherCAT master reads out the relevant informaon
from the slaves to create a temporary conguraon and sets the slaves to the "Pre-
Operaonal" state. For this purpose, the master assigns the addresses for the slaves
connected in ascending order starng with "1". Thus, the address is idencal to the posion of
the slave in the network.
ADDR_ASSIGNMENT_EXTERNALLY service
For this service, the "Second Staon Address" (alias address) can be assigned manually from
the PLC applicaon (e.g. via a visualizaon). This service provides the CoE funcon blocks.
Parameters such as vendor ID, product code, revision, and serial number can be read out from
the slave or parameters can be described for "Opcal Tracking". If a slave has been clearly
idened and assigned, the L_ETC_MMCAssignAddress funcon block can be used to write
the address to the slave.
ADDR_ASSIGNMENT_CONFIG_SLAVEORDER service
For this service, the "Second Staon Address" (alias address) is automacally assigned. For
this purpose, a conguraon has to be specied, e.g. via the machine conguraon le
"mmc-0-conf.csv". Based on the conguraon, the EtherCAT master receives informaon on
which slaves are to be expected at the bus. If the slaves are actually available, the "Second
Staon Address" is wrien to the slaves. Here, in addion to the vendor ID and product code,
the current ascending order of the slaves at the bus is important.
Conguring the network
EtherCAT
Modular machine conguraon
67