7. Instructions
FUN 048
Expression
Input -[ A AND B ® C ]- Output
Function
When the input is ON, this instruction finds logical AND of A and B , and stores the result in C .
Execution condition
Input
OFF
No execution
ON
Execution
Operand
Name
A Source
B Source
C AND
Example
When R012 is ON, logical AND operation is executed for the data of RW12 and the constant data
HFF00, and the result is stored in D0030.
If the data of RW12 is H3456, the result H3400 is stored in D0030.
F
RW12
0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0
Constant
1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
D0030
0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0
174
T1/T1S User's Manual
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
AND
AND
Operation
Device
X
Y
R
S
T.
C. XW YW RW SW T
E
D C
B
A
9
8
7
3
4
AND
F
F
3
4
Output
OFF
ON
Register
C
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
6
5
4
3
2
1
0
5
6
0
0
0
0
Constant Index
D
I
J
K
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
6F3B0250
Ö
Ö
Ö
Ö
Ö