![Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual Download Page 483](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-r-r00cpu/melsec-iq-r-r00cpu_user-manual_239139483.webp)
28 FUNCTIONS
28.6 Program Execution in Both Systems
481
28
Operation of a program executed in both systems
The following describes the operation of a program executed in both systems.
• To perform different diagnostic processing in the control system and standby system by using a program
executed in both systems, use the special relay. SM1634 (Control system judgment flag) turns on only in the
control system and SM1635 (Standby system judgment flag) only in the standby system. The following
shows a program example of when different processing is performed. For (1) and (2) in the following
example, use the SET instruction or others to prevent duplication of a coil in the processing.
(1) Diagnostic processing in the control system, (2) Diagnostic processing in the standby system
• When a program executed in both systems is used, device/label values may differ between the control
system and the standby system. If the systems are switched in this state, the program is started based on
the different data, causing an unintended operation. The device/label values to be used can be initialized by
using SM1643 (ON for only one scan after system switching (standby system to control system)) and
SM1644 (ON for only one scan after system switching (control system to standby system)). For (1) and (2)
in the following example, use the SET instruction or others to prevent duplication of a coil in the processing.
(1) Initialization processing (standby system
control system), (2) Initialization processing (control system
standby system)
Control system/
Standby system
Backup mode
Separate mode
Control system
A program is executed according to its execution type.
A program is executed according to its execution type regardless
of the setting in "Both Systems Program Executions Setting".
Standby system
A program executed in both systems is executed according to its
execution type.
When an initial execution type program is set as a program
executed in both systems, the program is executed in the first scan
while the CPU module are in the RUN state.
When an initial execution type program is not set as a program
executed in both systems, a program executed in both systems of
scan execution type is executed in the first scan while the CPU
modules are in the RUN state.
(1)
SM1634
(2)
SM1635
(1)
SM1643
(2)
SM1644
Summary of Contents for MELSEC iQ-R-R00CPU
Page 2: ......
Page 151: ...9 MONITOR FUNCTION 9 1 Real Time Monitor Function 149 9 MEMO ...
Page 323: ...18 SEQUENCE SCAN SYNCHRONIZATION SAMPLING FUNCTION 321 18 MEMO ...
Page 330: ...328 20 ROUTING SETTING 20 3 Precautions MEMO ...
Page 423: ...26 BASIC CONCEPT 26 8 State Transition of the Redundant System 421 26 MEMO ...
Page 1014: ...1012 APPX Appendix 15 Added and Enhanced Functions MEMO ...
Page 1027: ......