Allen-Bradley Logix5000 Reference Manual page 304

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

Chapter 7
Move/Logical Instructions (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT)
Condition
Prescan
Rung-condition-in is false
Rung-condition-in is true
Postscan
value_1
Before BTD Instruction
value_1
After BTD Instruction
304
Execution:
Relay Ladder Action
The rung-condition-out is set to false.
The rung-condition-out is set to false.
The instruction copies and shifts the Source bits to the Destination.
The rung-condition-out is set to true.
The rung-condition-out is set to false.
Example 1:
When enabled, the BTD instruction moves bits within value_1.
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Example 2:
When enabled, the BTD instruction moves 10 bits from value_1 to value_2.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Destination Bit
The shaded boxes show the bits that changed in value_1.
Source Bit

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents