Toshiba PROSEC T1 User Manual page 195

Programmable controller
Hide thumbs Also See for PROSEC T1:
Table of Contents

Advertisement

FUN 081
Expression
Input -[ A RTL n ® B ]- Output
Function
When the input is ON, the data of register A is rotated n bits to the left (MSB direction), and stored in
B . After the operation, if the left most bit (MSB) is ON, the output is turned ON.
Execution condition
Input
OFF
No execution
ON
Execution
Operand
Name
A Source
n Shift bits
B Destination
Example
When X008 is changed from OFF to ON, the data of RW18 is rotated 3 bits to the left and the
result is stored in RW20.
The figure below shows an operation example.
(MSB)
F
E
1 0 1 0 0 1 1 1 0 0 1 1 1 0 1 0
CF
1
0 0 1 1 1 0 0 1 1 1 0 1 0 1 0 1
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
RTL
n bit rotate left
Operation
When MSB = 1
When MSB = 0
Device
X
Y
R
S
T.
C. XW YW RW SW T
*
D C
B
A
9
8
7
6
R002 is turned OFF
Output
OFF
ON
OFF
Register
C
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
(LSB)
5
4
3
2
1
0
RW18
RW20 (Result)
*
Basic Hardware and Function
7. Instructions
CF
-
Set or reset
Set or reset
Constant Index
D
I
J
K
Ö
Ö
Ö
Ö
Ö
1 - 16
Ö
Ö
Ö
Ö
6F3B0250
Ö
Ö
193

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Prosec t1s

Table of Contents