CUROPTMODE
(Statement)
[Version 1.98 or later]

Gets the current operation mode.

CUROPTMODE

This statement gets the current operation mode as a value (any of 1 to 4 shown below).
1: Manual, 2: Teach check, 3: Internal auto 4: External auto

PROGRAM PRO1
|
|
------------
|
|
I1 = CUROPTMODE
|
'Get the current operation mode.
|
------------
|
|
END
|
|