![Lika RD6 Series User Manual Download Page 59](http://html.mh-extra.com/html/lika/rd6-series/rd6-series_user-manual_1915979059.webp)
The full frame needed for the request to write the value 05 DC hex (= 1500 dec)
in the
parameter (register 8) to the Slave having the node
address 1 is as follows:
Request PDU
(in hexadecimal format)
[01][06][00][07][05][DC][3A][C2]
where:
[01] = Slave address
[06] =
function code
[00][07] = address of the register (
parameter, register 8)
[05][DC] = value to be set in the register
[3A][C2] = CRC
The full frame needed to send back a response following the request to write the
value 05 DC hex (= 1500 dec) in the
from the Slave having the node address 1 is as follows:
Response PDU
(in hexadecimal format)
[01][06][00][07][05][DC][3A][C2]
where:
[01] = Slave address
[06] =
function code
[00][07] = address of the register (
parameter, register 8)
[05][DC] = value set in the register
[3A][C2] = CRC
16 Write Multiple Registers
FC = 16 (Hex = 0x10)
This function code is used to WRITE a block of contiguous registers (1 to 123
registers) in a remote device.
The values to be written are specified in the request data field. Data is packed as
two bytes per register.
The normal response returns the function code, starting address and quantity of
written registers.
For the complete list of registers accessible using
function code please refer to the “8.1.1 Holding Register parameters” section on
page 63.
MAN RD6 MB E 1.1
Modbus® interface
59 of 92
RD6 Modbus®