EasyManua.ls Logo

Allen-Bradley Logix5000

Allen-Bradley Logix5000
708 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 405
Array (File)/Shift Instructions (BSL, BSR, FFL, FFU, LFL, LFU) Chapter 9
Example 1: When enabled, the BSL instruction starts at bit 0 in array_dint [0]. The instruction unloads array_dint[0].9 into the .UL bit, shifts the remaining bits, and load s input_1 into array_dint[0].0. The values in the remaining bits (10…31) are invalid.
Example 2: When enabled, the BSL instruction starts at bit 0 in array_dint [0]. The instruction unloads array_dint[1].25 into the .UL bi t, shifts the remaining bit s, and loads input_1 into array_dint[0].0. The values in th e remaining bits (31…26 in array_dint[1]) are invalid. Note how array_dint[ 0].31 shif ts across words to array_dint[1].0.
9876543210
array_dint[0]
Before shift
11110000111100001111000011110000
9876543210
array_dint[0]
After shift
0111100001
1
input_1
0
.UL bit
These bits shift left
31 0
array_dint[0] 11110000111100001111000011110000
31 0
array_dint[1] 00111100001111000011110000
1
input_1
These bits shift left
0
.UL bit
These bits shift left

Table of Contents

Other manuals for Allen-Bradley Logix5000

Related product manuals