<< Prev        Next >>

ID : 378

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
Teach check mode 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 : 378

<< Prev        Next >>