Publication 1757-RM810A-EN-P - May 2002
Functional Blocks 3-27
QOR (Qualified OR)
ROL (Rotate Output Left)
ROR (Rotate Output Right)
Description Qualified-OR provides an (N + 1)-input generic qualified-OR function, meaning that the output (OUT) is turned ON if a
certain number (k) of total inputs (IN [n]) is ON. Each input (IN [1], IN [2], ..., IN [8]) has the capability of being optionally
inverted, if required.
Function Turns the output (OUT) ON if a specified number (K) of total inputs is ON.
Truth Table IN [1]
ON
IN [2]
ON
IN [3]
OFF
IN [4]
ON
IN [5]
OFF
K
3
OUT
ON
Inputs IN [1..8] = Boolean value
K = 1 to 8 (Integer)
Outputs OUT = Boolean value controlled by status of input signals.
Parameters IN [1..8]
INPTINVSTS [1..8]
K
ORDERINCM
OUT
Description Provides a 16-bit integer output (OUT) that is rotated to the left 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 rotating the bits in the input (IN) left by the number of bits (N) specified.
OUT = IN left rotated by N bits, circular.
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 rotated 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 rotating the bits in the input (IN) right by the number of bits (N) specified.
OUT = IN right rotated by N bits, circular.
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