Publication 1757-RM810A-EN-P - May 2002
Functional Blocks 3-29
SELREAL (Real Selection)
SHL (Shift Output Left)
SHR (Shift Output Right)
Description Provides a 3-input selector function, meaning it selects 1 of 2 inputs (IN [1] or IN [2]) depending on the separate input
(G).
Function Sets the actual output (OUT) equal to the value of 1 of 2 inputs (IN [1] or IN [2]), depending on the value of a separate
input (G).
Truth Table IN [1]
IN [1]
IN [1]
IN [2]
IN [2]
IN [2]
Provides a 3-input selector function, meaning it selects 1
of 2 inputs (IN [1] or IN [2]) depending on the separate
input (G).
Inputs IN
1
and IN
2
= real numbers
G = Boolean value
Outputs OUT = Real number
Parameters G
IN [0..2]
ORDERINCM
OUT
Description Provides a 16-bit integer output (OUT) that is shifted to the left by the number of bits (N) specified from the 16-bit
integer input (IN). You specify the number of bits (N) through configuration.
Function Used to shift out bits in the output (OUT) by shifting the bits in the input (IN) left by the number of bits (N) specified.
OUT = IN left shifted by N bits, zero filled on right.
If IN is NaN, then, OUT = NaN.
Inputs IN = 16-bit integer only
Outputs OUT = 16-bit integer
Parameters IN
N
ORDERINCM
OUT
Description Provides a 16-bit integer output (OUT) that is shifted to the right by the number of bits (N) specified from the 16-bit
integer input (IN). You specify the number of bits through configuration.
Function Used to shift out bits in the output (OUT) by shifting the bits in the input (IN) right by the number of bits (N) specified.
OUT = IN right shifted by N bits, zero filled on left.
If IN is NaN, then, OUT = NaN.
Inputs IN = 16-bit integer only
Outputs OUT = 16-bit integer
Parameters IN
N
ORDERINCM
OUT
Spare Allen-Bradley Parts