Mitsubishi MELSEC-Q/L Programming Manual page 140

Table of Contents

Advertisement

EGP, EGF
Program Example
(1) A program using the EGP instruction in the subroutine program using the EGD instruction
[Ladder Mode]
[Operation]
(1)
(2)
END processing
ON
OFF
X0
X1
OFF
ON
V0
OFF
Turns ON at the leading
edge of X0.
V1 OFF
1
D0
D1
1. The EGP or EGF instruction operates based on the operation result performed starting from the LD instruction immediately
before the EGP or EGF instruction to immediately before the EGP or EGF instruction. Therefore, use them at the same
position as that of the AND instruction.
(Refer to Page 124, Section 5.1.1.)
The EGP and EGF instruction cannot be used at the position of the LD or OR instruction.
2. EGP and EGF instructions cannot be used at the ladder block positions shown below.
X0
X1
X2
138
[List Mode]
(1)
(2)
(1)
OFF
ON
Turns OFF as X0 remains ON.
ON
Turns ON at the leading edge of X1.
1
V0
SET
M0
Step
Instruction
Device
(2)
(1)
(2)
ON
ON
Turns OFF as X1 remains ON.
2
(1)
(2)

Advertisement

Table of Contents
loading

Table of Contents