Directive (device command) to set the state of EtherCAT nodes.
The command allows the node's state to be set from its physical address in the network.
Syntax |
ECAT_SLAVE_S_NMT nEth slaveAddr desState |
---|---|
nEth |
EtherCAT channel number. (1-:-...) |
slaveAddr |
Physical address of the node |
desState |
Desired state: •1 = INIT •2 = PRE-OPERATIONAL •4 = SAFE-OPERATIONAL •8 = OPERATIONAL |
Notes |
Example
ECAT_SLAVE_S_NMT 1 10 8 ; Sets OPERATIONAL to indir node 10 on line 1 |