172
5 SEQUENCE INSTRUCTIONS
5.2 Association Instructions
Converting the operation result into a pulse
MEP, MEF
• MEP: Converting the operation result into a pulse (rising edge)
This instruction turns on at the rising edge (off to on) of the operation result up to the MEP instruction.
• MEP: Converting the operation result into a pulse (falling edge)
This instruction turns on at the falling edge (on to off) of the operation result up to the MEF instruction.
■Execution condition
■MEP
• This instruction turns on (continuity state) at the rising edge (off to on) of the operation result up to the MEP instruction. The
instruction turns off (non-continuity state) when the operation result is in another state (not rising edge).
• Use of the MEP instruction eases pulse conversion processing when multiple contacts are connected in series.
■MEF
• This instruction turns on (continuity state) at the falling edge (on to off) of the operation result up to the MEF instruction. The
instruction turns off (non-continuity state) when the operation result is in another state (not falling edge).
• Use of the MEF instruction eases pulse conversion processing when multiple contacts are connected in series.
There is no operation error.
• The MEP or MEF instruction may not operate correctly if pulse conversion is performed for an index-
modified contact in the subroutine program or in the area between the FOR and NEXT instructions. To
perform pulse conversion for an index-modified contact in the subroutine program or in the area between
the FOR and NEXT instructions, refer to the following.
Page 173 EGP, EGF
• The MEP and MEF instructions operate based on the result of operations performed from the LD instruction
just before the MEP or MEF instruction to just before the MEP or MEF instruction. Use them at the same
position as the AND instruction. The instructions cannot be used at the LD or OR instruction position.
Ladder ST
ENO:=MEP(EN);
ENO:=MEF(EN);
FBD/LD
Instruction Execution condition
MEP
MEF
Every scan
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)