Command:STATUS (/)
- MS2000 or RM2000 syntax
-
Shortcut / Format STATUS
- Tiger syntax
-
Shortcut / Format STATUS Type Broadcast Command
Inquires regarding the motor status of all axes. Queries the controller whether or not any of the motors are still busy moving following a serial command.
Reply
N - Not Busy: there are no motors running from a serial command
B - Busy: there is at least one motor running from a serial command
Note: Using the / (forward slash) shortcut is the preferred method for rapid polling of the controller for a busy state. The shortcut is handled more quickly in the command parser.
Example
MOVE X=12345 :A STATUS B / N
In this example, the command MOVE started the X-axis moving towards the position 1.2345 millimeters from the origin. The first STATUS command returned a B showing that the motor is still busy moving towards the target. The second time, the STATUS command returned a N signifying that the MOVE command is finished and there is no longer any motor movement. The second command (/) is processed faster.