138
EGP, EGF
Program Example
(1) A program using the EGP instruction in the subroutine program using the EGD instruction
[Ladder Mode] [List Mode]
[Operation]
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.
Step
Instruction
Device
END processing
X0
ON
OFF
X1
ON
OFF
(1) (2) (1)
(2) (1) (2)
V0
ON
OFF
V1
OFF
ON
D0
1
D1
1
(1) (2) (1) (2)
2
OFF
ON
ON
Turns ON at the leading
edge of X0.
Turns ON at the leading edge of X1.
Turns OFF as X0 remains ON.
Turns OFF as X1 remains ON.
X0 X1
X2
V0
M0SET