Chapter 4. CPU module
4 - 11
1) Initialization program
(1) Function
•
The Initialization program initializes the program to execute scan and task programs.
•
The initialization can be executed with the restart mode which has been specified for program.
(2) Restart mode execution conditions
•
The initialization tasks can be specified as below complying with the purpose of the initialization task.
4
Program for Cold/ Worm restart started by the _INIT task
(3) Cold/ Warm Restart program
•
The initialization program specified to _INIT task is executed with cold or warm restart mode when the
operation starts.
•
This initialization program executes the operations repeatedly until the setting conditions are
satisfied(that is, until the Flag_INIT_DONE in the initialization program turns on). However, the I/O
refresh is still executed.
(4) Flag
•
_INIT_RUN flag is on during executing the initialization program.
2) Scan program
(1) Function
•
In order to process signals which repeats constantly, the program executes its sequential operation
repeatedly from the first step to the end step.
•
If the interrupt task execution condition has been satisfied by a time driven task or event driven task
module during scan program execution, the program that is under execution will be temporary stopped
and the corresponding task program will be executed.
•
If the scan program has been completely executed, the single task(internal interrupt) execution condition
will be checked and the corresponding task program will be executed.
(2) configuration
•
Up to 100 scan programs can be used.
(If task programs are used, the usable number is reduced as many as that of the used task programs)
•
Program has been not specified to initialization or task program when writing that program, it will be
automatically specified to scan program.
•
Scan program has lowest execution priority and the priorities of scan program are determined their
registration sequence in the GMWIN screen when writing those programs.
Содержание GLOFA GM6 Series
Страница 1: ...U s e r s M a n u a l LG Programmable Logic Controller GLOFA GM6 Series L G Industrial Systems ...
Страница 2: ... CONTENTS ...
Страница 178: ...Chapter 15 The PID functions 15 24 Example program of 15 4 3 1 ...
Страница 179: ...Chapter 15 The PID functions 15 25 Example program of 15 4 3 2 continue to next page ...
Страница 180: ...Chapter 15 The PID functions 15 26 Example program of 15 4 3 2 continued ...
Страница 209: ...Appendix 4 Outer Dimensions APP4 3 ...