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

Скачать
Страница из 306
1  PROGRAM EXECUTION
1.4  Execution Type of Program
21
1
Scan execution type program
This program type is executed only once per scan from the scan following the scan where an initial execution type program 
was executed.
When multiple scan execution type programs are executed, the execution time of the scan execution type programs becomes 
the time until execution of all scan execution type programs is completed. Note, however, that when an  program/event 
execution type program is executed before a scan execution type program is completed, the execution time of these 
programs is included in the scan time.
Fixed scan execution type program
An interrupt program which is executed at a specified time interval. Different from the normal interrupt program, this type of 
program does not require interrupt pointer (I) and IRET instruction to be written (pointer is assigned by parameter). Execution 
is performed by program file basis.
You can use 4 files of fixed scan execution type programs at the maximum.
To execute a fixed scan execution type program, the EI instruction must be used to enable interrupts.
1st scan
2nd scan
3rd scan
4th scan
STOP/PAUSE→RUN
END processing
Initial execution type program
Scan execution type program A
Scan execution type program C
Scan execution type program B
Scan time
0
END
0
END
0
END
0
END
0
END
END
0
END
0
Fixed scan interval
END processing
Scan execution type program
Fixed scan execution type program
Condition 
established
Condition 
established