9
PROGRAMMING
9.3 Program Examples for Use in MELSECNET/H Remote I/O Network
9.3.1 Automatic communication parameters
9
- 34
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
(b) Program example for automatic communication parameter setting
The program example is shown below.
When automatic communication parameters are set from GX Configurator-MB,
this program is not required.
Figure 9.37 Program example when mounted to MELSECNET/H remote I/O station
Setting
command
CH2 Automatic
communication
operation status
Module
READY
Initializing automatic communication
parameter setting area
Setting parameter
existence(1
H
)
Target station No. (2)
Request interval timer value
(6s)
Response monitoring timer
value (5s)
CH2 Automatic
communication
parameter 1
R
Type specification of the target
MODBUS device
(0100
H
)
Head buffer memory address
(2100
H
)
Access points (1024 points)
Setting parameter
existense(1
H
)
Target station No. (1)
Request interval timer value
(0)
CH2 Automatic
communication
parameter 2
Response monitoring timer
value (5s)
Head buffer memory address
(4A00
H
)
Access points (100 points)
Writing parameters by REMTO instruction.
When REMTO instruction is
completed normally
When REMTO instruction is
completed with an error
CH2 Automatic communication parameter
setting, normally completed
CH2 Automatic communication parameter
setting, error completed
Processing when ZP.REMTO instruction is completed in error
Processing for Automatic comm. parameter setting, normally completed
Processing for Automatic comm. parameter setting, error completed
Target MODBUS device
head number (15000)
R
Type specification of the target
MODBUS device
(0005
H
)
R
Target MODBUS device
head number (0)
R
*1
Intelligent function
module switch
setting change
status
Summary of Contents for QJ71MB91
Page 1: ......
Page 2: ......
Page 366: ...App 14 Appendix 4 External Dimensions APPENDICES Memo ...
Page 371: ......
Page 372: ......