Mitsubishi Electric MELDAS C6 Programming Manual page 246

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

Execution conditions
The execution conditions for the DAND, DANDP are as follows.
Operation command OFF
DAND
DANDP
Program example
(1) Program to execute logical AND of the X30 to 47 24-bit data and D99, 100 data when X8 turns
ON, and to transmit the results to M80 to 103.
X8
10
D100,99
X47 to 30
D100,99
(2) Program to execute logical AND of the D0, 1 32-bit data and R108, 109 32-bit data when M16
turns ON, and to output the results to Y100 to 11F.
M16
10
8. Function Commands
DAND, DANDP
ON
Executed per scan
DAND
K6X30
D99
DMOV
D99 K6M80
Coding
No. of steps Command
B31 B30B29B28 B27 B26 B25 B24B23 B22
1
1
1
0
1
1
1
DAND
0
0
0
0
0
0
0
Interpreted as 0
B31B30B29 B28 B27 B26 B25 B24B23B22
0
0
0
0
0
0
0
Output 0
DAND
D0
R108
R108 K8Y100
DMOV
Coding
No. of steps Command
- 237 -
Get other manuals https://www.bkmanuals.com
Executed per scan
Logical AND the X30 to 47 data and D99, 100
data, and store the results in D99 to 100.
Transmit the D99, 100 data to M80 to 103.
10
LD
X8
11
DAND
K6X30 D99
14
DMOV
D99
17
B4 B3 B2 B1 B0
1
0
1
0
1
0
X47 X46
X34 X33X32 X31 X30
0
1
1
1
0
1
B4 B3 B2 B1 B0
0
0
1
0
0
0
Logical AND the D0, 1 and R108, 109 32-bit data,
and store the results in R108, 109.
Output the R108, 109 data to Y100 to 11F.
10
LD
M16
11
DAND
D0
14
DMOV
R108
17
Device
K6M80
1
1
0
1
0
1
Device
R108
K8Y100

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents