Publication 1763-RM001C-EN-P - October 2009
226
File Instructions
Addressing Modes and File Types can be used as shown in the following
table:
BSL - Bit Shift Left
Instruction Type: output
The BSL instruction loads data into a bit array on a false-to-true rung
transition, one bit at a time. The data is shifted left through the array, then
unloaded, one bit at a time. The following figure shows the operation of
the BSL instruction.
FLL Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page 82.
Parameter
Data Files
Function Files
CS - Comms
IO
S -
I/O
DL
S
-
Dat
a
L
o
g
Address
Mode
(1)
Address Level
O
I
S
B
T,
C
, R
N
F
ST
L
MG,
PD
RI/R
IX
PL
S
RTC
HS
C
PTO, PWM
STI
EII
BH
I
MMI
LC
D
Imme
diate
Di
re
c
t
Indir
e
c
t
Bi
t
Wo
rd
Long
W
o
rd
Eleme
n
t
Source
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Destination
•
•
•
•
•
•
•
•
•
•
•
Length
•
(1) See Important note about indirect addressing.
IMPORTANT
You cannot use indirect addressing with: S, ST, MG, PD,
RTC, HSC, PTO, PWM, STI, EII, BHI, MMI, CS, IOS, and
DLS files.
EN
DN
BSL
Bit Shift Left
File
#B3:1
Control
R6:0
Bit Address
B32:0/0
Length
1<
BSL
Execution Time for the BSL Instruction
Controller
When Rung Is:
True
False
MicroLogix 1100
34.5
μ
s + 0.2
μ
s/word
34.5
μ
s
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
RESERVED
73 72 71 70 69 68 67 66 65 64
Data block is shifted one bit at
a time from bit 16 to bit 73.
Source Bit
I:22/12
58 Bit Array #B3:1
Unload Bit
(R6:0/10)
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive