Mitsubishi Electric MELDAS C6 Programming Manual page 244

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

(2) The bits other than designated digit are operated as 0.
(Refer to program example (2).)
Execution conditions
The execution conditions for WAND, WANDP are as follows.
Operation command OFF
WAND
WANDP
Program example
(1) Program to execute logical AND of the D10 data and D20 data when XA turns ON, and to store
the results in D33.
XA
10
(2) Program to execute logical AND of the X10 to 1B data and D33 data when XA turns ON, and to
output the results to D50.
XA
10
X1B to 10
D33
D50
8. Function Commands
WAND, WANDP
ON
Executed per scan
WAND
D10
D20
D33
WAND
K3X10
X1B X1A X19 X18 X17 X16 X15 X14 X13 X12 X11 X10
0
0
0
1
0
0
0
Interpreted as 0
B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4
1
1
1
0
1
0
1
B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4
0
0
0
0
1
0
0
- 235 -
Get other manuals https://www.bkmanuals.com
Executed per scan
Coding
No. of
Com-
steps
mand
D33
10
LD
11
WAND D10
15
Coding
No. of
Com-
steps
mand
D50
10
LD
11
WAND K3X10 D33
15
1
0
0
1
1
0
0
WAND
B3 B2 B1 B0
1
0
0
1
0
1
0
B3 B2 B1 B0
1
0
0
1
0
0
0
Device
XA
D20
D33
Device
XA
D50
1
1
0
1
0
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64

Table of Contents