Chapter 5 Program Configuration and Operation Method
5- 11
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.
It will be executed till the specific Flag „INIT_DONE‟ is on. And while the
initialization task is executed, cycle task, external interrupt task and internal
device task are not executed. I/O refresh, high speed counter and
communication are executed
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 time is
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.
External interrupt program
Only when some
condition is satisfied.
It executes up to execution of INIT_DONE instruction when initializing program is designated.