Error codes

IEC Library Error Codes

Error code

Description

-1000

IEC_ERROR_CANAPI_INVALID_INTERFACE_NBR

Given interface number was invalid. Value must always be in area 1...CANAPI_MAX_NBR_CAN_INTERFACES.

-1001

IEC_ERROR_CANAPI_INVALID_SHM_MEM

Pointer to used shared memory  CanApi_SharedMemory was not valid.

Reason to this error is in correct initialisation of the CanApi server in IEC side. Check out that there is no function call CanApiSrvInit in application.

 

Firmware Error Codes

Error code

Description

51

ADDRESSFAULT

Generic error which normally means invalid pointer.

5000

CODESYS_ADAPT_ERROR_INVALID_POU_NBR

Given POU number was not in range 0..MAX NBR OF POUS.

 

 

 

Source file topic000028.htm

Last updated 24-Apr-2025