Mitsubishi Electric MELDAS C6 Programming Manual page 126

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

MEP, MEF ... Operation results pulse conversion
Bit device
X
Y
M
L
F
B SB T SM V T
MEP
MEF
Function
MEP
(1) If operation results up to MEP command are leading edge (from OFF to ON), turns ON (continuity
state).
If operation results up to MEP command are anything other than leading edge, turns OFF
(non-continuity state).
(2) Use of the MEP command simplifies pulse conversion processing when multiple contacts are
connected in series.
MEF
(1) If operation results up to MEF command are trailing edge (from ON to OFF), turns ON (continuity
state).
If operation results up to MEF command are anything other than trailing edge, turns OFF
(non-continuity state).
(2) Use of the MEF command simplifies pulse conversion processing when multiple contacts are
connected in series.
Program example
(1) Program to perform pulse conversion on the operation results of X0 and X1:
X0
X1
10
Points
(1) The MEP and MEF commands will occasionally not function properly when pulse conversion is
conducted for a contact that has been indexed by a sub-routine program or by the FOR to NEXT
loop.
If pulse conversion is to be conducted for a contact that has been indexed by a sub-routine program
or by the FOR to NEXT loop, use the EGP/EGF commands.
(2) Because the MEP and MEF commands operate with the operation results immediately prior to the
MEP and MEF commands, the AND command should be used at the same position.
The MEP and MEF commands cannot be used at the LD or OR position.
7. Basic Commands
MEP, MEF
Usable device
Word device
C D R W SW Z SD K
SET
M0
- 117 -
Get other manuals https://www.bkmanuals.com
Digit
Con-
Pointer
desig-
Index
stant
nation
H
P
Coding
No. of
Com-
steps
mand
10
LD
X0
11
AND
X1
12
MEP
16
SET
M0
17
No. of
steps
4
Device

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents