APPENDICES
Appendix 5 Method for Starting up the Previous Control System
App
- 30
9
PR
OC
ES
S
ING
T
IME
FOR RED
UNDA
NT
S
YSTEM
S
A
P
P
E
NDICE
S
INDE
X
(b) CC-Link master module is mounted on the extension base unit.
[System Configuration]
[Program Example]
(The I/O number assigned to CC-Link master module is from X100 to 11F.)
Diagram App.21 System configuration when CC-Link master module is mounted
on the extension base unit
Diagram App.22 A program example
System A
Extension cable
Tracking cable
CC-Link master modules
System B
Enables system switching when the CC-Link
master module on extension base unit starts
normally.
Makes the subroutine program (P100) execute
when the previous control system is the system B.
Executes the system switching instruction when the
CC-Link master module on extension base unit
starts normally. (X101: Interlock signal)
Jumps the processing to P101 with the system
switching instruction.
Jumps the processing to the END instruction by
executing the system switching instruction.
Enables communications with
GX Developer or others.
Calculates the subroutine
program executing time.
Program which
waits 10 seconds
for start up of the
CC-Link master
module on
extension base
unit.
Continues the jumps to P100
until the SD401 value becomes
10 (10 seconds).
Stores the value of SD412 at subroutine program
execution to D400.
Resets the watchdog timer.
Ends the subroutine program.
Ends the main routine program.
SM1519
0
4
6
7
23
24
35
P100
P101
CALL
P100
GOEND
FEND
SM1519
MOVP
SD412
D400
SET
SM1592
COM
RET
CJ
P101
SP.CONTSW
K1
M5004
DX101
SM1519
-
D400
SD412
D401
WDT
CJ
P100
<
D401
K10
User program