9
PROGRAMMING
9.2 Program Example for Normal System Configuration
9.2.1 Automatic communication parameters
9
- 8
9
P
R
OGRAM
M
ING
10
D
E
DICA
TED
INSTRUC
TI
ONS
11
TR
O
U
BLE
S
HOOTING
A
P
P
E
NDICE
S
INDE
X
9.2 Program Example for Normal System Configuration
9.2.1 Automatic communication parameters
(1) System configuration
The following system configuration is used to explain a program example for setting
the automatic communication parameters.
* 1 The QJ71MB91 is to be mounted in slot 0 of the base unit with the head I/O number set to "00
H
".
(2) Communications
Data are exchanged between the QJ71MB91 and MODBUS slave devices (station
No.1 and No.2) using the automatic communication function.
(a) Automatic communication parameter setting diagram
Set automatic communication parameters to the QJ71MB91.
* 1 Data can be transferred between the automatic communication function buffer and the
programmable controller CPU devices by either of the following methods:
Transfer by the auto refresh setting (
Transfer by using intelligent function module devices (Un\G ) (
* 2 Automatic communication parameters are set from GX Configurator-MB or a sequence program.
Figure 9.5 System configuration example for the automatic communication parameter setting
Figure 9.6 Communications with the automatic communication parameters set
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.
RS-485
GX Developer
R
Setting target
QJ71MB91*1
(master function)
MODBUS slave device
(station No.1)
R
MODBUS slave device
(station No.2)
CH2
Device
*1
400001
Coil
400100
000001
015001
016024
065536
465536
Setting target
Programmable
controller CPU
QJ71MB91
CH2 Automatic
communication function
buffer input area
2000
H
4000
H
4A00
H
4A63
H
4FFF
H
2100
H
213F
H
2FFF
H
64 words
CH2 Automatic
communication
function buffer
output area
100 words
Holding register
R
MODBUS slave device
(station No.1)
R
MODBUS slave device
(station No.2)
D1200
64 words
100 words
D1263
D1300
D1399
*2
Summary of Contents for QJ71MB91
Page 1: ......
Page 2: ......
Page 366: ...App 14 Appendix 4 External Dimensions APPENDICES Memo ...
Page 371: ......
Page 372: ......