Chapter 4. CPU module
4 - 21
4) Restart Program Example
(1) System Configuration
The followings give an example for writing the initialization program of the system where a special
module has been loaded onto its basic base unit shown as below figure.
The followings describe an example for writing the ‘cold/warm restart program’ and ‘scan program’ for
the scan program where the ‘D/A 02’ outputs data every scan and the ‘D/A 03’ outputs data only when
the data has been changed.
DC32 : 32-point DC input module
A/D : A/D conversion module
D/A : D/A conversion module
RY32 : 32-point relay output module
•
As cold/warm restart makes the whole system restart, the ‘cold/warm restart program’ consists of
only initialization program of special module.
(2) program
•
Project Configuration : Restart.prj
P
O
W
E
R