EasyManua.ls Logo

PI MS249E - Page 175

PI MS249E
279 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8 GCS Commands
C-863.12 Mercury Controller MS249E Version: 1.2.1 169
Response:
{<JoystickID>"="<uint>}
where
<uint> is the joystick activation state: 1 = joystick activated,
0 = joystick deactivated.
Notes:
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)
Description:
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.
Format:
JRC <Jump> <CMD?> <OP> <Value>
Arguments:
<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?>.
Response:
None
Troubleshooting:
Check proper jump target
Example:
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

Table of Contents

Related product manuals