Toshiba PROSEC T1-16S User Manual page 111

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

Advertisement

Logical operations
FUN
Name
No.
048 AND
[ A AND B
050 OR
[ A OR B
052 Exclusive OR
[ A EOR B
064 Bit test
[ A TEST B ]
Shift operations
FUN
Name
No.
1 bit shift right
068
[ SHR1 A ]
069
1 bit shift left
[ SHL1 A ]
n bit shift right
070
[ A SHR n
071
n bit shift left
[ A SHL n
Shift register
D
074
S
E
075
Bi-directional
D
S
shift register
E
L
Expression
C ]
Finds logical AND of A and B,
and stores it in C.
Finds logical OR of A and B,
C ]
and stores it in C.
C ]
Finds logical exclusive OR of A
and B, and stores it in C.
Turns ON output if logical AND
of A and B is not 0.
Expression
Shifts data of A 1 bit to the right
(LSB direction). The carry flag
changes according to the result.
Shifts data of A 1 bit to the left
(MSB direction). The carry flag
changes according to the result.
Shifts data of A n bits to the
B ]
right (LSB direction) and stores
the result in B. The carry flag
changes according to the result.
B ]
Shifts data of A n bits to the left
(MSB direction) and stores the
result in B. The carry flag
changes according to the result.
SR
Q
When shift input (S) comes ON,
(n)
shifts the data of specified shift
A
register 1 bit to the left, and
stores data input (D) state into
A. This operation is enabled
while enable input (E) is ON.
The carry flag changes
according to the result.
Shift register: n devices starting
with device A.
DSR
Q
When shift input (S) comes ON,
(n)
shifts the data of specified shift
register 1 bit to the left or to the
A
right depending on direction
input (L). This operation is
enabled while enable input (E) is
ON. The carry flag changes
according to the result.
Shift register: n devices starting
with device A.
Direction: Left when L is ON,
right when L is OFF
Function
Steps
4
4
4
3
Function
Steps
2
2
4
4
3
3
Basic Hardware and Function
6F3B0253
7. Instructions
Speed
Page
( s)
5.7
156
5.7
157
5.7
158
5.0
163
Speed
Page
( s)
6.8
164
6.8
165
10.2
166
10.2
167
65.9 -
168
76.2
69.0 -
170
79.3
109

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents