User Tools

Site Tools


commands:status

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
commands:status [2021/09/23 17:16] – external edit 127.0.0.1commands:status [2025/11/12 19:58] (current) – i think maybe this applies to both controllers... brandon
Line 1: Line 1:
 ====== Command:STATUS (/)====== ====== Command:STATUS (/)======
  
---> MS2000 or RM2000 syntax#+--> MS2000 or RM2000 syntax ^
  
 ^Shortcut  |/|  ^Shortcut  |/| 
Line 8: Line 8:
 <-- <--
  
---> Tiger syntax# +--> Tiger syntax ^
  
 ^Shortcut  |/|  ^Shortcut  |/| 
 ^Format  |STATUS| ^Format  |STATUS|
-^Type    |Broadcast command  |+^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. +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 == == 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
 +
 +
 +<WRAP center round info 80%>**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. 
 +</WRAP>
  
-The positive reply can come in two forms: \\ 
-<wrap reply> N </wrap> - there are no motors running from a serial command \\ 
-<wrap reply> B </wrap> - there is a motor running from a serial command \\ 
 == Example == == Example ==
  
Line 31: Line 35:
 N</asi> N</asi>
  
-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 <wrap reply> B </wrap> showing that the motor is still busy moving towards the target.  The second time, the ''STATUS'' command returned an <wrap reply> N </wrap> signifying that the ''MOVE'' command is finished and there is no longer any motor movement. +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.
  
  
  
 {{tag>commands tiger ms2000}} {{tag>commands tiger ms2000}}
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/status.1632431766.txt.gz · Last modified: by 127.0.0.1