APPENDICES
Appendix 4 Sample Programs when Using CC-Link
Appendix 4.5 Sample Program
App
- 22
9
PR
OC
ES
S
ING
T
IME
FOR RED
UNDA
NT
S
YSTEM
S
A
P
P
E
NDICE
S
INDE
X
(b) Sample Program Name: MAIN
1) Sample program overview flow
2) Sample program
Diagram App.8 Sample program overview flow
Diagram App.9 A sample program of MAIN
Turn the enable control program
execution flag ON.
(Step 0 to 1)
Control the CC-Link.
(Step 2 to 18)
MAIN
END
Set enable control program execute flag to ON.
When CC-Link is operating as master
station and data link is properly executed,
set M4531 to ON.
Control CC-Link.
Creates the CC-Link control program.