<< Prev        Next >>

ID : 381

LockState

Function

To return whether or not the controller is in machine lock status.

Syntax

LockState

Return value

Return the machine lock status by integer type data.

Description

It is returned whether or not the controller is in machine lock status by integer type data.

Return value

Machine lock status Return value
Machine lock OFF 0
Machine lock ON 1

Related Terms

Machine Lock

Attention

-

Example

'!TITLE "Acquiring Machine Lock Status"
' Acquire the machine lock status
Sub Sample_LockState

  Dim aaa As Integer

  ' Acquire the machine lock status
  aaa = LockState

  ' Display the machine lock status on the message output window
  PrintDbg aaa

End Sub

ID : 381

<< Prev        Next >>