Mitsubishi QJ71MB91 User Manual page 242

Table of Contents

Advertisement

9
PROGRAMMING
Figure 9.12 Program example for error completion of automatic communication parameters
Module
CH2
READY
Automatic
communication
operation status
Module
CH2
READY
Automatic
communication
operation status
Figure 9.13 Program example for data transfer between QJ71MB91 and programmable controller CPU
9
- 13
9.2 Program Example for Normal System Configuration
9.2.1 Automatic communication parameters
* 1 The following is a processing example for error completion.
From the QJ71MB91 buffer memory (address: 0C18
obtains data such as an error code identified at the time of automatic communication parameter
setting.
(b) 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, this program is not
required.
Intelligent function
module switch setting
change
status
Intelligent function
module switch setting
change
status
to 0C19
H
Processing for error
completion
Data to be stored in the programmable controller CPU are as follows:
D1500: CH2 Automatic communication parameter error code
D1501: CH2 Automatic communication parameter setting result
), the programmable controller CPU
H
Data such as an error
code are fetched into
programmable
controller CPU
devices.
Refreshes automatic
communication function
buffer input area
Refreshes automatic
communication function
buffer output area

Advertisement

Table of Contents
loading

Table of Contents