OD_2302_00 NanoJ Error Code
Function
Indicates which error occurred during the execution of the user program.
Object description
| Index | 2302h |
| Object name | NanoJ Error Code |
| Object Code | VARIABLE |
| Data type | UNSIGNED32 |
| Savable | no |
| Access | read only |
| PDO mapping | TX-PDO |
Description
Error codes during program execution:
| Number | Description |
|---|---|
| 0001h | Firmware does not support the used function
(e.g., sin, cos, etc.)
|
| 0002h | Error in memory management |
| 0005h | Time Out: Code executed too long without
yield() or sleep()
|
| 0100h | Invalid NanoJ program file |
| 0102h | CRC error in the NanoJ program file |
Error when accessing an object:
| Number | Description |
|---|---|
| 1xxxxyyh | Invalid mapping in the NanoJ program file: The value in "xxxx" specifies the index, the value in "yy" specifies the subindex of the object that should – but cannot – be mapped. |
| 2000000h + number of surplus variables | Invalid mapping in the NanoJ program file:
too many variables of type input were
declared (see OD_2310_00 NanoJ Input Data Selection) |
| 3000000h + number of surplus variables | Invalid mapping in the NanoJ program file:
too many variables of type output were
declared (see OD_2320_00 NanoJ Output Data Selection) |
| 4000000h + number of surplus variables | Invalid mapping in the NanoJ program file:
too many variables of type inout were
declared (see OD_2330_00 NanoJ In/output Data Selection) |
| 1000h | Access of a nonexistent object in the object dictionary |
| 1001h | Write access of a write-protected entry in the OD |
| 1002h | An attempt was made to write a value that is too low or too high to an object. |
| 1003h | An attempt was made to read out an object that permits only write access. |
| 1FFFh | Unauthorized access of an object |