Standards/Ethercat/StateMachine
From UIT
|
Introduction
The EtherCAT State Machine (ESM) is responsible for the coordination of master and slave applications at start up and during operation. State changes are typically initiated by requests of the master. They are acknowledged by the local application after the associated operations have been executed. Unsolicited state changes of the local application are also possible.
Simple devices without a µController can be configured to use EtherCAT State Machine emulation. These devices simply accept and acknowledge any state change automatically.
There are four states an EtherCAT slave shall support, plus one optional state:
- Init
- Pre - Operational
- Safe - Operational
- Operational
- Bootstrap (optional)
The states and the allowed state changes are shown in figure 1:
Figure 1: EtherCAT State Machine