====== Command:JSSPD (JS) ======
--> MS2000 or RM2000 syntax ^
^Shortcut |JS|
^Format |JSSPD [X=fast] [Y=slow] [Z=knob_speed] [F=xy_knobs_fast] [T=xy_knobs_slow] |
^Units |Integer|
^Remembered |Using SS Z |
<--
--> Tiger syntax ^
^Shortcut |JS|
^Format |[Addr#]JSSPD [X=fast] [Y=slow] [Z=knob_speed] [F=xy_knobs_fast] [T=xy_knobs_slow] |
^Units |Integer|
^Type |Card-Addressed|
^Remembered |Using [addr#]SS Z |
<--
This command sets the relative motor speed for maximum deflection of the joystick to the values specified.
Values between 0.1 and 100 (%) are acceptable, or -100 to -0.1 (negative setting reverses the direction). (Alternatively on Tiger the joystick direction can be set using the [[commands:customa|CUSTOMA Z]] command, parameters 22-25).
Pressing the joystick button toggles between the fast and slow settings by default.
**X:** Set the joystick fast speed at max deflection.
**Y:** Set the joystick slow speed at max deflection.
MS-2000 required \\
**Z:** ''knob_speed'' is a signed value that sets the relative speed and direction of the encoder knob (not commonly used on TG-1000, only very old builds).
**F/T:** ''xy_knobs_fast'' and ''xy_knobs_slow'' are used to set the fast and slow speeds for ''XY_KNOBS'' and ''ZF_KNOB'', which respond to input from the two knobs on the side of the TG-1000 joystick. Note this is different from MS-2000 where the F parameter sets the slow speed and the fast speed is equal to the slow speed multiplied by the T parameter raised to the third power. Prior to Tiger firmware v2.87 the implementation for F and T was the same as MS-2000.
If there are no errors, the positive reply :A will be sent back from the controller.
--> Tiger Example ^
$ 1JS X? Y?
:A X=80.000000 Y=3.000000
<--
--> MS2000 Example ^
$ JS X? Y?
:JS_FAST=80.000000 JS_SLOW=3.000000 A
<--
**Note:** On MS-2000 firmware prior to v9.54, JS X? and JS Y? only report 2 decimal places of precision.
{{tag>commands tiger ms2000}}