ID : 5812
MotorState
Function
To return whether or not the controller is in motor on status.
This command is available Ver.1.8.* or later.
Syntax
MotorState
Return value
Return the status of motor by integer type data.
Motor status | Return value |
---|---|
Motor OFF | 0 |
Motor ON | 1 |
Description
It is returned whether or not the controller is in motor on status by integer type data.
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
ID : 5812