Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual page 58

Melsec iq-r series cpu module application user's manual
Table of Contents

Advertisement

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.
Interrupt factor
Execution of the fixed scan execution
type program
Execution of link refresh
(1) The link refresh is suspended and the fixed scan execution type program is executed.
■If an interrupt factor occurs during the waiting time after END processing in constant scan
execution
The fixed scan execution type program is executed.
Constant scan
Fixed scan interval
END processing
Scan execution type program
Fixed scan execution type program
*1 If processing does not finish during the waiting time, the scan time is extended.
1 RUNNING A PROGRAM
56
1.5 Program Execution Type
10ms
10ms
Waiting time
Condition
established
10ms
10ms
(1)
*1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents