JMAX – Joystick Maximum Voltage
Gets/sets the maximum joystick input [value] in mV for [axis].
The JMAX[axis] command can be used to define the maximum analog input value for the specified axis. This parameter has units of millivolts (mV) and a range of 0 to 3300. This value defines the analog input value in which the maximum joystick speed occurs in the positive direction. This command is only available in ASCII mode.
Access: Read/Write
Category: Joystick
Applies to: All Commander Controllers
ASCII JMAX[axis]
JMAX[axis]=[value]
Syntax
Read
JMAX[axis]
|
[axis] is set to X or Y |
Write
JMAX[axis]=[value]
|
[axis] is set to X or Y [value] specifies the maximum voltage to the analog terminal in mV. Range from 0 – 3300 |
Reply
Command is accepted and executed
Read
Returns the current set maximum voltage in mV
Write
OK
Command cannot be processed
An error message is returned. See Error Codes
Example
Read
JMAXX * Returns the value of the maximum voltage on the X-axis analog terminal.
Write
JMAXY=3300 * Sets the maximum voltage value to 3300 mV for the Y-axis analog terminal.
Notes
- The ASCII command JTOL[axis] can be used to define the zero-tolerance (or dead) zone around the MID value. No movement will occur while the analog input value is within the zero-tolerance zone. This parameter has units of millivolts (mV) and a range of 0 to 3300. The zero-tolerance parameter will be on the positive and negative side of the MID point to define to the zero-tolerance zone. See the figure below for details.

- Example The zero-tolerance zone at JMAX = 3,250 mV, JMIN = 10 mV, JTOL = 50 mV is

- 1580 mV ~ 1680 mV since ((3,250 – 10) ÷ 2) +10 = 1,630 mV
- 1,630 mV ±50 mV
See also
JSPD, JDEL, JMIN, JTOL, JENA, JLIM, AI