The function is normally performed if the return value is 0. If the return value is not 0, error occurs and the function processing is interrupted.
Define |
Return Value(Decimal) |
Error Content |
AIO_ERR_SUCCESS |
0 |
Normality completion |
AIO_ERR_INI_MEMORY |
3 |
Failed in the allocation of the memory. |
AIO_ERR_INI_REGISTRY |
4 |
Failed in the access of setting file. The setting file dose not exist, or the content of setting file occurs any error. |
AIO_ERR_DLL_DEVICE_NAME |
10000 |
The device name which wasn't registered by setting file was specified. |
AIO_ERR_DLL_INVALID_ID |
10001 |
Invalid ID was specified. This error occurs when initialization function is not called, termination function was called, or failed in network communication for any reason. |
AIO_ERR_DLL_CREATE_FILE |
10003 |
Failed in the retrieval of the handle. This error occurs when I/O controller unit is powered off or does not exist on network. |
AIO_ERR_DLL_CLOSE_FILE |
10004 |
Failed in the closing of the handle. This error occurs hardly. |
AIO_ERR_INFO_NOT_FIND_DEVICE |
10006 |
Available device is not found. |
AIO_ERR_PTR_DEVICE_NAME |
10007 |
Pointer to DeviceName is NULL. |
AIO_ERR_PTR_DEVICE |
10008 |
Pointer to Device is NULL. |
AIO_ERR_UNKNOWN_DEVICE |
10013 |
Could not get device type. |
AIO_ERR_PTR_DEVICE_TYPE |
10015 |
Pointer to DeviceType is NULL. |
AIO_ERR_INFO_INVALID_DEVICE |
10050 |
Specified device name is not found. |
AIO_ERR_NULL_DEVICE |
10100 |
A device name isn't stored in DeviceName. |
AIO_ERR_PTR_ID |
10101 |
Pointer to Id is NULL. |
AIO_ERR_PTR_ERR_STR |
10180 |
Pointer to ErrorString is NULL. |
AIO_ERR_PTR_AI_RANGE |
11051 |
Pointer to AiRange is NULL. |
AIO_ERR_AI_RANGE |
11060 |
The value of AiRange is outside the designated range of the function. |
AIO_ERR_AI_CHANNEL |
11420 |
The value of AiChannel is outside the designated range of the function. |
AIO_ERR_PTR_AI_DATA |
11421 |
Pointer to AiData is NULL. |
AIO_ERR_AI_CHANNELS |
11440 |
The value of AiChannels is outside the designated range of the function. |
AIO_ERR_PTR_AI_MAX_CHANNELS |
11720 |
Pointer to AiMaxChannels is NULL. |
AIO_ERR_PTR_AI_RESOLUTION |
11740 |
Pointer to AiResolution is NULL. |
AIO_ERR_AO_CHANNEL |
13000 |
The value of AoChannel is outside the designated range of the function. |
AIO_ERR_AO_CHANNELS |
13020 |
The value of AoChannels is outside the designated range of the function. |
AIO_ERR_PTR_AO_DATA |
13021 |
Pointer to AoData is NULL. |
AIO_ERR_PTR_AO_RESOLUTION |
13040 |
Pointer to AoResolution is NULL. |
AIO_ERR_PTR_AO_MAX_CHANNELS |
13080 |
Pointer to AoMaxChannels is NULL. |
AIO_ERR_PTR_AO_RANGE |
13111 |
Pointer to AoRange is NULL. |
AIO_ERR_AO_RANGE |
13120 |
The value of AoRange is outside the designated range of the function. |
AIO_ERR_AO_CHANNEL |
13500 |
The value of AoChannel is outside the designated range of the function. |
AIO_ERR_SYS_NOT_SUPPORTED |
20001 |
This function can't be used by this device. |
AIO_ERR_DEVICE_BUSY |
20002 |
Can not use while by another device works. |
AIO_ERR_AI_DEVICE_RANGE |
21060 |
The value of AiRange is outside the designated range of the device being used. |
AIO_ERR_AI_SET_RANGE |
21063 |
It failed in the setting of the range. |
AIO_ERR_AI_DEVICE_CHANNEL |
21420 |
The value of AiChannel is outside the designated range of the device being used. |
AIO_ERR_AD_ERROR |
21421 |
AD conversion error occurred. |
AIO_ERR_AI_CHANNEL_NUM_OVER |
21441 |
The number of conversion channels was exceeded. It is converted on the maximum channel. |
AIO_ERR_AO_DEVICE_CHANNEL |
23000 |
The value of AoChannel is outside the designated range of the device being used. |
AIO_ERR_DA_ERROR |
23001 |
DA conversion error occurred. |
AIO_ERR_AO_DATA_RANGE1 |
23002 |
Specify data to establish in AoData in the range of 0 to 4095. |
AIO_ERR_AO_DATA_RANGE2 |
23003 |
Specify data to establish in AoData in the range of 0 to 65535. |
AIO_ERR_AO_CHANNEL_NUM_OVER |
23021 |
The number of conversion channels was exceeded. It is converted on the maximum channels. |
AIO_ERR_AO_DEVICE_RANGE |
23120 |
The value of AoRange is outside the designated range of the device being used. |
AIO_ERR_AO_SET_RANGE |
23121 |
It failed in the setting of the range. |
AIO_ERR_START_ERROR |
28001 |
Error occurred when module starts. |
AIO_ERR_NOT_START |
28002 |
Device dose not start. |
AIO_ERR_ACCESS_RIGHT |
28003 |
Access rights error. |
AIO_ERR_DLL_TIMEOUT |
28004 |
Communication time out occurred. |
AIO_ERR_COMPOSITION |
28005 |
Device composition error. IO assist server must be used if the setting except Group ID=8. |