Chapter 5 CPU Module
5-
11
5.3 Program
5.3.1 Classification of program
All functional elements need to execute a certain control process are called as a ‘program’. In MASTER-K series, a program is
stored in the 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
Scan program
The scan program is executed regularly in every scan. If the scan program is
not stored, the CPU cannot execute not only the scan program but also other
programs.
Time-driven interrupt
program (TDI)
The TDI programs are executed with a constant time interval specified with
parameter setting.
Process driven
interrupt program
(PDI)
The PDI programs are executed only external interrupt input is applied and
the corresponding interrupt routine is enabled by EI instruction.
Subroutine program
The subroutine programs are executed when they are called by the scan
program with a CALL instruction.
5.3.2 Processing method
The following diagram shows that how the CPU module process programs when the CPU module is powered on or
switched to RUN mode.
Start operation
Scan program
END processing
Subroutine program
PDI program
TDI program
Содержание MASTER-K80S
Страница 27: ...Chapter 4 Names of Parts 4 4 1 3 30 points base unit 4 1 4 40 points base unit 4 1 5 60 points base unit...
Страница 66: ...Chapter 6 Input and Output Modules 6 3 30 point base unit 4 40 point base unit DC24V DC24V DC24V...
Страница 67: ...Chapter 6 Input and Output Modules 6 5 60 point base unit DC24V DC24V...
Страница 206: ...Chapter 8 Communication Function 8 63 You can see the frame list which is designated Click OK button...