Write To Multiple Holding Registers [10 Hex] - Omron MX2 Series User Manual

Multi-function compact inverter
Hide thumbs Also See for MX2 Series:
Table of Contents

Advertisement

8 Communications Functions
8-5-7

Write to Multiple Holding Registers [10 hex]

Writes data to consecutive multiple holding registers.
Example. Writing 10 Seconds to Inverter with Slave Address 1 as 1st
Acceleration Time 1 (F002) Value
Because the holding registers 1103 to 1104 hex for the 1st Acceleration Time 1 (F002) has a data reso-
lution of 0.01 s, to set 10 seconds, set the written data to 1000 (0000 03E8 hex).
⚫ Query
No.
1
Slave address
2
Function code
3
Register start address (MSB)
4
Register start address (LSB)
5
Number of registers (MSB)
6
Number of registers (LSB)
7
Number of bytes
8
Written data 1 (MSB)
9
Written data 1 (LSB)
10
Written data 2 (MSB)
11
Written data 2 (LSB)
12
CRC-16 (MSB)
13
CRC-16 (LSB)
⚫ Response
No.
1
Slave address
2
Function code
3
Register start address (MSB)
4
Register start address (LSB)
5
Number of registers (MSB)
6
Number of registers (LSB)
7
CRC-16 (MSB)
8
CRC-16 (LSB)
*1. During a broadcast, no response will be sent back.
*2. Note that the holding register start address is 1102 hex, which is 1 less than the register number 1103 hex:
Register starting address = Register number - 1.
*3. This is not the number of holding registers, but the number of bytes to be changed actually.
If the Write to Multiple Registers function is not executed normally, refer to 8-5-9 Exception Response
on page 8-20.
8 - 18
Example
Field name
[hex]
*1
01
10
*2
11
*2
02
00
02
*3
04
00
00
03
E8
B2
98
Example
Field name
[hex]
*1
01
10
*2
11
*2
02
00
02
E5
34
Multi-function Compact Inverter 3G3MX2-EV2 User's Manual (I666-E1)
(Register address) = (Register number) − 1
0000 03E8 hex → 1000 dec → 10.00 s

Advertisement

Table of Contents
loading

Table of Contents