Error Codes - ICP DAS USA LinPAC-22 Series User Manual

Xv-board api functions
Table of Contents

Advertisement

ICP DAS

3. Error Codes

The following table provides a list of error codes used by Modbus-based APIs.
Value
0
NoError
1
FunctionError
2
PortError
3
BaudRateError
4
DataError
5
StopError
6
ParityError
7
CheckSumError
8
ComPortNotOpen
10
SendCmdError
11
ReadComStatusError
12
ResultStrCheckError
13
CmdError
15
TimeOut
19
UnderInputRange
20
ExceedInputRange
Return code
LinPAC-52xx Series XV-Board API User Manual
Description
OK. The function was successful.
Function use error.
Port open error.
Set Baud Rate error.
Set data Bits error.
Set stop Bits error.
Set parity Bits error.
Checksum error.
The specified COM port is not open.
Send command error.
Receive command status error.
Checksum error.
Send error command.
The command has received no
response within the predetermined time.
An error has occurred because the input
is below the expected range.
An error has occurred because the input
has exceeds the expected range.
23

Advertisement

Table of Contents
loading

Table of Contents