EtherCAT Get Device State
Get state of EtherCAT network
Simulink Real-Time / EtherCAT
The EtherCAT Get Device State block returns the state of a device on the EtherCAT® network.
State — State received from the selected device
|1||Initialization — The system finds terminal devices and initializes the communication controller.|
|2||Preoperational — The system uses the communication controller to exchange system-specific initialization data. In this state, the network cannot transmit or receive signal data.|
|4||Safe operational — The network is running and ready for full operation. The supervisor sends input data to the terminal device. The terminal device output remains in a safe state.|
|8||Operational — The network is in full operation. The supervisor sends input data to the terminal device. The terminal device responds with output data.|
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2021b