Code: |
AS + 912 |
Symbolic: |
bccFbReadEcatNmt |
This command will read the NMT status from the device EtherCAT Interface. Request parameters are the following:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
FLAGS |
Request flags: (none) |
4 |
U32 |
NODE |
Node address |
On success, a bccAck is received with following data:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
FLAGS |
Reply flags: (none) |
4 |
U32 |
NODE |
Node address (echo) |
8 |
U32 |
STATUS |
Actual NMT status: 1=Init 2=PreOperational 3=Boot 4=SafeOperational 8=Operational |
12 |
U32 |
FSTATUS |
Forced NMT status: 1=Init 2=PreOperational 3=Boot 4=SafeOperational 8=Operational |
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackMissingArgs |
Missing arguments |
|
nackIllegalArgs |
Illegal arguments |
U16 What illegal: 1=Flags 2=Node address |
nackInterfaceNotFound |
EtherCAT interface not present |
|
nackInterfaceNotReady |
EtherCAT interface not running |
|