Mitsubishi Electric MELDAS C6 Programming Manual page 124

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

Cautions
(1) Devices used for LDP have to be limited to the ones already output with OUT command, etc.
If the devices to be output later are used, the condition will not be achieved.
Correct example
X0 X5
10
M1
13
X0
X5
M1
M1
(2) The commands such as LDP, LDF, etc. cannot use in high-speed program processing. Use the
commands such as PLS, MEP, etc.
ANDP, ANDF
(1) ANDP is a leading edge pulse series connection command, and ANDF is a trailing edge pulse
series connection command. They perform an AND operation with the operation result up to that
point, and take the resulting value as the operation result.
The ON/OFF data used by ANDP and ANDF are indicated in the table below:
Devices designated by ANDP ANDP state Devices designated by ANDF ANDF state
OFF ON
ON OFF
ORP, ORF
(1) ORP is a leading edge pulse parallel connection command, and ORF is a trailing edge pulse
parallel connection command. They perform an OR operation with the operation result up to that
point, and take the resulting value as the operation result.
Devices designated by ORP
OFF ON
ON OFF
Program example
(1) Program to execute the MOV command at leading edge of X0 or X1:
X0
10
X1
7. Basic Commands
LDP, LDF, ANDP, ANDF, ORP, ORF
M1
M1
ON
OFF
OFF
ON
ORP state
ON
OFF
OFF
ON
MOV K0
- 115 -
Get other manuals https://www.bkmanuals.com
Incorrect example
M1
10
X0 X5
17
X0
X5
M1
M1
OFF ON
OFF
ON
ON OFF
Devices designated by ORF
OFF ON
OFF
ON
ON OFF
Coding
No. of
D0
steps
10
LDP
16
ORP
22
MOV
25
M1
M1
OFF
ON
ORF state
OFF
ON
Com-
Device
mand
X0
X1
K0
D0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents