10
- 17
10.3 Z(P).MBREQ
10
DEDICATED INSTRUCTIONS
(3) Request 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.
Table10.11 Request message storage devices
Device
Item
Setting data
Setting
range
Setting
side
*1
(S2)+0
Request
message size
Set the size (function code + data) of the request message to be sent in byte
units.
Set the size for transmission in the RTU mode regardless of the frame mode
(RTU mode/ASCII mode).
1 to 253
User
(S2)+1
to
(S2)+n
Request
message
Set the contents (function code + data) of the request message to be sent.
Data must be stored in RTU format (binary) regardless of the frame mode
(RTU mode/ASCII mode).
(Example) When sending a request message to read the data of holding
registers 440001 and 440002 with Read Holding Registers (FC: 03)
<Frame of request message to be sent (in ASCII mode)>
Figure 10.6 Request message example
<Contents in request message storage devices and their order>
Figure 10.7 Contents in request message storage devices and their order
As shown on
left
User
Data
(L)
(L)
0
3
9
C
4
0
0
0
0
2
Function code
Function code
Head holding register number
Read points
(30
H
)
(33
H
)
(39
H
)
(43
H
)
(34
H
)
(30
H
)
(30
H
)
(30
H
)
(30
H
)
(32
H
)
Transmission order
5 bytes
(Calculated with the size for transmission in RTU mode regardless of the frame mode)
(H)
(H)
b0
b15
b7
b8
b0
b15
b7
b8
b0
b15
b7
b8
b0
b15
b7
b8
(S2)+0
(S2)+1
(S2)+2
(S2)+3
00
H
05
H
9C
H
03
H
00
H
40
H
02
H
00
H
(ignored)
Request message
size (=5 bytes)
Request message
Send data storage order
(Request message is sent in order from lower-order to
higher-order bytes starting with the smallest device number.)
Содержание QJ71MB91
Страница 1: ......
Страница 2: ......
Страница 366: ...App 14 Appendix 4 External Dimensions APPENDICES Memo ...
Страница 371: ......
Страница 372: ......