9
- 35
9.3 Program Examples for Use in MELSECNET/H Remote I/O Network
9.3.1 Automatic communication parameters
9
PROGRAMMING
* 1 The following is a processing example for error completion.
The following is a processing example in which, from the QJ71MB91 buffer memory (address:
0C18
H
to 0C19
H
), the programmable controller CPU on the MELSECNET/H remote master station
obtains data such as an error code identified in the automatic communication parameter setting.
Figure 9.38 Program example for error completion of automatic communication parameters
(c) Program example for data transfer between QJ71MB91 and programmable
controller CPU
The program example is shown below.
When data transfer between the QJ71MB91 and programmable controller CPU is
set in the Auto refresh setting of GX Configurator-MB and network parameter, this
program is not required.
Figure 9.39 Data transfer program example when mounted to MELSECNET/H remote I/O station
Processing on completion
of REMFR instruction
Processing for normal completion
The following data are stored in the programmable controller CPU on the MELSECNET/H remote master station:
D250: CH2 Automatic communication parameter error code
D251: CH2 Automatic communication parameter setting result
Processing for error completion
Processing for
error completion
Refresh of the automatic
communication function buffer
input area
CH2 Automatic
communication
operation
status
Take corrective action for error completion, referring to Q
Corresponding MELSECNET/H Network System Reference
Manual (Remote I/O Network).
Take corrective action for error completion, referring to Q
Corresponding MELSECNET/H Network System Reference
Manual (Remote I/O Network).
Module
READY
Module
READY
REMFR
instruction
completion
REMFR instruction
completion
REMTO instruction
completion
REMFR
instruction
completion
REMFR
instruction
result
REMTO
instruction
completion
REMTO
instruction
result
Refresh of the automatic
communication function buffer
output area
REMTO
instruction
completion
CH2 Automatic
communication
operation
status
Intelligent function
module switch
setting change
status
Intelligent function
module switch
setting change
status
Содержание QJ71MB91
Страница 1: ......
Страница 2: ......
Страница 366: ...App 14 Appendix 4 External Dimensions APPENDICES Memo ...
Страница 371: ......
Страница 372: ......