- 34 -
Example of response message
The slave returns a response message including the “current gas concentration = 25%F.S. (0x0019)
and F.S. code = 101 (0x0065)” to the master.
Message frame
Modbus TCP
Modbus RTU
Remarks
Data item
Data
size
(byte)
No.
Byte
data
Hex
No.
Byte
data
Hex
TRXN ID
Hi
2
(1)
0
0x00
–
–
–
Modbus TCP
only
Lo
(2)
0
0x00
–
–
–
Protocol
ID
Hi
2
(3)
0
0x00
–
–
–
Modbus TCP
only
Fixed at “00”
Lo
(4)
0
0x00
–
–
–
Quantity
of comm.
data
Hi
2
(5)
13
0x00
–
–
–
Modbus TCP
only
Number of data
which follows
unit ID
Lo
(6)
0x0D
–
–
–
Unit ID
1
(7)
1
0x01
(1)
1
0x01
Function code
1
(8)
3
0x03
(2)
3
0x03
Quantity of data 1
(9)
4
0x04
(3)
4
0x04
Quantity of
response data =
N x 2 bytes
N: Quantity of
registers
N range =1–125
Data1
Hi
2
(10)
25
0x00
(4)
25
0x00
Sent by the byte
in the sequence
of high-order
byte followed
by low-order
byte: Data 1, 2,
3, 4….
Lo
(11)
0x19
(5)
0x19
Data2
Hi
2
(12)
101
0x00
(6)
101
0x00
Lo
(13)
0x65
(7)
0x65
Error
check
data
Lo
2
–
–
–
(8)
0x2B
Modbus RTU
only
Hi
–
–
–
(9)
0x4A
Common to both Modbus TCP and Modbus RTU.
Содержание PS-7-M
Страница 2: ...i Revision History Revision Document No Date Contents of change 00 GAE 159 00 June 2020 Initial issue ...
Страница 13: ... 9 5 Connection Specifications This chapter describes the connection specifications for this product ...
Страница 62: ...2 5 4 Mitsuya naka Yodogawa ku Osaka 532 0036 Japan https www newcosmos global com ...