GW-7238D Quick Start v1.0 Nov. 2011
9
9
9
9/
/
/
/12
12
12
12
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)
01 06 07 D8 00
00
08 85(CRC)
Example: Stop sending J1939 output message
In the address
42009
, write the value in 0x01.
[Request Command] (Byte0, Byte1... Byten) (Hex)
01 06 07 D8 00
01
C9 45(CRC)
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 12: J1939 Auto Transmission function screen
Modbus Communication – Modbus TCP
Set J1939 output data
Using the Modbus command as below:
FC16 Write multiple registers (4xxxx) for AO
Example:
In the address 40001, write the value in 0x1234.
[Request Command] (Byte0, Byte1... Byten) (Hex)
00 00 00 00 00 09
01 10 00 00 00 01 02
12 34