Hitachi SJ-P1 Series User Manual page 53

Communication option for the ethernet
Table of Contents

Advertisement

Chapter 7
[Response]
The register data in the response message are
packed as two bytes per register, with the binary
contents right justified within each byte.
Address
Blocks
0
1
2
Modbus TCP
3
header part
4
5
6
7
8
9
10
11
12
Modbus
data part
13
14
15
16
17
18
Hi: high order
Lo: low order
*1) Data for the number of data bytes is transferred.
In the above example, it returns 10 ("0Ah")
bytes for five holding register data.
Items
Transaction ID (Hi)
Transaction ID (Lo)
Protocol ID (Hi)
Protocol ID (Lo)
Data size (Hi)
Data size (Lo)
Unit ID
Function code
Byte count *1)
Redister value 1 (Hi)
Redister value 1 (Lo)
Redister value 2 (Hi)
Redister value 2 (Lo)
Redister value 3 (Hi)
Redister value 3 (Lo)
Redister value 4 (Hi)
Redister value 4 (Lo)
Redister value 5 (Hi)
Redister value 5 (Lo)
7-8
About the Modbus TCP
Code
15h
01h
00h
00h
00h
In the case, 13 byte lengths
(address 6 through 18).
0Dh
FFh
03h
0Ah
00h
0003h→03d
→E03(factor: over current)
03h
00h
0000 04D2h
00h
→1234d→12.34[Hz]
04h
(output frequncy)
D2h
00h
001Eh→30d→3.0[A] (current)
1Eh
01h
011Ch→284d
→284[V] (DC voltage)
1Ch

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents