T-Series/Commands/Set Active Axis

From ZaberWiki
Jump to: navigation, search

Set Active Axis - Cmd 25

Warning: This is an "include" page. As such, its contents may be included in multiple other pages. To see a list of all pages that include this page, click on "What links here" in the bottom left navbar. If you make changes to this page, be sure that your changes are appropriate to all pages on which this content will be included. You are also encouraged to review our Zaber Wiki Editing Guidelines. This header will not be included in other pages.

Instruction Name Set Active Axis
Applies to T-JOY
Firmware Version 5.04 and up
Command Number 25
Command Type Setting
Command Data Axis
Reply Data Axis
Safe to retry? Yes
Returns Current Position? No
Persistence Non-Volatile
Summary Sets the active axis.

Only one axis can be active at a time, therefore each axis has to be set individually. The settings for each axis are stored in non-volatile memory, and will persist after powering down or resetting. To determine the joystick's current active axis issue the return settings command #53 with a command data value of 25.

Valid Command Data values are:

  • 1 (Axis 1)
  • 2 (Axis 2)
  • 3 (Axis 3)


Subsequent changes to any axis settings will apply only to the active axis.

Settings for the active axis can be changed using the commands shown here:



T-Joy Axes
The three axes on the joystick are defined as follows:
Axis # Positive Direction Negative Direction
Axis 1 right left
Axis 2 up down
Axis 3 clockwise counter-clockwise



Example: To set the maximum velocity of axis number 2 follow the steps below:

  • Issue the Set Active Axis command #25 with a command data value of 2 to make axis number 2 the active axis.
  • Then issue the Set Axis Velocity Scale (Command #29) using the desired maximum velocity as the command data value. All subsequent "Set Axis…" commands will also apply to the axis number 2 until the user sets a different axis to be the active axis.
Personal tools
Zaber Website