ICP DAS USA GW-7228 User Manual page 46

J1939/modbus rtu slave gateway
Hide thumbs Also See for GW-7228:
Table of Contents

Advertisement

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-7228)
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
GW-7228 responds the register value.
[Response] (Byte0, Byte1... Byten) (Hex)
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)
01 06 07 D8 00
01
GW-7228 responds the register value.
[Response] (Byte0, Byte1... Byten) (Hex)
01 06 07 D8 00
01
GW-7228 J1939/Modbus RTU Slave Gateway User's Manual (Ver 1.3, Apr/2011) ------------- 46
08 85
08 85
C9 45
C9 45

Advertisement

Table of Contents
loading

Table of Contents