10
- 11
10.2 Z(P).MBRW
10
DEDICATED INSTRUCTIONS
(5) Program example
This section provides an example program in which device data are read from and
written to the holding register of the slave (Station No. 1) on channel 1 as shown
below.
This frame made shall be the RTU mode.
The I/O signals of the QJ71MB91 are X/Y00 to X/Y1F.
Figure 10.3 Configuration example for MBRW instruction execution
MODBUS device
4
2
5
3
1
6
7
(FG)
(FG)
RS-232
/485
RS-422
CH2
RDB
RDA
SDB
SG
SDA
CH1
QJ71MB91
RUN
RD
NEU.
SD
NEU.
RD
SD
CH1
CH2
ERR.
D100
W0000
400500
400531
411000
R
Read
Write
CH1(RS-232)
QJ71MB91
(master)
MODBUS
slave device
(station No. 1)
QJ71MB91
(master)
MODBUS
slave device
D199
W001F
Device memory
100 points
32 points
32 points
100 points
411099
R
R
Содержание QJ71MB91
Страница 1: ......
Страница 2: ......
Страница 366: ...App 14 Appendix 4 External Dimensions APPENDICES Memo ...
Страница 371: ......
Страница 372: ......