ICPDAS GW-7238D User Manual page 48

J1939 to modbus tcp server / rtu slave gateway
Table of Contents

Advertisement

Byte 6:
Byte 7:
Byte 8-9:
Byte 10-11:
Example:
In the address 40001, write the value in 0x1234.
[Request Command] (Byte0, Byte1... Byten) (Hex)
00 00 00 00 00 09
GW-7238D's response is OK.
[Response] (Byte0, Byte1... Byten) (Hex)
00 00 00 00 00 06
Get J1939 input data
Using the Modbus command as below:
FC4 Read multiple input registers (3xxxx) for AI
[Request] (Request by Modbus master device)
Byte
0-1:
Byte
2-3:
Byte
4-5:
Byte 6:
Byte 7:
Byte 8-9:
Byte 10-11:
[Response] (Response from the GW-7238D)
Byte
0-1:
Byte
2-3:
GW-7238D J1939 to MBTCP Server / MBRTU Slave Gateway User's Manual (Ver.1.0, Nov. 2011) --- 48
Net ID (Station number)
FC=10 (Hex)
Reference number
Word count
01 10 00 00 00 01 02
01 10 00 00 00 01
Transaction Identifier (Usually zero when making a
request)
Protocol Identifier (Protocol number. Must be zero)
Length (Number of following bytes - upper / lower
byte)
Net ID (Station number)
FC=04
Reference number
Word count
Transaction Identifier (Usually zero when
making a request)
Protocol Identifier (Protocol number. Must be
zero)
12 34

Advertisement

Table of Contents
loading

Related Products for ICPDAS GW-7238D

Table of Contents