C-863.12 Mercury Controller MS249E Version: 1.2.1 169
{<JoystickID>"="<uint>}
where
<uint> is the joystick activation state: 1 = joystick activated,
0 = joystick deactivated.
A joystick can be connected to the Joystick (p. 268) socket
of the C-863.12, the identifier is 1. For more information,
see "Connecting an Analog Joystick" (p. 47).
JRC (Jump Relatively Depending On Condition)
Jumps relatively depending on a specified condition of the
following type: one specified value is compared with a
queried value according to a specified rule.
Can only be used in macros.
JRC <Jump> <CMD?> <OP> <Value>
<Jump> is the size of the relative jump. -1 means the
macro execution pointer jumps back to the previous line, 0
means the command is executed again, which is the same
behavior as with WAC (p. 205). 1 jumps to the next line,
making the command unnecessary, and 2 jumps over the
next command. Only jumps within the current macro are
allowed.
<CMD?> is one query command in its usual notation. The
response has to be a single value and not more. For an
example see below.
<OP> is the operator to be used. The following operators
are possible:
= <= < > >= !=
Important: There must be a blank space before and after
the operator!
<Value> is the value to be compared with the response to
<CMD?>.
Using the following macro, you can stop motion of axis "1"
using a stop button connected to a digital input. The stop
button is checked until the axis has reached the target
position (query ONT?). When the stop button is pressed
before the target position has been reached: The response