User Manual

Rockwell Automation Publication 1752-UM001E-EN-P - June 2014 215
Logic Functions Command Reference Appendix C
Comparator Instruction Truth Table
In the truth table, 0 is off and 1 is on. CV is the comparison value. An X indicates
that the status of the input (match or dont match) is not applicable.
Table 7 - Truth Table for Comparator Instruction
Input 8Input 7Input 6Input 5Input 4Input 3Input 2Input 1Output 1
CV for
bit 7
XXXXXXX0
X CV for
bit 6
XXXXXX0
XXCV for
bit 5
XXXXX0
XXXCV for
bit 4
XXXX0
XXXXCV for
bit 3
XXX0
XXXXXCV for
bit 2
XX0
XXXXXXCV for
bit 1
X0
XXXXXXXCV for
bit 0
0
= CV for
bit 7
= CV for
bit 6
= CV for
bit 5
= CV for
bit 4
= CV for
bit 3
= CV for
bit 2
= CV for
bit 1
= CV for
bit 0
1