These operations allow you to compare two variables or a variable with a numerical value. All these operations are conditional; that is, when the comparison condition is met, a binary signal will be activated. In some cases, the first variable must be a true variable, while the second can be either a variable or a constant.
The possible comparison operations are:
•Equality.
•Inequality.
•Less than.
•Less than or equal to.
•Greater than.
•Greater than or equal to.
The representation in the IEC 61131-3 standard is represented as follows:

Input operands can be of type BYTE, WORD, DWORD, INT, DINT, or REAL. The output operand will always be a variable of type BOOL.
Table 2 below shows the comparison operations used for the PLCs: Simatic, Telemecanique, and Allen Bradley.

Help us grow
Finally, if you are determined to learn Industrial Automation and advance your professional career, you may be interested in our Premium courses:
– Click to see all our courses at MyAutomationClass.com
- Course: «"Become a PLC expert in 60 days, from basic to pro"»
- Course: «"PID Controllers Master Class – 100% practical"»
- Course: «"How to create SCADA/HMI projects from scratch with InTouch"»
- Course: «"PID Tuning Ultimate: The Definitive Course for Tuning"»
- Course: «"Practical Process Modeling: Definitive Steps to Becoming an Expert"»
- Program: «"The Ultimate Process Control Formula" (All-inclusive: PID Control, Tuning, and Modeling)
- Course: How to Learn Industrial Instrumentation, Easily (Complete)
If you have any questions, contact us via Facebook Messenger
Until next time. COMMENT AND SHARE! I'll be happy to answer your questions.

