118
Identifying Errors Detected by Functions
Section 7-2
The following table lists the error codes and the and the probable causes for
those errors.
Note
Refer to
for information on how to check errors using
error codes.
Error code
Value
Likely cause and remedy
SCAN_INVALID_HANDLE
0x20000001
The driver handle is invalid. Specify a valid driver handle and
execute the function again.
SCAN_ALREADY_USED
0x20000002
The specified driver is already being used by another applica-
tion. Execute the function again after the other application
ends.
SCAN_ERROR_DRIVER_FUNCTION
0x20000003
An error occurred in the driver function. Check the parameters
and execute the function again.
SCAN_NOT_EXIST_DEVICE
0x20000004
There isn’t a Board with the specified Board ID. Specify the
Board ID set on a Board in the computer.
SCAN_TIMEOUT
0x20000005
The command timed out. Reset the Board and execute the
function again.
SCAN_NOT_MODULE_PATH
0x20000006
The communications module path cannot be found. Install
again.
SCAN_NOT_EXIST_MODULE
0x20000007
The communications module cannot be found. Install again.
SCAN_NOT_ALLOCATE_MEMORY
0x20000008
Memory cannot be allocated. Close other applications and
execute the function again.
SCAN_NOT_OPEN_DRIVER
0x20000009
The driver cannot be opened. Check that the driver is installed
properly and execute the function again.
SCAN_NOT_CREATE_EVENT
0x2000000A
The interrupt event cannot be created.
SCAN_INVALID_PARAMETER
0x2000000B
A parameter is invalid. Specify the parameter correctly and
execute the function again.
SCAN_NOT_EXECUTECOMMAND
0x2000000C
An error occurred during execution of the command. Check
the parameters and execute the function again.
SCAN_NOT_DOWNLOAD
0x2000000D
An error occurred while downloading the communications
module. Check that there isn’t a problem with the hardware
and execute the function again.
SCAN_NOT_ENOUGH_BUFFER
0x20001000
There isn’t enough buffer space to store the data. Increase the
size of the buffer.
SCAN_RES_NOT_RECEIVED
0x20001001
The client response has not been received.
SCAN_REQ_NOT_RECEIVED
0x20001002
The server request has not been received.
SCAN_INVALID_REGISTHANDLE
0x20001003
The window or thread handle being registered is invalid. Spec-
ify a valid handle.
SCAN_INVALID_REGISTMSG
0x20001004
The notification message being registered is invalid. Specify a
valid message.
SCAN_NOT_EVENTDATA
0x20001005
There is no event data.
SCAN_NOT_EVENT
0x20001006
There isn’t such an event.
SCAN_FILE_IO_ERROR
0x20001007
An error occurred during file access. Check that the file exists
and isn’t corrupted and then execute the function again.
SCAN_INVALID_CMD
0x20010010
The command code is invalid. Specify a valid code.
SCAN_SYSTEM_BUSY
0x20010011
The system is busy.
SCAN_OFF_LINE
0x20010020
The function can’t be executed because the Board is offline.
Switch online and execute the function again.
SCAN_PROCESSING_ON_LINE
0x20010021
The function can’t be executed because the connection is ini-
tializing. Wait a moment and execute the function again.
SCAN_ON_LINE
0x20010022
The function can’t be executed because the Board is online.
Switch offline and execute the function again.
SCAN_SCANNING
0x20010023
The function can’t be executed because scanning is in
progress. Stop scanning and execute the function again.
SCAN_NOT_SCANNING
0x20010024
The function can’t be executed because scanning is stopped.
Start scanning and execute the function again.
Summary of Contents for DeviceNet 3G8F7-DRM21-E
Page 1: ...OPERATION MANUAL Cat No W381 E1 02 3G8F7 DRM21 E DeviceNet PCI Board ...
Page 2: ...3G8F7 DRM21 E DeviceNet PCI Board Operation Manual Revised July 2005 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 29: ...12 Preparation for Operation Section 1 8 ...
Page 67: ...50 PC Watchdog Timer Management Function Section 3 11 ...
Page 115: ...98 Maintenance API Functions Section 4 7 ...
Page 131: ...114 Remote I O Communications Characteristics Section 6 1 ...
Page 145: ...Index 128 ...
Page 147: ...130 Revision History ...