PD1-C CANopen Online Manual

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
0001h Firmware does not support the used function (e.g., sin, cosin, etc.)
0005h Time Out: Code executed too long without yield() or sleep()
0007h Too many variables on the stack
0100h Invalid NanoJ program file
0101h Invalid NanoJ version of the 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 Invalid mapping in the NanoJ program file: too many variables of type input were declared (see 2310h NanoJ Input Data Selection)
3000000h Invalid mapping in the NanoJ program file: too many variables of type output were declared (see 2320h NanoJ Output Data Selection)
4000000h Invalid mapping in the NanoJ program file: too many variables of type inout were declared (see 2330h 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
▶   下一个

目录