T-Series/Commands/Error/T-Joy
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 | Error |
|---|---|
| Applies to | T-JOY3 |
| Firmware Version | 5.xx |
| Command Number | 255 |
| Command Type | Reply |
| Command Data | n/a |
| Reply Data | Error Code |
| Safe to retry? | Yes |
| Returns Current Position? | No |
| Persistence | n/a |
| Summary | Indicates to the user that an error has occurred. |
This reply indicates that an error has occurred. The error code returned in the data indicates the type of error. The device may send an error code as a reply to an invalid instruction, or it may autonomously send an error code as a triggered reply (i.e. not in response to an instruction). The error code is typically the command number of the instruction that caused the error, but not always.
Error Codes
| Code | Name | Description |
|---|---|---|
| 2 | Device Number Invalid | Renumbering data out of range. |
| 14 | Voltage Low | Power supply voltage too low. |
| 15 | Voltage High | Power supply voltage too high. |
| 25 | Axis Invalid | Set Active Axis - Data out of range. Must be 1, 2, or 3. |
| 26 | Axis Device Number Invalid | Set Axis Device Number - Data out of range. Must be between 0 and 254 inclusive. |
| 27 | Inversion Invalid | Set Axis Inversion - Data out of range. Must be 0, 1, or -1. |
| 28 | Velocity Profile Invalid | Set Axis Velocity Profile - Data out of range. Must be 0, 1, 2, or 3. |
| 29 | Velocity Scale Invalid | Set Axis Velocity Scale - Data out of range. Must be between 0 and 65535. |
| 30 | Load Event Invalid | Load Event-Triggered Instruction - Data out of range. See command #30 for valid range. |
| 31 | Return Event Invalid | Return Event-Triggered Instruction - Data out of range. See command #31 and #30 for valid range. |
| 33 | Joystick Calibration Mode Invalid | Must be 0, 1, or 2. |
| 36 | Peripheral Id Invalid | Restore Settings - peripheral id is invalid. Please use one of the peripheral ids listed in the user manual, or 0 for default. |
| 40 | Mode Invalid | Set Device Mode - one or more of the mode bits is invalid. |
| 48 | Alias Invalid | Alias out of range. |
| 49 | Lock State Invalid | Lock state must be 1 (locked) or 0 (unlocked). |
| 53 | Setting Invalid | Return Setting - data entered is not a valid setting command number. Valid setting command numbers are the command numbers of any "Set ..." instructions. |
| 64 | Command Invalid | Command number not valid in this firmware version. |
| 3600 | Settings Locked | Must clear Lock State (command 49) first. See the Set Lock State command for details. |