
GW-7238D J1939 to MBTCP Server / MBRTU Slave Gateway User’s Manual (Ver.1.1, May. 2013) ---
46
Start or Stop sending J1939 output message
Using the Modbus command as below:
FC6 Write single register (4xxxx) for AO
[Request] (Request by Modbus master device)
Byte 0: Net ID (Station number)
Byte 1: FC=06 (Hex)
Byte 2-3: Reference number
Byte 4-5: Register value
Byte 6-7 Value for the CRC calculation
[Response] (Response from the GW-7238D)
Byte 0: Net ID (Station number)
Byte 1: FC=06 (Hex)
Byte 2-3: Reference number
Byte 4-5: Register value
Byte 6-7 Value for the CRC calculation
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
GW-7238D responds the register value.
[Response] (Byte0, Byte1... Byten) (Hex)
01 06 07 D8 00
00
08 85
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
GW-7238D responds the register value.
[Response] (Byte0, Byte1... Byten) (Hex)
01 06 07 D8 00
01
C9 45