EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R-R00CPU - Page 58

Mitsubishi Electric MELSEC iQ-R-R00CPU
1028 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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)
10ms10ms10ms10ms
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

Table of Contents

Related product manuals