ICP DAS USA I-7540D User Manual

Page 121

Advertising
background image

Error Code: Only For i-7540D’s COM3 (CAN port)

If the Error response function on the i-7540D module is set to be “Yes”(that

mean enable) via the i-7540D Utility during the configuration period, the i-7540D
will send the error code to the device of the host PC through the Ethernet port
10003 when the i-7540D produces an error message automatically during the
operation mode. The meanings of these error codes are given below:

Table 7-1: Error code table

Error

code

Description

Possible causes & solutions

1

Invalid header The RS-232 command string header is not “t”,”T”,”e”,”E”.

2 Invalid

length

The length of command string is invalid. For example:
—

Error:

t0013112233

Right: t0013112233<CR>

3

Invalid CAN

identifier

The CAN identifier bits depend on CAN specification
CAN 2.0A: total 11 bits, 0x000 ~ 0x7FF
CAN 2.0B: total 29 bits, 0x00000000 ~ 0x1FFFFFFF

4

Invalid CAN

data length

The data byte of the CAN Message does not match the data
length of the CAN Message. For example:
—

Error:

t001512345<CR>

—

Right:

t00150102030405<CR>

If the i-7540D CAN baud rate is not the same as the CAN baud rate on the

CAN network, the ER LED on the i-7540D will be flash with a constant frequency
and the TX LED will solid green because the i-7540D cannot send any CAN
messages to the CAN network. Therefore, users will need to read the i-7540D
status by using the command “99S” (in the section 4.5) to help users understand
what is going in the module. In general, the following errors could occur: CAN
media connection problem, terminal resistor problem, different baud rate
configuration with CAN network and so on.

i-7540D CAN-Ethernet Gateway User’s Manual (Version 1.4, April/2008)

121

Advertising