EasyManuals Logo

IDEC MICROSmart FC6A Series Ladder Programming Manual

IDEC MICROSmart FC6A Series
604 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
Page #177 background imageLoading...
Page #177 background image
FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726 8-1
8: BOOLEAN COMPUTATION INSTRUCTIONS
Introduction
Boolean computations use the AND, OR, and exclusive OR statements as carried out by the ANDW, ORW, and XORW instructions in
the word or double-word data, respectively.
ANDW (AND Word)
ORW (OR Word)
XORW (Exclusive OR Word)
S1
·
S2 → D1
When input is on, 16- or 32-bit data assigned by source devices S1 and S2
are ANDed, bit by bit. The result is set to destination device D1.
S1 = 1 1 1001
S2 =
1 0 1100
D1 =
1 0 1000
REP
**
S1(R)
*****
D1(R)
*****
ANDW(*) S2(R)
*****
AND Truth Table
S1 S2 D1
000
010
100
111
S1 + S2 → D1
When input is on, 16- or 32-bit data assigned by source devices S1 and S2
are ORed, bit by bit. The result is set to destination device D1.
S1 = 1 1 1001
S2 =
1 0 1100
D1 =
1 1 1101
REP
**
S1(R)
*****
D1(R)
*****
ORW(*) S2(R)
*****
AND Truth Table
S1 S2 D1
000
011
101
111
S1 S2 → D1
When input is on, 16- or 32-bit data assigned by source devices S1 and S2
are exclusive ORed, bit by bit. The result is set to destination device D1.
⊕
S1 = 1 1 1001
S2 =
1 0 1100
D1 =
0 1 0101
REP
**
S1(R)
*****
D1(R)
*****
XORW(*) S2(R)
*****
AND Truth Table
S1 S2 D1
000
011
101
110

Table of Contents

Other manuals for IDEC MICROSmart FC6A Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC MICROSmart FC6A Series and is the answer not in the manual?

IDEC MICROSmart FC6A Series Specifications

General IconGeneral
BrandIDEC
ModelMICROSmart FC6A Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals