Write Multiple Registers (Fc: 16) - Mitsubishi QJ71MT91 User Manual

Modbus/tcp interface module melsec-q series
Hide thumbs Also See for QJ71MT91:
Table of Contents

Advertisement

4 MODBUS
STANDARD FUNCTIONS
R

4.3.8 Write multiple registers (FC: 16)

Function code
Function code
register number
(10
)
H
(0000
(H)
4 - 14
Writes values to multiple holding registers.
(1) Request message format (Master
Head holding
Write points
to FFFF
)
(0001
H
H
H
(L)
(H)
1: The number of points specified as the write points must be matched with the
number of bytes.
(2) Response message format (Slave
(When completed normally)
Function code
Function code
Head holding register number
(10
)
H
request message is stored.)
(When completed with an error)
Function code
Function code
(90
)
H
2: When completed with an error, the exception code and error code are stored
into the buffer memory.
Refer to Section 11.3 for the storage location, confirmation method and more
details.
Number of accessible devices with one message
Data
Number
of bytes
n*1
n 2*1
to 007B
)
H
(0001
to 00F6
)
H
H
(L)
Data
(The value same as in the
(H)
(L)
Data
Exception
code*2
1 to 123 points
Slave)
Device data
1
(H)
(L)
(Number of bytes n 2)
Master)
Write points
(The value same as in the
request message is stored.)
(H)
(L)
MELSEC-Q
Device data
n
(H)
(L)
4 - 14

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents