136
MEP, MEF
F
unct
io
n
MEP
(1) If operation results up to the MEP instruction are leading edge (from OFF to ON), goes ON (continuity status).
If operation results up to the MEP instruction are anything other than leading edge, goes OFF (non-continuity status).
(2) Use of the MEP instruction simplifies pulse conversion processing when multiple contacts are connected in series.
MEF
(1) If operation results up to the MEF instruction are trailing edge (from ON to OFF), goes ON (continuity status).
If operation results up to the MEF instruction are anything other than trailing edge, goes OFF (non-continuity status).
(2) Use of the MEF instruction simplifies pulse conversion processing when multiple contacts are connected in series.
O
perat
io
n
E
rr
o
r
(1) There is no operation error in the MEP or MEF instruction.
P
r
og
ram
E
xamp
l
e
(1) A program which performs pulse conversion to the operation results of X0 and X1
[Ladder Mode]
[List Mode]
1. The MEP and MEF instructions will occasionally not function properly when pulse conversion is conducted for a contact
that has been indexed by a subroutine program or by the FOR to NEXT instructions. If pulse conversion is to be
conducted for a contact that has been indexed by a subroutine program or by the FOR to NEXT instructions, use the EGP/
EGF instructions.
2. The MEP or MEF instruction operates based on the operation result performed starting from the LD instruction immediately
before the MEP or MEF instruction to immediately before the MEP or MEF instruction. Therefore, use them at the same
position as that of the AND instruction.
The MEP and MEF instructions cannot be used at the LD or OR position.
MEP, MEF
Operation results conversion
5.2.4
MEP, MEF
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
Other
Bit
Word
Bit
Word
––
––
Basic
Process
High
performance
Redundant Universal
LCPU
MEP
MEF
Co
mman
d
Co
mman
d
Step
Instruction
Device