Basics communication
EL5101, EL5101-0010, EL5101-0011
24
Version: 4.2
Fig. 14:
States of the EtherCAT State Machine
Init
After switch-on the EtherCAT slave in the
Init
state. No mailbox or process data communication is possible.
The EtherCAT master initializes sync manager channels 0 and 1 for mailbox communication.
Pre-Operational (Pre-Op)
During the transition between
Init
and
Pre-Op
the EtherCAT slave checks whether the mailbox was initialized
correctly.
In
Pre-Op
state mailbox communication is possible, but not process data communication. The EtherCAT
master initializes the sync manager channels for process data (from sync manager channel 2), the FMMU
channels and, if the slave supports configurable mapping, PDO mapping or the sync manager PDO
assignment. In this state the settings for the process data transfer and perhaps terminal-specific parameters
that may differ from the default settings are also transferred.
Safe-Operational (Safe-Op)
During transition between
Pre-Op
and
Safe-Op
the EtherCAT slave checks whether the sync manager
channels for process data communication and, if required, the distributed clocks settings are correct. Before
it acknowledges the change of state, the EtherCAT slave copies current input data into the associated DP-
RAM areas of the EtherCAT slave controller (ECSC).
In
Safe-Op
state mailbox and process data communication is possible, although the slave keeps its outputs
in a safe state, while the input data are updated cyclically.
Note
Outputs in SAFEOP state
The default set
watchdog [
}
21]
monitoring sets the outputs of the module in a safe state -
depending on the settings in SAFEOP and OP - e.g. in OFF state. If this is prevented by
deactivation of the watchdog monitoring in the module, the outputs can be switched or set
also in the SAFEOP state.
Operational (Op)
Before the EtherCAT master switches the EtherCAT slave from
Safe-Op
to
Op
it must transfer valid output
data.
In the
Op
state the slave copies the output data of the masters to its outputs. Process data and mailbox
communication is possible.