10
- 19
10.3 Z(P).MBREQ
10
DEDICATED INSTRUCTIONS
(4) Response message storage devices
* 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".
Table10.12 Response message storage devices
Device
Item
Setting data
Setting
range
Setting
side
*1
(D1)+0
Response
message size
Set the size (function code + data) of the received response message in byte
units.
The size for the RTU mode is stored regardless of the frame mode (RTU mode/
ASCII mode).
-
System
(D1)+1
to
(D1)+m
Response
message
Set the contents (function code + data) of the received response message.
Data are stored in RTU format (binary) regardless of the frame mode (RTU mode/
ASCII mode).
(Example) When a response message of Read Holding Registers (FC: 03) is
received
<Received response message frame (in ASCII mode)>
Figure 10.8 Response message example
<Contents in response message storage devices and their order>
Figure 10.9 Contents in response message storage devices and their order
As shown
on left
System
Data
1
2
(L)
*2
0
3
(L)
(L)
0
4
0
0
0
5
2
3
4
1
Function code
Function code
Number of
read bytes
Device data
Device data
(30
H
)
(33
H
)
(30
H
)
(34
H
) (30
H
)
(30
H
) (30
H
)
(35
H
) (31
H
) (32
H
) (33
H
) (34
H
)
(Calculated with the size for reception in RTU mode regardless of frame mode)
6 bytes
Reception order
(H)
(H)
(H)
b0
b15
b7
b8
b0
b15
b7
b8
b0
b15
b7
b8
b0
b15
b7
b8
(D1)+0
(D1)+1
(D1)+2
(D1)+3
Response message size
(=6 bytes)
Response message
Receive data storage order
(Response message is stored in order from lower-order to
higher-order bytes starting with the smallest device number.)
00
H
06
H
04
H
03
H
05
H
00
H
34
H
12
H
Summary of Contents for QJ71MB91
Page 1: ......
Page 2: ......
Page 366: ...App 14 Appendix 4 External Dimensions APPENDICES Memo ...
Page 371: ......
Page 372: ......