C5-E Modbus TCP/USB 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:

Nummer Beschreibung
0001h Firmware does not support the used function (eg. 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:

Nummer Beschreibung
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 the type input declared (see 2310h NanoJ Input Data Selection)
3000000h Invalid mapping in the NanoJ program file: too many variables of the type output declared (see 2320h NanoJ Output Data Selection)
4000000h Invalid mapping in the NanoJ program file: too many variables of the type inout 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 It was attempted to write a too low or too high vaule in an object.
▶   next

Contents