EtherCAT does not change to 'Operational' (fixed from V3.18)

Corrected from:
Controller c300 V3.18
Controller 3200C V3.18
Panel Controller p300 V3.18
Panel Controller p500 V3.18

Response of the new version:
In the case described below, the EtherCAT becomes operational again after execution of a restart of the EtherCAT master by e.g. a positive edge at EtherCAT_Master.xRestart.
 
What happens?

After a restart of the EtherCAT master (by a positive edge at EtherCAT_Master.xRestart) the EtherCAT devices no longer become operational. The EtherCAT master reports the following error messages:

Start master failed. Cannot set slaves to Pre-Operational.
Slave state error. State req/act 'Operational'/'Init'.
Slave signals Error. AL state: 'INIT' (0x11), AL state code: 'Invalid mailbox configuration in PREOP' (0x16).

Neither by a new xRestart, nor by using the function blocks L_ETC_SetMasterState/L_ETC_SetSlaveState the participants can be switched back to operational mode.

When does this behaviour occur?

The behaviour described above occurs if the EtherCAT Master and the EtherCAT Slaves were operational, then the EtherCAT line between two Slaves was disconnected (not the line between Master and the first Slave) and in this state a restart of the EtherCAT Master was executed by a positive edge at EtherCAT_Master.xRestart.
 
Which products are affected?
Controller c300 as of V3.8
Controller 3200C as of V3.0
Panel controller p300 as of V3.8
Panel controller p500 as of V3.3
 
Short-term measures:

After the function restriction has occurred, the EtherCAT devices become operational again through the following actions:

  • Carry out a Reset Source (PLC Designer Menu Online>Reset Source)
  • Load the PLC project into the controller again (if necessary, execute the menu item Create>Clean first).
  • Perform power switching of the controller
Evaluation/recommendations:
If the EtherCAT is restarted after an EtherCAT fault, although the fault has not yet been rectified, the EtherCAT devices can only be switched back to operational mode by an action described under 'Short-term measures'.
 
Automatic Translation

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/201600066/1/
Kontaktformular