Chapter 5. Power Supply / CPU
5-13
REMARK
∗ 1: In the GLOFA PLC, the time driven interrupt task programs and event driven interrupt task programs are called task
program. Event driven programs are classified into single task (internal interrupt) or interrupt task (external interrupt)
according to the S/W and H/W interrupt signaling method.
1) Initialization program
(1) Function
• The Initialization program initializes the program to execute scan and task programs.
(2) 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.
(3) Flag
• _INIT_RUN flag is on during executing the initialization program.
2) Scan program
(1) Function
• In order to process signal, 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 during scan
program execution, the program that is under execution will be temporary stopped 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.