GW-7238D Quick Start v1.0 Nov. 2011
10
10
10
10/
/
/
/12
12
12
12
Get J1939 input data
Using the Modbus command as below:
FC4 Read multiple input registers (3xxxx) for AI
Example:
Read a value of one word in the address 30001.
[Request] (Byte0, Byte1... Byten) (Hex)
00 00 00 00 00 06
01 04 00 00 00 01
GW-7238D responds a value of one word in the address 30001.
[Response](Byte0, Byte1... Byten) (Hex)
00 00 00 00 00 05
01 04 02
12 34
Start or Stop sending J1939 output message
1
、
Using the Modbus command as below:
FC6 Write single register (4xxxx) for AO
Example: Start sending J1939 output message
In the address
42009
, write the value in 0x00.
[Request Command] (Byte0, Byte1... Byten) (Hex)
00 00 00 00 00 06
01 06 07 D8 00
00
Example: Stop sending J1939 output message
In the address
42009
, write the value in 0x01.
[Request Command] (Byte0, Byte1... Byten) (Hex)
00 00 00 00 00 06
01 06 07 D8 00
01
Or
2
、
Without have to control the Modbus register 42009 (Dec), just enable
“Auto Transmission” function in J1939 configuration area as below, and
upload to GW-7238D.
Figure 13: J1939 Auto Transmission function screen