Toshiba PROSEC T1-16S User Manual page 158

Programmable controller basic hardware and function
Hide thumbs Also See for PROSEC T1-16S:
Table of Contents

Advertisement

7. Instructions
FUN 048
AND
Expression
Input
[ A AND B
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
X
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
E
RW12
0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0
3
Constant
1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
F
D0030
0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0
3
156
T1-16S User's Manual
AND
C ]
Output
Operation
Device
Y
R
S
T.
C. XW YW RW SW T
D
C
B
A
9
8
7
6
4
5
AND
F
0
4
0
Output
OFF
ON
Register
C
5
4
3
2
1
0
6
0
0
Constant Index
D
I
J
K
6F3B0253

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents