4x shift register – Rockwell Automation 1760-xxxx Pico Controller User Manual User Manual

Page 120

Advertising
background image

Publication 1760-UM001D-EN-P - September 2005

4-60 Draw a Circuit Diagram with Pico

4x Shift Register

You can use a shift register for storing an item of information, e.g.
sorting parts into good and bad; two, three, or four transport steps
further on.

A shift pulse and the value (0 or 1) to be shifted are needed for the
shift register.

The shift register's Reset input is used to clear any values that are no
longer needed. The values in the shift register pass through the
register in the following order.

1st, 2nd, 3rd, 4th storage position.

Block diagram for the 4x shift register:

Assign the meaning ‘bad part’ to the value 0. This ensures that no bad
parts will be reused if the shift register is accidentally deleted.

Function

Pulse

Value

Storage Location

1

2

3

4

1

1

1

0

0

0

2

0

0

1

0

0

3

0

0

0

1

0

4

1

1

0

0

1

5

0

0

1

0

0

Reset = 1

0

0

0

0

Item

Function

I1

Shift pulse (PULSE)

I2

Information (good/bad) to be shifted (VALUE)

I3

Delete content of the shift register (RESET)

M1

First storage position

Pulse

Value

Reset

Advertising