Mitsubishi Electric MELSEC iQ-R Series User Manual page 342

Process cpu module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Program to check start-up of each CPU module
It is recommended to create a program that checks start-up of each CPU module using SM220 to SM223 (CPUs No.1 to No.4
preparation completed) when the multiple CPU synchronized startup is disabled. If a certain instruction is issued against a
CPU module that has not started, the instruction executes no processing.
Ex.
Program to check start-up of CPU module of CPU No.2
SM221
To synchronize the start of operation processing across CPU modules, a program is required to check whether individual CPU
modules are ready to start operation processing or not.
Project of the CPU No.1
Programs for synchronizing the operation
starts among each CPU module
The following is an example of the configuration of a program which synchronizes the start of operation processing across
CPU modules and programs which should start operation processing synchronously.
Program
Program to synchronize the
start of operation processing
Program to start operation
processing synchronously
23 MULTIPLE CPU SYSTEM FUNCTION
340
23.2 Operation Settings
MOV U3E1\HG100 D0
Access CPU No.2.
Project of the CPU No.2
Execution type
Description
Scan
This is a program used to synchronize the start of operation processing across all CPU modules. This
program must be specified as one for running at the beginning of the scan execution type of program.
Also, when all the CPU modules are ready to start operation processing, the flag indicating an
operation start turns on for only one scan.
Event
This is a program which should be executed when all the CPU modules are ready to start operation
processing. This program must be specified as an event execution type program which is triggered
when the operation start flag is turned on.
Project of the CPU No.3
Project of the CPU No.4
Programs whose operation
starts are to be synchronized

Advertisement

Table of Contents
loading

Table of Contents