Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual

Page 184

Advertising
background image

9Ć10

9.2.3

Example of a Circular Rotate Bits Left Instruction

While switch1 is 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.

Advertising