100
Errors Detectable by Functions
Section A-9
A-9
Errors Detectable by Functions
If an error occurs while an API function is executed, details of the error can be
obtained with the function GetLastError.
Error code
Value
Error content and Action to be taken
CPNT_INVALID_HANDLE
0x20000001
Driver handle value is invalid. Specify the correct driver
handle and redo the operation.
CPNT_NOT_OPEN_DRIVER
0x20000003
Driver handle value is invalid. Specify the correct driver
handle and redo the operation.
CPNT_NOT_EXIST_DEVICE
0x20000004
Board of specified ID does not exist.
A board with an identical Board ID does exist.
Specify a correct Board ID.
CPNT_CMD_TIMEOUT
0x20000005
The command times out. Reset the Board and redo the
operation.
CPNT_EVENT_TIMEOUT
0x20000006
The explicit message times out. Set the time to monitor the
events addressed to Slave Units longer. The monitoring
time is one of the network parameter.
CPNT_SOFTWARETABLE_ERROR
0x20000007
Format error in software tables. Check the content of the
software table.
CPNT_RATE_ERROR
0x20000008
Format error in data rate. Check the set value as the data
rate.
CPNT_REGTABLE_ERROR
0x20000009
Format error in registration tables. Check the content of the
registration table.
CPNT_LOGICALPARAM_ERROR
0x2000000A
Format error in logical error checking items. Check the set
value in the checking items.
CPNT_NETPARAM_ERROR
0x2000000B
Format error in network parameters. Check the set value
for the network parameters.
CPNT_SLAVEPARAM_ERROR
0x2000000C
Format error in Slave Unit parameters. Check the set value
for the Slave Unit parameters.
CPNT_EXNETPARAM_ERROR
0x2000000D
Illegal parameter is set. Check the set parameters.
CPNT_INVALID_BOARDID
0x2000000E
Illegal Board ID is specified. Set the Board ID with a
number between 0 and 9.
CPNT_NOT_SYSTEM
0x2000000F
Communications cycle stops. This API cannot be used
unless the communications cycles are in operation.
CPNT_SYSTEM
0x20000010
Communications cycle is in operation. This API cannot be
used unless the communications cycle stops.
CPNT_BOARD_RAMERROR
0x20000011
RAM checking found an error. Replace the Board.
CPNT_BOARD_ERROR
0x20000012
Hardware error is found. Replace the Board.
CPNT_ENABLELIST_ERROR
0x20000013
Invalid EnableList is specified by the function
CPNT_StartCycleEx. Check the set value for EnableList.
CPNT_STATE_ERROR
0x20000014
Cannot change the state.
CPNT_PARAM_ERROR
0x20001000
Argument is out of the range. Specify a correct argument.
CPNT_RES_NOT_RECEIVED
0x20001001
No response
CPNT_RES_SIZEOVER
0x20001002
Response message size is over the limit.
CPNT_REQ_SIZEOVER
0x20001003
Request message size is over the limit.
CPNT_BUSY
0x20001004
The destination is in the state that cannot receive an
explicit message.
CPNT_OTHER_ERROR
0x20020000
Other error
Содержание 3G8F7-CRM21
Страница 4: ...iv...
Страница 10: ...x TABLE OF CONTENTS...
Страница 30: ...10 Specifications Section 1 7 1 7 3 Dimensions 3G8F7 CRM21 PCI unit mm 3G8F8 CRM21 CompactPCI unit mm...
Страница 46: ...26 Connecting the Communications Power Supply Cables Section 2 4...
Страница 74: ...54 Board Hardware Error Notification Section 4 8...
Страница 173: ...153 APPENDIX D Sample Program D 1 Sample Program 154...
Страница 230: ...210 Wiring for Power Supply Section E 5...
Страница 234: ...214 Index...
Страница 236: ...216 Revision History...
Страница 237: ......