
8 GCS Commands
180
Version: 1.2.1
MS249E
C-863.12 Mercury Controller
sent from the command line when a macro is running. The
macro content and motion commands received from the
command line can overwrite each other.
Motion commands such as MVR are not permitted when a
joystick is active for the axis. For further information, see
"Joystick Control" (p. 89).
Example:
Send:
MOV 1 0.5
Note: This is an absolute motion.
Send:
POS? 1
Receive:
1=0.500000
Send:
MOV? 1
Receive:
1=0.500000
Send:
MVR 1 2
Note: This is a relative motion.
Send:
POS? 1
Receive:
1=2.500000
Send:
MVR 1 2000
Note: New target position of axis 1 would exceed motion
range. Command is ignored, i.e., the target position
remains unchanged, and the axis does not move.
Send:
MOV? 1
Receive:
1=2.500000
Send:
POS? 1
Receive:
1=2.500000
ONT? (Get On-Target State)
Description:
Queries the on-target state of the specified axis.
If all arguments are left out, queries state of all axes.
Format:
ONT? [{<AxisID>}]
Arguments:
<AxisID> is one axis of the controller.
Response:
{<AxisID>"="<uint> LF}
where
<uint> = "1" when the specified axis has reached the target
value, otherwise "0".