<< Prev        Next >>

ID : 3671

MotorState

Function

To return whether or not the COBOTTA is in motor on status.

Syntax

MotorState

Return Value

Return the motor on status by integer type data.

Description

It is returned whether or not the COBOTTA 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

ID : 3671

<< Prev        Next >>