App
- 13
Appendix 4 Sample Programs when Using CC-Link
Appendix 4.1 Sample Program System Configuration
APPENDICES
Appendix 4 Sample Programs when Using CC-Link
This section explains sample programs that allow the CC-Link control to be continued
when system switching occurs in a redundant system.
When connecting a redundant system to the CC-Link, create the sample program shown
in Appendix 4.5.
Appendix 4.1 Sample Program System Configuration
The system configuration is shown below for the sample program, which sets the network
parameters for CC-Link.
In Diagram App.1, from X/Y40 to X/Y5F are assigned to the I/O number of CC-Link master
module.
(
If the system being used is different from the diagram (Diagram App.1), change the
settings for the sample program device Nos., and for CC-Link network parameters.
Appendix 4.2 Sample Program Names
The sample program names are shown in Table App.9.
Change the program names to match the system used.
When changing the program name, the program name should also be changed in the
program settings of the PLC parameter settings.
Diagram App.1 Sample Program System Configuration
Table App.9 Sample Program Names
Program Name
Execution
Type
Processing Content
CHANGE
Scan
A processing program that makes QJ61BT11N usable with redundant
system CPUs
Make the program settings in the PLC settings so that "MAIN" will be
executed after "CHANGE".
MAIN
Scan
A CC-Link control processing program
System A -
Control System
System B -
Standby System
Master Station
Prefix 0
Standby Master
Station Prefix 5
Tracking cable
CC-Link
Input/Output
unit
Input/Output
unit
Digital-Analog
Converter Unit
Remote I/O
station Prefix 1
Remote I/O
station Prefix 2
Remote Device
Station Prefix 3