<< Prev        Next >>

ID : 9254

CurOptMode

Function

To return the current operating mode.

Syntax

CurOptMode

Return value

Return the current operating mode by integer type data.

Description

The current operating mode is returned.

Return value

Operating mode Return value
Manual mode 1
Automatic mode (program check-selected state) 2
Automatic mode 3

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 : 9254

<< Prev        Next >>