Chapter 5. Program Configuration and Operation Method
5-5
5.2.1 Configuration of program
All functional elements need to execute a certain control process are called as a ‘program’. Program is stored in the
built-in RAM mounted on a CPU module or flash memory of a external memory module. The following table shows the
classification of the program.
Program type Description
Initializing program
• It will be executed till the specific Flag ‘INIT_DONE’ is On. And while the
initialization task is executed, several of initializing program is
programmed. (If INIT_DONE instruction is executed, scan program is
Scan program
• The scan program is executed regularly in every scan.
Cycle time interrupt
program
• The program is performed according to the fixed time interval in case that the
required processing time condition is as below.
In case that the faster processing than 1 scan average processing t
required
In case that the longer time interval than 1 scan average processing time is
required
In case that program is processed with the appointed time interval
External interrupt
program
• The external interrupt program is performed process on external interrupt
signal.
•
Only when some condition is satisfied.(in case that input condition of CALL
instruction is On)
5.2.2 Program execution methods
Here describes the program proceeding method that is executed when the power is applied or key switch is ‘RUN’. The
program performs the operation processing according to the configuration as below.
Start processing
Scan program
END processing
Subroutine program
External interrupt program
Cycle time program
condition is satisfied.
Initializing program
It executes up to execution of INIT_DONE instruction when initializing program is designated.