App
- 23
Appendix 4 Sample Programs when Using CC-Link
Appendix 4.5 Sample Program
APPENDICES
(2) When the QJ61BT11N’s serial No. (first 5 digits) is "07111" or earlier
(a) Sample Program Name: CHANGE
1) Sample program overview flow
Diagram App.10 Sample program overview flow
Set I41 to be valid.
(Step 0 to 11)
Refresh the remote devices and
enable system switching.
(Step 17 to 38)
Initialize devices at the time of
system switching.
(Step 12 to 16)
Refresh the CC-Link
(Step 39 to 55)
Perform system switching when system
B starts up as the control system.
(Step 56 to 69)
CHANGE
FEND
Forcibly change the system that
communicates with the CC-Link.
(Step 71 to 73)
I41
IRET