Write Single Register [06H] - Hitachi SJ-P1 Series User Manual

Communication option for the ethernet
Table of Contents

Advertisement

Chapter 7
7.2.8

Write single register [06h]

This function code is used to write a single holding
register.
[Request]
The request specifies the address of the register to
be written. Registers are addressed starting at
zero.
(Example)
Configure
the
register
(Multispeed-0 setting, 1st-motor)" to "50.00[Hz]".
Address
Blocks
0
1
2
Modbus TCP
3
header part
4
5
6
7
8
Modbus
9
data part
10
11
[Response]
The normal response is an echo of the request,
returned after the register contents have been
written.
Address
Blocks
0
1
2
Modbus TCP
3
header part
4
5
6
7
8
Modbus
9
data part
10
11
Hi: high order
Lo: low order
number
"2F4Eh
Items
Transaction ID (Hi)
Transaction ID (Lo)
Protocol ID (Hi)
Protocol ID (Lo)
Data size (Hi)
Data size (Lo)
Unit ID
Function code
Starting adderess (Hi)
Starting adderess (Lo)
Register vaule (Hi)
Register value (Lo)
Items
Transaction ID (Hi)
Transaction ID (Lo)
Protocol ID (Hi)
Protocol ID (Lo)
Data size (Hi)
Data size (Lo)
Unit ID
Function code
Starting adderess (Hi)
Starting adderess (Lo)
Register vaule (Hi)
Register value (Lo)
7-10
About the Modbus TCP
Code
15h
01h
00h
00h
00h
In the case, 6 byte lengths
06h
(address 6 through 11).
FFh
06h
2Fh
In the case, "2F4Dh"
("2F4Eh" minus 1).
4Dh
13h
1388h→5000d
→50.00[Hz] (frequency)
88h
Configure the inveter parameter [AA101] to "07
(parameter setting)" in order to drive actually.
Code
15h
01h
00h
00h
00h
In the case, 6 byte lengths
06h
(address 6 through 11).
FFh
06h
2Fh
In the case, "2F4Dh"
4Dh
("2F4Eh" minus 1).
13h
1388h→5000d
→50.00[Hz] (frequency)
88h

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents