User Manual

214 Rockwell Automation Publication 1752-UM001E-EN-P - June 2014
Appendix C Logic Functions Command Reference
Comparator Instruction Diagram
Comparator Instruction Parameters
Set these parameters for the Comparator instruction.
You can set the comparison pattern and increase the number of inputs from one
to eight on the In/Out Setting tab of the Function Block Properties dialog box in
RSNetWorx for DeviceNet software. The default is one input. You set the
comparison pattern by using a combination of 0 (input off ), 1 (input on), and X
(input on or off ).
Table 6 - Comparator Function Block Parameters
Parameter Valid Range Default Setting
Comparison value 00000000…11111111 (bit 7…0) 00000001
1
0
1
0
1
1
0
1
0
1
Input 1
Output 1
Output 1
Input 1
Input 2
Input 3
Input 4
Input 5
Input 6
Input 7
Input 8
Default Connections Maximum I/O for Comparator Instruction