56
1 RUNNING A PROGRAM
1.5 Program Execution Type
Operation when the execution condition is satisfied
The following describes operation of the program.
■
If the execution condition is satisfied before the interrupt is enabled by the EI instruction
The program enters the waiting status and is executed when the interrupt is enabled. Note that if the execution condition for
this fixed scan execution type program is satisfied more than once during the waiting status, the program is executed only
once when the interrupt is enabled.
■
If there are multiple fixed scan execution type programs
If the specified time comes simultaneously for these programs, they are executed in order according to the specified
execution sequence.
■
If another or the same execution condition is satisfied while the fixed scan execution type
program is being executed
The program is executed according to the fixed scan execution mode setting.
■
If the execution condition is satisfied while the interrupt is disabled by the system
The program is executed according to the fixed scan execution mode setting.
■
If an interrupt factor occurs during link refresh
The link refresh is suspended and the fixed scan execution type program is executed. Even while the station-based block data
assurance is enabled for cyclic data during refresh of such links as CC-Link IE Field Network, if the fixed scan execution type
program uses a device specified as the refresh target, the station-based block data assurance for cyclic data is not available.
■
If an interrupt factor occurs during the waiting time after END processing in constant scan
execution
The fixed scan execution type program is executed.
*1 If processing does not finish during the waiting time, the scan time is extended.
(1) The link refresh is suspended and the fixed scan execution type program is executed.
(1)
10ms
10ms
10ms
10ms
Interrupt factor
Execution of link refresh
Execution of the fixed scan execution
type program
*1
Condition
established
Waiting time
Fixed scan interval
END processing
Scan execution type program
Fixed scan execution type program
Constant scan
Summary of Contents for MELSEC iQ-R-R00CPU
Page 2: ......
Page 151: ...9 MONITOR FUNCTION 9 1 Real Time Monitor Function 149 9 MEMO ...
Page 323: ...18 SEQUENCE SCAN SYNCHRONIZATION SAMPLING FUNCTION 321 18 MEMO ...
Page 330: ...328 20 ROUTING SETTING 20 3 Precautions MEMO ...
Page 423: ...26 BASIC CONCEPT 26 8 State Transition of the Redundant System 421 26 MEMO ...
Page 1014: ...1012 APPX Appendix 15 Added and Enhanced Functions MEMO ...
Page 1027: ......