commands:status

# Differences

This shows you the differences between two versions of the page.

 commands:status [2016/09/07 22:03]asiadmin ↷ Page moved from documentation:commands:status to commands:status commands:status [2019/04/18 23:33] (current) Both sides previous revision Previous revision 2018/02/07 22:28 jon 2016/09/07 22:03 asiadmin ↷ Page moved from documentation:commands:status to commands:status2016/03/17 00:13 vik created Next revision Previous revision 2018/02/07 22:28 jon 2016/09/07 22:03 asiadmin ↷ Page moved from documentation:commands:status to commands:status2016/03/17 00:13 vik created Line 1: Line 1: + ====== 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. ​ Using the shortcut / is the preferred method for rapid polling of the controller for a busy state. ​ The / is handled quickly in the command parser. ​ + == Reply == + + The positive reply can come in two forms: \\ + N ​ - there are no motors running from a serial command \\ + B ​ - there is a motor running from a serial command \\ + == 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 an N ​ signifying that the ''​MOVE''​ command is finished and there is no longer any motor movement. + + + + + {{tag>​commands tiger ms2000}}