Please enable JavaScript to view this site.

Function that returns the NMT operating mode of the indicated ws.

Syntax

i32 co_rnmt (i32 nWs)

nWs

ID stazione Robox (workstation logica 1-:-64)

Result

Returns the NMT state (first 8 bits):

Bit

Hex value

Meaning

-

0x00000000

BOOT

2

0x00000004

STOP

0, 2

0x00000005

OPERATIONAL

0, 1, 2, 3, 4, 5, 6

0x0000007f

PREOPERATIONAL

In addition, the following other information are mapped:

Bit

Hex value

Meaning

8

0x00000100

=1 if station absent (always 0 if presence forced by cfg)

9

0x00000200

=1 if station really absent (even if it has forced presence)

10

0x00000400

=1 if the last request for a PDO via Remote Transmission Request (RTR) failed

11

0x00000800

=1 if station present because forced by configurator

12

0x00001000

=1 if station is being configured

13

0x00002000

=1 if the station aborted the configuration phase due to various causes

14

0x00004000

=1 if the station sent a shorter RPDO than the configured one

15

0x00008000

=1 if the station sent more than one synchronous PDO between two sync messages

Validity

Rule, Task

Note

Returns the same information as the D_NMT command from RDE shell

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC