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
IOS - I/O
DLS - Data Log
Address
Mode
(1)
Address Level
O
I
S
B
T, C, R
N
F
ST
L
MG, PD
RI/RIX
PLS
RTC
HSC
PTO, PWM
STI
EII
BHI
MMI
LCD
Immediate
Direct
Indirect
Bit
Word
Long Word
Element
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 73727170696867666564
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