Set state of EtherCAT network
The EtherCAT Set State block sets the state of the EtherCAT® network to the value passed in through the
New State— State transmitted to the EtherCAT network
|1||Initialization – The system finds slave 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 master sends input data to the slave device. The slave device output remains in a safe state.|
|8||Operational — The network is in full operation. The master sends input data to the slave device. The slave device responds with output data.|
Prev State— Previous state of the network
This port transmits the value of the previous setting of the
New State port.
Error— Report an EtherCAT state error
If no error occurs, this port
0. Otherwise, it transmits a nonzero
Timeout— Time to wait for the network to change state
Enter the number of seconds to wait for the EtherCAT network state to transition.
Set the timeout to
0 to return immediately.