beautypg.com

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

Page 262

background image

Bit Shifts

Chapter 14

14Ć10

Figure 14.8

SET SHIFT BIT Format

SET SHIFT BIT

FILE: 110
BIT NO.: 001

Numbers shown are default values. Bold numbers must be replaced by userĆentered values. The number of default address digits

initially displayed Ċ 3, 4, or 5 Ċ will depend on the size of the data table. Initially displayed default values are governed by the I/O rack

configuration.

FILE : Starting address of the file (file of bit shift instruction).
BIT NUMBER : Decimal number of the bit to be set (1Ć999).

Figure 14.9 format of Figure 14.8 for the following condition of the bit
shift register of Figure 14.1.

File – starts at word 400

8

Bit No. – set bit number 67 in shift register (Figure 14.1) to on (1).

Figure 14.9

SET SHIFT BIT Example Rung

SET SHIFT BIT

FILE: 400
BIT NO.: 067

The Reset Shift Bit output instruction turns off a specified bit in a bit
register such as that shown in Figure 14.1. The users specifies the bit
number of the bit to be turned off and the starting address of the file. The
instruction executes upon a true rung condition.

NOTE: If file is shifted, new data in the same bit position will be reset if
reset shift bit is still true.

14.6
Reset Shift Bit