Please enable JavaScript to view this site.

Function that imposes the NMT operating mode of the indicated workstation.

Syntax

i32 co_wnmt(i32 nWs, i32 opeMode)

nWs

Robox station ID (logical workstation 1-:-64).

Note: If 0 is specified as ws then it is meant for all.

opeMode

Imposable operating mode:

Value

Code

Mode

1

0x01

ENTER OPERATIONAL

2

0x02

ENTER STOP

128

0x80

ENTER PREOPERATIONAL

129

0x81

RESET NODE

130

0x82

RESET COMMUNICATION

Result

Returns:

Value

Description

<> 0

Successful write

0

Illegal parameters encountered

Validity

Rule, Task

Note

Action can also be obtained from shell command

 

  

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