Allen-Bradley MicroLogix 1400 Instruction Manual page 275

Programmable controllers
Hide thumbs Also See for MicroLogix 1400:
Table of Contents

Advertisement

efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive
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
If you wish to shift more than one bit per scan, you must create a loop in
your application using the JMP, LBL, and CTU instructions.
This instruction uses the following operands:
• File - The file operand is the address of the bit array that is to be
manipulated.
• Control - The control operand is the address of the BSL's control
element. The control element consists of 3 words:
15
Word 0
(1)
EN
Word 1
Size of bit array (number of bits).
Word 2
not used
(1) EN - Enable Bit is set on false-to-true transition of the rung and indicates the instruction is enabled.
(2) DN - Done Bit, when set, indicates that the bit array has shifted one position.
(3) ER - Error Bit, when set, indicates that the instruction detected an error such as entering a negative number for the
length or source operand.
(4) UL - Unload Bit is the instruction's output. Avoid using the UL (unload) bit when the ER (error) bit is set.
• Bit Address - The source is the address of the bit to be transferred
into the bit array at the first (lowest) bit position.
• Length - The length operand contains the length of the bit array in
bits. The valid data range for length is from 0...2048.
Addressing Modes and File Types can be used as shown in the following
table:
Data block is shifted one bit at
a time from bit 16...73.
73 72 71 70 69 68 67 66 65 64
Unload Bit
(R6:0/10)
14
13
12
11
--
(2)
--
(3)
DN
ER
File Instructions
Source Bit
I:22/12
58 Bit Array #B3:1
10
9 8 7 6 5 4 3 2 1 0
(4)
not used
UL
Publication 1766-RM001A-EN-P - October 2008
273

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents