7-15
7.2.12 Read/Write multiple registers [17h]
This function code performs a combination of one
read operation and one write operation. The write
operation is performed before the read.
[Request]
The request specifies the starting address and
number of holding registers to be read as well as
the starting address, number of holding registers,
and the data to be written.
(Example)
Configure the register number "2B02h (FA-10:
acceleration time monitor)" to 10.00[s].
Then, read the register number "2B04h (FA-12:
deceleration time monitor)".
Hi: high order
Lo: low order
*1) Configure the number of bytes to actually
change, not the number of hold registers.
In the case, 15 byte lengths
(address 6 through 20).
Read starting address (Hi)
In the case, "2B03h"
("2B04h" minus 1).
Read starting address (Lo)
Write starting address (Hi)
In the case, "2B01h"
("2B02h" minus 1).
Write starting address (Lo)
Write register value 1 (Hi)
0000 03E8h
→1000d→10.00[s]
Write register value 1 (Lo)
Write register value 2 (Hi)
Write register value 2 (Lo)