T-Series/Commands/Set Axis Velocity Scale
Set Axis Velocity Scale - Cmd 29
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 Axis Velocity Scale |
|---|---|
| Applies to | T-JOY |
| Firmware Version | 5.04 and up |
| Command Number | 29 |
| Command Type | Setting |
| Command Data | Maximum Velocity |
| Reply Data | Maximum Velocity |
| Safe to retry? | Yes |
| Returns Current Position? | No |
| Persistence | Non-Volatile |
| Summary | Sets the velocity scale of the active axis. |
The data represents the desired maximum velocity corresponding to full displacement of the joystick. When the joystick is moved away from the neutral position, the displacement is translated into Move At Constant Velocity instruction which is sent to the device associated with the displaced axis. See the user’s manual for the device in question for more information on the Move At Constant Velocity instruction.
The velocity scale setting works in conjunction with the velocity profile setting. See the Set Axis Velocity Profile (#28) command for more detail.
Setting the velocity scale to 0, will disable the active axis. This prevents the joystick from sending any instructions in response to displacement of that axis. This is useful when the user wants to execute a program from the computer, and does not want the joystick to be accidentally moved.
The default velocity scale for all three axes is 2922. Prior to Firmware 5.23, this command has an upper limit of 65535. This upper limit is removed in Firmware 5.23 and up to allow A-Series compatible speeds.