ID : 378
CurOptMode
Function
To return the current operating mode.
Description
The current operating mode is returned.
Return value
Operating mode | Return value |
---|---|
Manual mode | 1 |
Teach check mode | 2 |
Automatic mode | 3 |
Related Terms
Operating Mode, Automatic Mode, Teach Check Mode, Manual Mode
Attention
-
Example
'!TITLE "Acquiring Current Motion Mode"
' Acquisition of current motion mode
Sub Sample_CurOptMode
Dim aaa As Integer
' Acquisition of current motion mode
aaa = CurOptMode
' Display the current motion mode information on the message output window
PrintDbg aaa
End Sub
ID : 378