C-863.12 Mercury Controller MS249E Version: 1.2.1 127
#5 (Request Motion Status)
Requests motion status of the axes.
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
...
0 indicates motion of all axes complete
3 indicates that the first and the second axis are in motion
#7 (Request Controller Ready Status)
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.
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)
The response characters may appear differently in non-
Western character sets or other operating systems.
#8 (Query if Macro Is Running)
Tests if a macro is running on the controller.