Comparator instruction truth table – Rockwell Automation 1752-L24BBBE SmartGuard 600 Controllers User Manual User Manual

Page 215

Advertising
background image

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 don’t match) is not applicable.

Table 7 - Truth Table for Comparator Instruction

Input 8

Input 7

Input 6

Input 5

Input 4

Input 3

Input 2

Input 1

Output 1

≠CV for
bit 7

X

X

X

X

X

X

X

0

X

≠CV for
bit 6

X

X

X

X

X

X

0

X

X

≠CV for
bit 5

X

X

X

X

X

0

X

X

X

≠CV for
bit 4

X

X

X

X

0

X

X

X

X

≠CV for
bit 3

X

X

X

0

X

X

X

X

X

≠CV for
bit 2

X

X

0

X

X

X

X

X

X

≠CV for
bit 1

X

0

X

X

X

X

X

X

X

≠CV 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

Advertising
This manual is related to the following products: