beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 200

background image

9Ć26

9.6.3

Example of a Circular Rotate Bits Right On Transition Instruction

While switch1 is true, the three leastĆsignificant

bits (bits 0, 1, and 2) of the variable diagnostic

are shifted out, the remaining bits are shifted

right, and the former least significant bits (bits 0,

1, and 2) of the integer variable diagnostic are

placed into the three mostĆsignificant bits (bits

15, 14, and 13, respectively). The state of the

variable status is true.