Справочник Пользователя для Mitsubishi Electronics QnUCPU

Скачать
Страница из 630
2
 
-
 
26
2.3.4  
Fixed scan execution type program
(1) Definition
Fixed scan execution type program is a program executed at specified time intervals.
This type of programs, unlike interrupt programs, can be interrupted in units of files without interrupt 
pointers or the IRET instruction.
For the restrictions on programming, refer to
(The restrictions on programming are the same as those for interrupt programs.)
To execute a fixed scan execution type program, execute the EI instruction in the initial execution type program 
or scan execution type program to enable interrupts.
Figure 2.29 Execution of a fixed scan execution type program
Fixed scan interval
END processing
Scan execution 
type program
Fixed scan execution 
type program
Condition 
established
Condition 
established