24
1 PROGRAM EXECUTION
1.4 Execution Type of Program
■Operation in the fixed scan execution mode
This section describes the operation which can be performed in the fixed scan execution mode.
• Execution Count Takes Priority
The program is executed for all the pending number of executions so that it can be executed the same number of times as
execution condition was satisfied.
• Precede Fixed Scan
When the waiting for execution , one execution is made when interrupt becomes allowed. Even if execution condition was
satisfied twice or more, only one execution is performed.
■Fixed scan execution mode setting
Use the fixed scan execution mode setting.
Navigation window [Parameter] [FX5UCPU] [CPU Parameter] "Interrupt Settings" "Fixed Scan Execution
Mode Setting"
Window
Displayed items
Item Description Setting range Default
Fixed Scan Execution
Mode
For Precede Fixed Scan, the periodicity of the program is maintained. For
Execution Count Takes Priority, the program is executed for all pending number
of executions.
• Precede Fixed Scan
• Execution Count
Takes Priority
Precede Fixed Scan
[1]
Execution condition satisfied:
6 times
Cycle interval of TEISYU
"TEISYU"
(Fixed scan execution type program)
Number of executions:
6 times
All pending executions are executed and the
number of executions of the fixed scan is
guaranteed. (In the chart, three executions are
made immediately after interruption becomes
allowed [1]).
Section where interruptions
are disabled
Section where interruptions
are disabled
Execution condition satisfied:
6 times
Delay behind the cycle
Cycle interval of TEISYU
"TEISYU"
(Fixed scan execution type program)
Number of executions:
4 times
The program is executed once, and the fixed period
execution of the program is maintained. (Even if
execution condition was satisfied twice or more, only
one execution is made.)