beautypg.com

Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 188

background image

9Ć14

9.3.3

Example of a Circular Rotate Bits Left On Transition Instruction

When switch1 transitions from false to

true, the two most significant bits (bits

15 and 14) of the integer variable

diagnostic are shifted out, the

remaining bits are shifted left, and the

former most significant bits (bits 15

and 14) are placed into bits 1 and 0.

The state of the variable status reflects

the value in bit 0. In this case, the

variable status is false.