Mitsubishi Electric MELSEC iQ-R Series User Manual page 186

Melsec iq-r cc-link system master/local module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Program example
Use the following program to follow the CC-Link control and system switching:
Program
System switching following program for the
standby system
System switching following program for the control
system
Control processing program for CC-Link
*1 Set this item in "Program Setting" of "CPU Parameter". Follow the order of the procedure above to set the program setting. (
MELSEC iQ-R CPU Module User's Manual (Application))
Some of program conversions may generate a CheckWarning showing that a dual coil is detected but there is
no problem in the program operation.
Classification
Label name
Module label
RCPU.stSM.bAfter_RUN1_Scan_ON
RCPU.stSM.bAfter_System_Switching_One_SCAN_ON
_Standby_System_To_Control_System
RCPU.stSM.bAfter_System_Switching_One_SCAN_ON
_Control_System_To_Standby_System
BT11_1.bReq_Refresh_StandbyMasterSwitching
BT11_1.bReq_ForcedMasterSwitching
BT11_1.bAcpt_Refresh_StandbyMasterSwitching
BT11_1.bCompl_Refresh_StandbyMasterSwitching
BT11_1.bAcpt_MasterSwitching
BT11_1.bCompl_MasterSwitching
BT11_1.bOpe_StandbyMaster
BT11_1.uRslt_Refresh_StandbyMasterSwitching
BT11_1.bIn_ModuleFailure
BT11_1.bIn_DataLink
BT11_1.bIn_ModuleReady
Label to be defined
Define global labels as shown below:
APPX
184
Appendix 8 How to Use Standby Master Function in Redundant System
Execution type
Scan
Scan
Scan
Description
After RUN, On for one scan only
ON for only one scan after system switching (standby
system to control system)
ON for only one scan after system switching (control
system to standby system)
Refresh instruction at standby master switching
Forced master switching
Refresh instruction acceptance status at standby master
switching
Refresh instruction completion status at standby master
switching
Master switching request acceptance
Master switching request completion
Master/standby master operation status of own station
Refresh instruction at standby master switching result
Module failure
Own station data link status
Module ready
Both Systems Program Executions
*1
Setting
Both Systems Executions
Control System Execution
Control System Execution
Device
SM402
SM1643
SM1644
SB0001
SB000C
SB0042
SB0043
SB005A
SB005B
SB007B
SW0043
X40
X41
X4F

Advertisement

Table of Contents
loading

Table of Contents