
8 GCS Commands
C-863.12 Mercury Controller
MS249E
Version: 1.2.1
127
#5 (Request Motion Status)
Description:
Requests motion status of the axes.
Format:
#5
Arguments:
None
Response:
The response <uint> is bit-encoded and returned as the
hexadecimal sum of the following codes:
1=First axis in motion
2=Second axis in motion
4=Third axis in motion
...
Examples:
0 indicates motion of all axes complete
3 indicates that the first and the second axis are in motion
#7 (Request Controller Ready Status)
Description:
Asks controller for ready status (tests if controller is ready
to run a new command).
Note: Use #5 (p. 127) instead of #7 to verify if motion has
ended.
Format:
#7
Arguments:
None
Response:
B1h (ASCII character 177 = "±" in Windows) if controller is
ready
B0h (ASCII character 176 = "°" in Windows) if controller is
not ready
(e.g., doing a reference move)
Troubleshooting: The response characters may appear differently in non-
Western character sets or other operating systems.
#8 (Query if Macro Is Running)
Description:
Tests if a macro is running on the controller.