EasyManuals Logo
Home>IDEC>Controller>FC4A-C24R2

IDEC FC4A-C24R2 User Manual

IDEC FC4A-C24R2
525 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 #241 background imageLoading...
Page #241 background image
« FC4A MICROSMART USERS MANUAL » 12-1
12: 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 data type, respectively.
ANDW (AND Word)
ORW (OR Word)
XORW (Exclusive OR Word)
Applicable CPU Modules
FC4A-C10R2/C FC4A-C16R2/C FC4A-C24R2/C FC4A-D20K3/S3 FC4A-D20RK1/RS1 & FC4A-D40K3/S3
XXX X X
S1 · S2 D1
When input is on, 16-bit data designated by source operands S1
and S2 are ANDed, bit by bit. The result is set to destination
operand D1.
S1 = 1 1 1001
S2 =
1 0 1100
D1 = 1 0 1000
S1 S2 D1
000
010
100
111
REP
**
S1(R)
*****
D1(R)
*****
ANDW(W)
S2(R)
*****
S1 + S2 D1
When input is on, 16-bit data designated by source operands S1
and S2 are ORed, bit by bit. The result is set to destination oper-
and D1.
S1 = 1 1 1001
S2 = 1 0 1100
D1 = 1 1 1101
S1 S2 D1
000
011
101
111
REP
**
S1(R)
*****
D1(R)
*****
ORW(W) S2(R)
*****
S1 S2 D1
When input is on, 16-bit data designated by source operands S1
and S2 are exclusive ORed, bit by bit. The result is set to desti-
nation operand D1.
S1 = 1 1 1001
S2 = 1 0 1100
D1 =
0 1 0101
S1 S2 D1
000
011
101
110
REP
**
S1(R)
*****
D1(R)
*****
XORW(W) S2(R)
*****

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC FC4A-C24R2 and is the answer not in the manual?

IDEC FC4A-C24R2 Specifications

General IconGeneral
BrandIDEC
ModelFC4A-C24R2
CategoryController
LanguageEnglish

Related product manuals