Mitsubishi Electric QJ71MB91 User Manual page 264

Modbus interface module
Table of Contents

Advertisement

9
PROGRAMMING
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
Figure 9.38 Program example for error completion of automatic communication parameters
Module
CH2 Automatic
REMFR
communication
READY
instruction
operation
completion
status
REMFR
REMFR
instruction
instruction
completion
result
CH2 Automatic
Module
REMTO
communication
READY
instruction
operation
completion
status
REMTO
REMTO
instruction
instruction
completion
result
Figure 9.39 Data transfer program example when mounted to MELSECNET/H remote I/O station
9
- 35
9.3 Program Examples for Use in MELSECNET/H Remote I/O Network
9.3.1 Automatic communication parameters
* 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
to 0C19
), the programmable controller CPU on the MELSECNET/H remote master station
H
H
obtains data such as an error code identified in the automatic communication parameter setting.
(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.
Intelligent function
module switch
setting change
status
Take corrective action for error completion, referring to Q
Corresponding MELSECNET/H Network System Reference
Manual (Remote I/O Network).
Intelligent function
module switch
setting change
status
Take corrective action for error completion, referring to Q
Corresponding MELSECNET/H Network System Reference
Manual (Remote I/O Network).
A process upon normal completion
A process upon abnormal end
Processing for
error completion
REMFR instruction
completion
REMTO instruction
completion
A process performed when
the REMFR instruction is
completed
Refresh the automatic
communication function buffer
input area.
Refresh the automatic
communication function buffer
output area.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw1d5c-qmbu-e

Table of Contents