ICPDAS GW-7238D User Manual page 45

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

Advertisement

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:
Byte 1:
Byte 2-3:
Byte 4-5:
Byte 6-7:
[Response] (Response from the GW-7238D)
Byte 0:
Byte 1:
Byte 2:
Byte 3-(B+2):
Byte (B+3)-(B+4): Value for the CRC calculation
Example:
Read a value of one word in the address 30001.
[Request] (Byte0, Byte1... Byten) (Hex)
01 04 00 00 00 01 31 CA
GW-7238D responds a value of one word in the address 30001.
[Response](Byte0, Byte1... Byten) (Hex)
01 04 02
12 34
GW-7238D J1939 to MBTCP Server / MBRTU Slave Gateway User's Manual (Ver.1.0, Nov. 2011) --- 45
Net ID (Station number)
FC=04
Reference number
Word count
Value for the CRC calculation
Net ID (Station number)
FC=04
Byte count of response (B=2 x word count)
Register values
B4 47

Advertisement

Table of Contents
loading

Related Products for ICPDAS GW-7238D

Table of Contents