MotorState
Function
To return whether or not the controller is in motor on status.
This command is available Ver.1.8.* or later.
Description
It is returned whether or not the controller is in motor on status by integer type data.
Return value
| Motor ON status | Return value |
|---|---|
| Motor OFF | 0 |
| Motor ON | 1 |
Related Terms
-
Attention
-
Example
'!TITLE "Acquiring Motor ON Status"
' Acquire the motor on status
Sub Sample_MotorState
Dim aaa As Integer
' Acquire the motor on status
aaa = MotorState
' Display the motor on status on the message output window
PrintDbg aaa
End Sub

