Sel language – IAI America DS-S-C1 User Manual
Page 42
![background image](/manuals/350266/42/background.png)
40
12. SEL Language
n
o
i
s
d
n
a
p
x
E
n
o
i
t
i
d
n
o
c
)
R
O
·
D
N
A
(
t
u
p
n
I
n
o
i
t
i
d
n
o
c
)
g
a
l
F
·
O
/
I
(
d
n
a
m
m
o
C
t
s
o
P
)
g
a
l
F
·
t
r
o
p
t
u
p
t
u
O
(
d
n
a
m
m
o
C
1
d
n
a
r
e
p
O
2
d
n
a
r
e
p
O
l
a
n
o
i
t
p
O
l
a
n
o
i
t
p
O
D
N
A
.
o
N
e
l
b
a
i
r
a
V
a
t
a
D
R
Z
●
AND (Logic And)
[Function]
Stores the results of the logic AND operation on the contents of the variable in operand 1
and the in operand 2, in the variable in operand 1. The output turns ON when the result of the
operation is 0.
[Example 1]
LET
1
204
Assign 204 to variable 1.
AND
1
170
Assign 136 the result of logic AND on 204 (contents of variable 1)
AND 170 (data in operand 2), to vaiable 1.
[Example 2]
LET
1
2
Assign 2 to variable 1.
LET
2
204
Assign 204 to variable 2.
LET
3
170
Assign 170 to variable 3.
AND *1
*3
Assign 136, the result of logic AND on 204(content of variable 2 which is
the content in variable 1) and 170 (content of variable 3), to 2(the content
of variable 1).
Decimal number
Binary number
204
11001100
AND 10101010
10001000
AND 170
136
12.4
Logic and Operation commands
- ERC2 (138 pages)
- ERC2 (188 pages)
- ERC3 (438 pages)
- ERC (153 pages)
- RCA-E (53 pages)
- RCA-P (42 pages)
- RCB-101-MW (38 pages)
- RCP2-C (178 pages)
- RCS-E (102 pages)
- RCA-A4R (72 pages)
- RCA-RA3C (114 pages)
- RCA-SRA4R (56 pages)
- RCA2-RA2AC (100 pages)
- RCA2-SA2AC (92 pages)
- RCA2-TA4C (134 pages)
- RCD-RA1D (40 pages)
- RCP2-BA6 (72 pages)
- RCP2-GRSS (130 pages)
- RCP2-HS8C (126 pages)
- RCP2-RA2C (120 pages)
- RCP2-RTBS (80 pages)
- RCP2W-SA16C (46 pages)
- RCP3-RA2AC (60 pages)
- RCP4-RA5C (82 pages)
- RCP4-SA5C (94 pages)
- RCP4W (96 pages)
- RCS2-F5D (142 pages)
- RCS2-GR8 (46 pages)
- RCS2-RN5N (80 pages)
- RCS2-RT6 (60 pages)
- RCS2-SA4C (258 pages)
- RCS2-TCA5N (62 pages)
- RCL-SA1L (66 pages)
- RCL-RA1L (56 pages)
- RCLE-GR5L (46 pages)
- IK Series (16 pages)
- FS (84 pages)
- IF (76 pages)
- ISB (114 pages)
- ISDA (126 pages)
- ISDB (116 pages)
- ISPWA (90 pages)
- NS (78 pages)
- ICS(P)A (16 pages)
- RS (46 pages)