Available from RTE version 34.30.2.
This variable is used to know which is the operational state of the nodes in the EtherCAT network. It is the logical sum of all node states.
Syntax |
I32 ecat_diag_slave_state (I32 nEth) |
---|---|
nEth |
EtherCAT channel number (1-:-3) |
Attributes |
Bit-accessible |
Meaning of bits:
Bit |
Mask |
Meaning |
---|---|---|
BIT 8 |
0x100 |
At least one node is in the INIT state |
BIT 9 |
0x200 |
At least one node is in the PRE-OPERATIONAL state |
BIT 10 |
0x400 |
At least one node is in the SAFE-OPERATIONAL state |
BIT 11 |
0x800 |
At least one node is in the OPERATIONAL state |