![rslogix 500 vs 5000 rslogix 500 vs 5000](https://www.infoplc.net/files/imagenes/descargas/rockwell/306_b.jpg)
LEQ and GEQ (Less than or equal, Greater than or Equal) work the same, except that these instructions also include the exact value that we are comparing a tag against.
![rslogix 500 vs 5000 rslogix 500 vs 5000](https://www.dosupply.com/tech/wp-content/uploads/2019/12/IMG_6089.png)
GRT (greater than) looks for a tag to be above another value.
![rslogix 500 vs 5000 rslogix 500 vs 5000](http://www.asasmy.com/uploads/2/9/9/9/29994293/shamsul-abb-march20211_orig.png)
the LES (less than) instruction compares a tag to see if it is less than another value. These instructions are pretty much self-explanatory. If the alarm tag becomes a non-zero number, then we might inform the operator that an alarm condition is present. If the alarm tag is zero, then we don’t have any alarms. There are 32 bits in a DINT tag, and each of the 32 bits might represent an alarm. These instructions commonly compare an alarm tag against the value of 0. The EQU instruction will go true when a tag is equal to another value (or tag). These instructions are opposite of each other. The light would be OFF between 100 and 180, but if the PipePressure tags gets outside of the limits, the light would energize. Note: If you reverse the low and the high limits, the instruction works opposite. We might use this to indicate that the pressure is OK. However, if the pipe pressure is between (or at) 100 to 180psi, the light will energize. In this example, RemLight.6 is OFF because our PipePressure of 0 is not within the limits. Tags are easier to change than constants (ie from a panelview). The Low and High Limits can also be tags. The LIM (Limit) instruction is used to determine if a value is within a certain range. The CMP instruction can also be used to enter complex math functions that will either return a true or false. This output might be a warning to the operator, or even a condition for shutdown. If the expression is true in the logic below, the output will energize to indicate that our value is above 180psi. The CMP (Compare) instruction can be used to enter an expression. The compare instructions are found on the “Compare” tab of the instruction toolbar. FactoryTalk View SE Trends and Data Log.Beginning a FactoryTalk View SE Project.Derivative Settings for ControlLogix PID Enhanced.Integral Settings for ControlLogix PID Enhanced.Proportional Settings for ControlLogix PID Enhanced (PIDE).Proportional, Integral, Derivative (PID).