Rockwell Automation AutoMax Enhanced Ladder Language Reference Manual User Manual
Page 190

9Ć16
9.4.1
Input Parameters for the Shift Right Instruction
This table lists the inputs for the SR instruction and the variable type and data
type/range that each input supports.
Parameter
Description
Variable Type
Data/Type Range
EN
While this input is true, the instruction executes. When this
input is false, the instruction is not executed and ENO is
false.
Connect a Boolean input or output.
In
Enter the name of the variable containing the bits you
want to shift.
D Boolean array
D simple integer or
double integer
D element of an
integer or double
integer array
D 1 or 0
D integer (0ĆFFFF)
D double integer
(0ĆFFFFFFFF)
BIT
This input provides the state of the most significant bit
after the shift occurs.
To place a 1 in the most significant bit location, the
Boolean parameter connected to BIT must be true.
To place a 0 in the most significant bit location, the
Boolean parameter connected to BIT must be false.
If no Boolean parameter is programmed, a 0 is loaded
into the most significant bit location.
Connect a Boolean input or output.