Comparison category – Rockwell Automation 1734-XXXX POINT I/O and ArmorPOINT I/O DeviceLogix User Manual User Manual
Page 68

Publication 1734-UM015A-EN-E - November 2009
66 DeviceLogix Capabilities
For more information on the Timer/Counter category, refer to the
DeviceLogix System User Manual, publication
Comparison Category
The Comparison category includes basic comparison functions, including
these instruction types:
•
Greater Than (GRT)
•
Greater Than or Equal To (GEQ)
•
Equal (EQU)
•
Not Equal (NEQ)
•
Less Than (LES)
•
Less Than or Equal (LEQ)
•
Mask (MEQ)
Operation rules [all except Mask (MEQ)]
The conditions and outputs of each function block are described below.
Operation rules [Mask (MEQ) only]
The Mask process is outlined below:
IF (Source AND Mask) == (Compare AND Mask)
Output is Set
ELSE
Function Block
Type
Condition
Output
Greater Than (GRT)
Source A > Source B
1
Source A <= Source B
0
Greater Than or
Equal (GEQ)
Source A >= Source B
1
Source A < Source B
0
Equal (EQU)
Source A == Source B
1
Source A != Source B
0
Not Equal (NEQ)
Source A != Source B
1
Source A == Source B
0
Less Than (LES)
Source A < Source B
1
Source A >= Source B
0
Less Than or Equal
(LEQ)
Source A <= Source B
1
Source A > Source B
0