In this Matlab free course, we will be discussing about the PLC advanced comparison functions.
The Ladder Logic block contains a ladder diagram, which is a graphical representation of the logic of the program. The ladder logic block can be used to control an I/O point or set of points on a PLC. You can also use it to trigger an event or perform calculations.
Comparators are used for comparing two values, and then returning either TRUE or FALSE as a result. The EQU, LES, LEQ, NEQ and GRT Comparators compare their inputs and return TRUE if they are equal (EQU) or not equal (LES), less than (LEQ), less than or equal to (NEQ) or greater than (GRT). The GEQ Comparator returns TRUE if its inputs are greater than or equal to each other.
The comparison functions are used to compare the values of two variables. The comparison functions are:
Equal to: The value of the variable on the left is equal to the one on the right.
Equals to: The value of the variable on the left equals that of the one on right.
Greater than: The value of variable on left is greater than that on right.
Less than: The value of variable on left is less than that on right.
The PLC advanced comparison function is one of the most sought-after features in the PLC. It is a useful tool for comparing and contrasting two or more items. The user can use this function to compare the difference in sizes, weights, shapes, colors, and other attributes of items.
This function allows a user to compare two or more items and then determine which one is better than the other in specific areas. It also helps a user to see how different items are from each other in an easy-to-read format.
Share a personalized message with your friends.