EthercatState

The state of an EtherCAT network.

Name Value Meaning
ecatUnknown -1 Can't detect EtherCAT information.
ecatOffline 0 An EtherCAT slave isn't connected or the master isn't started.
ecatInit 1 An EtherCAT slave is in the Init state.
ecatPreOP 2 An EtherCAT slave is in the Pre-Operational state.
ecatBoot 3 An EtherCAT slave is in the Bootstrap state.
ecatSafeOP 4 An EtherCAT slave is in the Safe-Operational state. This state appears when the slave has a problem.
ecatOP 8 An EtherCAT slave is in the Operational state and can be controlled properly.