Toshiba PROSEC T1-16S User Manual page 159

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

Advertisement

FUN 050
OR
Expression
Input
[ A OR B
Function
When the input is ON, this instruction finds logical OR 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 OR
Example
When R012 is ON, logical OR operation is executed for the data of RW13 and RW20, and the
result is stored in D0031.
If the data of RW13 is H5678 and RW20 is H4321, the result H5779 is stored in D0031.
F
E
RW13
0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0
5
RW20
0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1
4
D0031
0 1 0 1 0 1 1 1 0 1 1 1 1 0 0 1
5
OR
C ]
Output
Operation
Device
Y
R
S
T.
C. XW YW RW SW T
D
C
B
A
9
8
7
6
6
OR
3
7
Output
OFF
ON
Register
C
5
4
3
2
1
0
7
8
2
1
7
9
Basic Hardware and Function
7. Instructions
Constant Index
D
I
J
K
6F3B0253
157

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents