EasyManua.ls Logo

PI MS249E - Page 174

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
168 Version: 1.2.1 MS249E C-863.12 Mercury Controller
JON (Set Joystick Activation Status)
Description:
Activates or deactivates a joystick connected to the
controller.
Format:
JON {<JoystickID> <uint>}
Arguments:
<JoystickID> is one joystick connected to the controller;
see below for details.
<uint> 1 activates the joystick, 0 deactivates the joystick.
Response:
none
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).
Before a joystick can be activated with JON, its axes must
have been assigned to the controller axes using JAX (p.
162).
When a joystick connected to the C-863.12 is activated
with the JON command, this joystick controls the axis
velocity ("commanded velocity" output by the profile
generator).
During joystick control, the soft limit specified by the
parameter 0x15 or 0x30 is set as the target position.
Details on the parameters can be found in "Travel Range
and Soft Limits" (p. 25). When disabling a joystick, the
target position is set to the current position of the joystick-
controlled axis.
Motion commands such as MOV (p. 177) are not allowed
when a joystick is active for the axis. For further
information, see "Joystick Control" (p. 89).
JON? (Get Joystick Activation Status)
Description:
Queries the activation state of the specified joystick
connected to the controller.
Format:
JON? [{<JoystickID>}]
Arguments:
<JoystickID> is one joystick connected to the controller;
see below for details.

Table of Contents

Related product manuals