beautypg.com

14ć6 – Rockwell Automation 1772-LP3 PLC - 2/30 Programmable Controller Programming and Operations Manual User Manual

Page 258

background image

Bit Shifts

Chapter 14

14Ć6

WARNING: The counter address specified for the Bit Shift
Right instruction should be reserved for that instruction. Do not
manipulate the counter preset or accumulated values.
Inadvertent change to these values could result in hazardous or
unpredictable machine operation or a run-time error. Damage to
equipment and/or personal injury could result.

To program a Bit Shift instruction press [SHIFT REG] 13. The format that
appears and the technique for insertion of numbers, will be identical to that
for bit shift left (Figures 14.2 and 14.3) except that the title will read Bit
Shift Right.

The procedure for using the data monitor mode for data entry or monitor is
presented in Chapter 12.

This condition instruction that examines a user specified bit in a bit shift
register, such as shown in Figure 14.1, for an off or 0 condition. The
instruction can be used alone or in conjunction with other condition
instructions to affect the rung decision.

Instruction Overview:

Input instruction
Key sequence: [SHIFT] 18
Requires 3 words of users program

To program an Examine Off Shift bit press [SHIFT REG] 18. A display
represented by Figure 14.4 will appear.

14.2.1
Programming Bit Shift Right
Instruction

14.3
Examine Off Shift Bit

14.3.1
Programming Examine Off
Shift Bit Instruction