beautypg.com

0 - shift register instructions, 0 shift register instructions – Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 175

background image

9Ć1

9.0 Shift Register Instructions

Use the Shift Register instructions to store, extract, and manipulate binary data.
The Shift Register instructions can help you:
D track parts or product
D record barĆcode information
D control machinery or processes
D track and record system diagnostic information
Choose from these instructions:

Use this instruction:

To:

Shift Left (SL)

Shift out to the left the most significant bit and

load either a 1 or 0 into the least significant bit

position.

Circular Rotate Bits Left (ROL)

Rotate a specified number of the most significant

bits into the least significant bit positions while

the instruction is enabled.

Circular Rotate Bits Left on Transition (RL) Rotate a specified number of the most significant

bits into the least significant bit positions for each

falseĆtrue transition of the enable bit.
This instruction performs the same operation as

ROL, but it is edgeĆtriggered.

Shift Right (SR)

Shift out to the right the least significant bit and

load either a 1 or 0 into the most significant bit

position.