Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 176

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

Advertisement

Processing details
■EGP
• This instruction stores the operation result up to the EGP instruction in the edge relay (V).
• The instruction turns on (continuity state) at the rising edge (off to on) of the operation result up to the EGP instruction. The
instruction turns off (non-continuity state) when the operation result is in another state (staying on, falling edge (on to off), or
staying off).
• The instruction is used to perform pulse conversion for index-modified programs in the subroutine program or in the area
between the FOR and NEXT instructions.
• The instruction can be used in the same way as the AND instruction.
• The following figure shows the operation performed when the instruction is used in the subroutine program.
SM400
X0Z0
V0Z0
P0
(1) The device turns on at the rising edge of X0.
(2) The device turns off since X0 remains on.
(3) The device turns on at the rising edge of X1.
(4) The device turns off since X1 remains on.
■EGF
• This instruction stores the operation result up to the EGF instruction in the edge relay (V).
• The instruction turns on (continuity state) at the falling edge (on to off) of the operation result up to the EGF instruction. The
instruction turns off (non-continuity state) when the operation result is in another state (staying on, rising edge (off to on), or
staying off).
• The instruction is used to perform pulse conversion for index-modified programs in the subroutine program or in the area
between the FOR and NEXT instructions.
• The instruction can be used in the same way as the AND instruction.
Operation error
There is no operation error.
• The EGP and EGF instructions operate based on the result of operations performed from the LD instruction
just before the EGP or EGF instruction to just before the EGP or EGF instruction. Use them at the same
position as the AND instruction. The instructions cannot be used at the LD or OR instruction position.
• The instructions cannot be used at the ladder block position shown below.
X0
5 SEQUENCE INSTRUCTIONS
174
5.2 Association Instructions
M0V
K0
Z0
Ò
CALL
P0
OFF
X0
Z0
M0V
K1
OFF
X1
Ó
CALL
P0
OFF
V0
FEND
V1 OFF
D0Z0
INC
D0
RET
END
D1
X1
V0
SET
X2
Ò
Ó
Ò
Ó
END
ON
ON
(2)
ON
(1)
ON
(3)
1
1
M0
Ò
Ó
ON
OFF
ON
(4)
2
Ò
Ó

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents