5-19
EGP,EGF
1
2
3
4
5
6
7
8
5.2 Association Instructions
5.2.5 Pulse conversions of edge relay operation results (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. Since the EGP and EGF instructions are executed according to the operation
results performed immediately before the EGP/EGF instructions, these
instructions must be used at the same position as the AND instruction.
(Refer to 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