EasyManua.ls Logo

LS Industrial Systems XBC-E Series - Page 299

LS Industrial Systems XBC-E Series
542 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 6 Instruction Details
XBC E-Type Main Unit 6-182 Ve r. 1
3) Logic Operation Table
Classification Processing Details
Operation
Formula
Example
A
B
Y
Logic AND
It will be 1 only if input A & B
are all 1 (other than that, it will
be 0).
0
0
0
0
1
0
1
0
0
1
1
1
Logic OR
It will be 0 only if input A & B
are all 0 (other than that, it will
be 1)
0
0
0
0
1
1
1
0
1
1
1
1
Exclusive
Logic OR
(XOR)
It will be 0 if input A and B are
identical (if not, it will be 1).
0 0 0
0
1
1
1
0
1
1
1
0
Exclusive
Negative
Logic OR
(XNR)
It will be 1 if input A and B are
identical (if not, it will be 0).
0
0
1
0
1
0
1
0
0
1 1 1
4) Program Example
(1) For P1000=h1111’, P1100=h3333’, if Input Signal P00000 is changed from Off to On, the result WAND
executed ‘h3333’ is saved in P1200.
WAND P1000 P1100 P1200
P00000
1 1
1 0 0 0
0 0 1 1 0 0 0 1 0 0
1 0 1 1
0
0
1 1
0
1
1 1 0 1
b31
b16
b15
b0
D
S2
S1
b31 b16
b15
b0
b31 b16
b15
b0
DWAND
0
0
1 0
1
1
1
0
0
1
0
1
S2+1
S1+1
D+1 D
S2
S1
Y=A B
Y=A+B
Y=A B+A B
Y=(A+B)(A+B)

Table of Contents

Related product manuals