User Manual

Rockwell Automation Publication 1752-UM001E-EN-P - June 2014 213
Logic Functions Command Reference Appendix C
Multi-connector Instruction Truth Table
In the truth table, 0 is off and 1 is on.
Comparator Instruction
The comparator instruction compares the specified input signals of up to eight
inputs with the configured comparison pattern and turns on the Output 1 signal
when all of the input signals match the comparison pattern. The Output 1 signal
turns off when the input signals no longer match the comparison value.
Table 5 - Truth Table for Multi-connector Instruction
Inputs Outputs
123456781 2 3 4 5 6 7 8
0xxxxxxx0 x x x x x x x
1xxxxxxx1 x x x x x x x
x0xxxxxx
x 0 x x x x x x
x1xxxxxxx 1 x x x x x x
xx0xxxxxx x 0 x x x x x
xx1xxxxx
x x 1 x x x x x
xxx0xxxxx x x 0 x x x x
xxx1xxxxx x x 1 x x x x
xxxx0xxx
x x x x 0 x x x
xxxx1xxxx x x x 1 x x x
xxxxx0xxx x x x x 0 x x
xxxxx1xx
x x x x x 1 x x
xxxxxx0xx x x x x x 0 x
xxxxxx1xx x x x x x 1 x
xxxxxxx0
x x x x x x x 0
xxxxxxx1x x x x x x x 1