2302h 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 |
Allowed values | |
Preset value | 00000000h |
Firmware version | FIR-v1426 |
Change history |
Firmware version FIR-v1436: "Object Name" entry changed from "VMM Error Code" to "NanoJ Error Code". |
Description
Error codes during program execution:
Number | Description |
---|---|
0000h | Not an error |
0001h | Firmware does not (yet) support the used function |
0002h | Not or incorrectly initialized pointer |
0003h | Impermissible access to system resource |
0004h | Hard fault (internal error) |
0005h | Code executed too long without yield() or sleep() |
0006h | Impermissible access to system resource |
0007h | Too many variables on the stack |
0100h | Invalid NanoJ program file |
Error when accessing an object:
Number | Description |
---|---|
10xxxxyyh | 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. |
1000h | Access of a nonexistent object in the object dictionary |
1001h | Write access of a write-protected entry in the OD |
1002h | Internal file system error |
File system error codes when loading the user program:
Number | Description |
---|---|
10002h | Internal file system error |
10003h | Storage medium not ready |
10004h | File not found |
10005h | Folder not found |
10006h | Invalid file name/folder name |
10008h | Access of file not possible |
10009h | File/directory object is invalid |
1000Ah | Storage medium is read-only |
1000Bh | Drive number is invalid |
1000Ch | Working range of the drive is invalid |
1000Dh | No valid file system on the drive |
1000Eh | Creation of the file system failed |
1000Fh | Access not possible within the required time |
10010h | Access was rejected |