Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 155

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Instructions executed at the rising/falling edge
The following describes operations of instructions executed at the rising/falling edge.
Ex.
A subroutine-type FB using an instruction executed at the rising edge
IN
EN
IN
■ When "Yes" is selected for "Use MC/MCR in EN Control"
When EN is turned on, the instruction is executed if the condition contact is TRUE ((1) in the following figure).
Sc
Õ
EN
Ò
IN
Ó
Ô
MOVP
Sc: Scan
 EN is turned on. (User operation)
 IN is turned on. (User operation)
 The MOVP instruction is executed. (CPU module operation)
 EN is turned off. (User operation)
 The MOVP instruction is executed. (CPU module operation)
■ When "No" is selected for "Use MC/MCR in EN Control"
When EN is turned off, operations of the instruction differ depending on the condition contact status ((1) in the following
figure).
Sc
Õ
EN
Ò
IN
Ó
Ô
MOVP
Sc: Scan
 EN is turned on. (User operation)
 IN is turned on. (User operation)
 The MOVP instruction is executed. (CPU module operation)
 EN is turned off. (User operation)
 The MOVP instruction is executed when the condition contact is FALSE immediately before EN is turned off at . (CPU module operation) (The MOVP
instruction is not executed when the condition contact is TRUE immediately before EN is turned off at .)
ENO
MOVP
OUT
END
(1)
Ö
(1)
Ö
Appendix 1 Operations of when the MC/MCR instructions are used to control EN
A
APPX
153

Advertisement

Table of Contents
loading

Table of Contents