Read From Holding Register [03 Hex] - Omron MX2 Series User Manual

Mx2 series type v1 multi-function compact inverter
Hide thumbs Also See for MX2 Series:
Table of Contents

Advertisement

8 Communications Functions
The data received in a response shows the status for coils 0007 to 000D hex. Therefore, the received
data "45 hex = 0100 0101b" can be read, with the status for coil 0007 hex as the LSB, as described in
"Response" on the previous page.
The received data is always transferred in 1-byte (8 bits) format. Bits that lack data are transferred as 0.
If the Read Coil Status function is not executed normally, refer to 8-5-9 Exception Response on page
8-20.
(Example) When the status of 16 coils starting from coil number 0001 hex is read, the order of data is
as shown below. Data 1 is the initial byte data to be sent.
Data 1
0008 hex
Data 2
0010 hex
8-5-2

Read from Holding Register [03 hex]

Reads the contents of consecutive holding registers. From the specified holding register, the specified
number of holding registers can be read.
Example. Reading Latest Trip Data (0012 to 0017 Hex) from Inverter
with Slave Address 1
Query
No.
1
Slave address
2
Function code
3
Register start address (MSB)
4
Register start address (LSB)
Number of holding registers
5
(MSB)
Number of holding registers
6
(LSB)
7
CRC-16 (MSB)
8
CRC-16 (LSB)
8 - 12
bit 7
bit 6
bit 5
0007 hex
0006 hex
000F hex
000E hex
Example
Field name
[hex]
*1
*2
*2
bit 4
bit 3
0005 hex
0004 hex
000D hex
000C hex
01
03
00
(Register address) = (Register number) − 1
11
6 registers
00
06
95
CD
Multi-function Compact Inverter 3G3MX2-V1 User's Manual (I585-E1)
bit 2
bit 1
bit 0
0003 hex
0002 hex
0001 hex
000B hex
000A hex
0009 hex

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents