Mitsubishi Electric QJ71MT91 User Manual page 229

Modbus/tcp interface module
Table of Contents

Advertisement

10
DEDICATED INSTRUCTIONS
Response message storing devices
Device
Item
Response
(D1)+0
message size
[byte]
(D1)+1
Response
to
message
(D1)+n
10 - 14
Set the size of the received response message in byte units.
Set the contents (function code + data) of the received response message.
(Example) When the response message with Read holding registers (FC: 03) is
received
<Received response message frame>
Function code
Function code Number of read
bytes
03
04
*
2
H
H
<Contents stored in response message storing devices and their order>
b15
<(D1) + 0>
00
H
b15
<(D1) + 1>
04
H
b15
<(D1) + 2>
05
H
b15
<(D1) + 3>
34
H
Received data storage order
(Response message is stored in order of low-
order to high-order bytes, starting at the lowest
device number.)
*1:
The setting side is as described below.
User: Data are set by the user before dedicated instruction execution.
System: The programmable controller CPU stores the result of dedicated
instruction execution.
*2:
The number of read bytes is 4 from "2 (Read points) × 2 = 4".
POINT
(1) The received response message data are stored in order of L (low-order) to H
(high-order) bytes, starting at the lowest device number of the response
message storing devices "(D1)+1 to (D1)+n".
(2) When the response message size is an odd number, the last high byte of the
response message storing device is overwritten by 0.
Set Data
Data
Device data
1
00
05
H
H
Receiving order
(H)
(L)
6 bytes
b8
b7
b0
Response message size
06
H
(= 6 bytes)
b8
b7
b0
03
H
b8
b7
b0
Response message
00
H
b8
b7
b0
12
H
MELSEC-Q
Setting
Range
0 to 253
Device data
2
12
34
H
H
(H)
(L)
As described
on the left
Setting
*1
Side
System
System
10 - 14

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec q series

Table of Contents