Displays the current NMT status.
Syntax |
D_NMT nWsCan |
---|---|
nWsCan |
Number of workstations |
Notes |
The answer will have the following meaning: low byte •4 = Stop •5 = Operational •127 = Preoperational high byte •0x00000100 (B8) = 1 if station missing (always applies 0 if presence forced by cfg) •0x00000200 (B9) = 1 if station really missing (even if it has forced presence) •0x00000400 (B10) = 1 if last request rtr x ARPDO failed •0x00000800 (B11) = 1 if station present because forced by configurator •0x00001000 (B12) = 1 if station is being configured •0x00002000 (B13) = 1 if station aborted the configuration phase x various causes •0x00008000 (B14) = 1 if the station sent a shorter RPDO than the configured one |
Example
I check the status of CAN workstation 1 via the D_NMT 1 command. RTE responds to me that it is in Operational (code 5). |