■Initialization Errors
Definition |
Value |
Description |
CAN_ERR_SUCCESS |
0 |
Normality completion |
CAN_ERR_INI_RESOURCE |
1 |
Failed in the acquisition of the resource. |
CAN_ERR_INI_INTERRUPT |
2 |
Failed in the registration of the interruption routine.
|
CAN_ERR_INI_MEMORY |
3 |
Failed in the allocation of the memory. This error would hardly occur. If this error occurred, please extend the memory. |
CAN_ERR_INI_REGISTRY |
4 |
Failed in the access of setting file. |
CAN_ERR_INI_BOARD_ID |
5 |
Board ID is duplicated. |
■DLL Errors
Definition |
Value |
Description |
CAN_ERR_DLL_DEVICE_NAME |
10000 |
Device name which isn't registered in setting file is specified. |
CAN_ERR_DLL_INVALID_ID |
10001 |
Invalid ID was specified. Please confirm whether the initialization function has completed normally. |
CAN_ERR_DLL_CALL_DRIVER |
10002 |
Driver can't be called (Failed in the ioctl). Please confirm whether the initialization function has completed normally. |
CAN_ERR_DLL_CREATE_FILE |
10003 |
Failed in the creation of the file (Failed in open). Make sure whether the device driver is started by lsmod. |
CAN_ERR_DLL_CLOSE_FILE |
10004 |
Failed in the closing of the file (Failed in close). It is possible that you have executed the termination processing for the device which was not initialized. |
CAN_ERR_DLL_CREATE_THREAD |
10005 |
Failed in the creation of the thread. |
CAN_ERR_INFO_INVALID_DEVICE |
10050 |
Specified device name is not found. Please check spelling. |
CAN_ERR_INFO_NOT_FIND_DEVICE |
10051 |
Not find the available device. |
CAN_ERR_INFO_INVALID_INFOTYPE |
10052 |
Information type is invalid. It is an error in getting information function. Make sure the parameter. |
CAN_ERR_DLL_BUFF_ADDRESS |
10100 |
Invalid data buffer address. The buffer address is NULL(0). Please make sure of the application's source code. |
CAN_ERR_DLL_EVENT_TYPE |
10300 |
Event type beyond the limit. |
CAN_ERR_DLL_CALLBACK |
10400 |
Callback function address is invalid. |
■Driver Errors
Definition |
Value |
Description |
CAN_ERR_SYS_MEMORY |
20000 |
Failed to allocate memory. This error would hardly occur. If this error occurred, please extend the memory. |
CAN_ERR_SYS_NOT_SUPPORTED |
20001 |
This board couldn't use this function. |
CAN_ERR_SYS_BOARD_EXECUTING |
20002 |
Board is behaving, not execute. When the device is being accessed in background, the error would occurs if the processing of foreground cannot execute. It doesn't occur at present. |
CAN_ERR_SYS_USING_OTHER_PROCESS |
20003 |
Other process is using the device, not execute. Please confirm the restrictions on using more than one process. The trigger function cannot be executed by two or more processes on the same device. |
CAN_ERR_SYS_MONITOR_MODE |
20100 |
Monitor mode is outside the settable range. |
CAN_ERR_SYS_CH_NO |
20101 |
Channel number is outside the settable range. |
CAN_ERR_SYS_DATA_FRAME_FORMAT |
20102 |
The data frame format is outside the settable range. |
CAN_ERR_SYS_BITRATE |
20110 |
The bit rate is outside the settable range. |
CAN_ERR_SYS_TSEG1 |
20120 |
Time segment 1 is outside the settable range. |
CAN_ERR_SYS_SJW |
20121 |
Synchronization Jump Width is outside the settable range. |
CAN_ERR_SYS_TSEG2 |
20122 |
Time segment 2 is outside the settable range. |
CAN_ERR_SYS_ARB_BITRATE |
20130 |
Arbitration bit rate is outside the settable range. |
CAN_ERR_SYS_ARB_TSEG1 |
20131 |
Arbitration time segment 1 is outside the settable range. |
CAN_ERR_SYS_ARB_SJW |
20132 |
Arbitration Synchronization Jump Width is outside the settable range. |
CAN_ERR_SYS_ARB_TSEG2 |
20133 |
Arbitration time segment 2 is outside the settable range. |
CAN_ERR_SYS_DATA_BITRATE |
20140 |
Data bit rate is outside the settable range. |
CAN_ERR_SYS_DATA_TSEG1 |
20141 |
Data time segment 1 is outside the settable range. |
CAN_ERR_SYS_DATA_SJW |
20142 |
Data Synchronization Jump Width is outside the settable range. |
CAN_ERR_SYS_DATA_TSEG2 |
20143 |
Data time segment 2 is outside the settable range. |
CAN_ERR_SYS_TIMING_COMBINATION |
20144 |
This is a combination in which the communication parameters cannot be set. |
CAN_ERR_SYS_MESSAGE_NUM |
20150 |
The number of messages is outside the settable range. |
CAN_ERR_SYS_MESSAGE_TYPE |
20151 |
The messages type is outside the settable range. |
CAN_ERR_SYS_DATA_LEN |
20160 |
Data length is outside the settable range. |
CAN_ERR_SYS_CAN_ID |
20170 |
CAN ID is outside the settable range. |
CAN_ERR_SYS_TIMEOUT_TIME |
20180 |
The timeout time is outside the settable range. |
CAN_ERR_SYS_BUSON |
20200 |
Cannot execute because the bus is on. |
CAN_ERR_SYS_BUSOFF |
20201 |
Cannot execute because the bus is off. |
CAN_ERR_SYS_BUS_DISCONNECT |
20202 |
Cannot execute because the bus is disconnected. |
CAN_ERR_SYS_REC_FIFO_OVERFLOW |
20220 |
Receive FIFO overflowed. |
CAN_ERR_SYS_TIMEOUT |
20250 |
A timeout occurred |
CAN_ERR_SYS_DEVICE_ACCESS |
20500 |
The device could not be accessed successfully. |
■NET / Wireless I/O Series Errors
Definition |
Value [Dec] |
Description |
CAN_ERR_NET_BASE |
22000 |
Failed to access device. |
CAN_ERR_NET_ACCESS |
22001 |
Access rights violation. |
CAN_ERR_NET_AREA |
22002 |
Area error. |
CAN_ERR_NET_SIZE |
22003 |
Access size error. |
CAN_ERR_NET_PARAMETER |
22004 |
Parameter error. |
CAN_ERR_NET_LENGTH |
22005 |
Length error. |
CAN_ERR_NET_RESOURCE |
22006 |
Insufficient resources. |
CAN_ERR_NET_TIMEOUT |
22016 |
A communication timeout has occurred. |
CAN_ERR_NET_HANDLE |
22017 |
Handle error. |
CAN_ERR_NET_CLOSE |
22018 |
Close error. |
CAN_ERR_NET_TIMEOUT_WIO |
22064 |
A wireless communication timeout has occurred. |
CAN_ERR_NET_NOT_DEVICE |
22065 |
Device does not exist. |