
8 GCS Commands
162
Version: 1.2.1
MS249E
C-863.12 Mercury Controller
JAS? (Query Joystick Axis Status)
Description:
Queries the current status of the specified axis of the
specified joystick connected to the controller.
Format:
JAS? [{<JoystickID> <JoystickAxis>}]
Arguments:
<JoystickID> is one joystick connected to the controller;
see below for details.
<JoystickAxis> is one of the axes of the joystick; see below
for details.
Response:
{<JoystickID> <JoystickAxis>"="<Amplitude>}
where
<Amplitude> is the factor which is currently applied to the
current valid velocity setting of the controlled motion axis,
corresponds to the current displacement of the joystick
axis. See below for details.
Notes:
A joystick can be connected to the
Joystick
(p. 268) socket
of the C-863.12, the identifier is 1. The C-863.12 supports
one axis of the joystick, the identifier of the joystick axis is
1. Refer also to "Commandable Elements" (p. 12) for more
information.
The <Amplitude> factor is applied to the velocity set with
VEL (p. 203), the range is from -1.0 to 1.0. Examples: With a
factor of 0, the joystick axis is at the center position; with a
factor of -0.7, the displacement of the joystick axis is about
2/3 in negative direction, provided that a linear lookup
table is currently valid (see JLT (p. 165) for an example).
JAX (Set Axis Controlled By Joystick)
Description:
Sets axis controlled by a joystick which is connected to the
controller.
Each axis of the controller can only be controlled by one
joystick axis.
Format:
JAX <JoystickID> <JoystickAxis> <AxisID>