Mep, Mef; Operation Results Conversion - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

MEP, MEF

5.2.4
MEP, MEF

Operation results conversion

5.2.4
MEP, MEF
MEP
MEF
Setting
Internal Devices
Data
Bit
Word
––
Function
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.
Operation Error
(1) There is no operation error in the MEP or MEF instruction.
Program Example
(1) A program which performs pulse conversion to the operation results of X0 and X1
[Ladder 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.
136
Command
Command
J
\
R, ZR
Bit
Word
[List Mode]
Step
High
Basic
Process
performance
Zn
U
\G
––
Instruction
Device
Redundant Universal
LCPU
Constants
Other

Advertisement

Table of Contents
loading

Table of Contents