RNG5: Rung (5-Input) [FC110]


Specifications

Spec Description
S1
Output override:
0 = normal
1 = hold
2 = logic 0
3 = logic 1
S2Operation on input 1
S3Operation on input 2
S4Operation on input 3
S5Operation on input 4
S6Operation on input 5
S7Input 1
S8Input 2
S9Input 3
S10Input 4
S11Input 5

Format for S2 through S6

Override Indicator

0XX No input override
1XX Force input to logic 1
2XX Force input to logic 0

State of Input Acted On

X0X Use value from stack (0 or 1)
X1X Use logical state of input (0 or 1)
X2X Use inverted logical state of input (0 or 1)
X3X Perform operation when input changes (0-1)
X4X Perform operation when input changes (1-0)

Operation

XX0 PUT value on top of stack
XX1 AND value with value on top of stack
XX2 OR value with value on top of stack

Outputs

Block Type Description
N Bit Value determined by S1 and top of stack