GW-7238D J1939 to MBTCP Server / MBRTU Slave Gateway User’s Manual (Ver.1.0, Nov. 2011) --- 32
Table 4-2: Input Register Function Table (Dec)
Input Register Offset
(Byte)
Modbus Input Register
(Word)
0,1
30001(LSB/MSB)
2,3
30002(LSB/MSB)
…
…
3070, 3071
31536(LSB/MSB)
Table 4-3: Output Register Function Table (Dec)
Output Register Offset
(Byte)
Modbus Output Register
(Word)
0,1
40001(LSB/MSB)
2,3
40002(LSB/MSB)
…
…
3070, 3071
41536(LSB/MSB)
The following register address is defined to start or stop the
transmission of output J1939 messages in the GW-7238D. It can use the
Modbus functions code 6
(
06 Hex
)
and 16
(
10
Hex) to change the register.
Table 4-4: Start/Stop the transmission register of J1939 output message
Register
Description
42009(Dec)
7D8(Hex)
If Value=0, Start the transmission of output J1939 message.
If Value=1, Stop the transmission of output J1939 message.
The following register address is defined the error status in the GW-
7238D. It can use the Modbus functions code 4
(
04 Hex) to read the
register.
Table 4-5: Registry Error Code of the GW-7238D
Register
Description
00
No Error
01
Can’t Claim Address in J1939 Network
02
CAN Bus-Off
31807(Dec)
70E(Hex)
03
CAN Bus Transmission Fail