From the course: Learning PLC Ladder Logic: 2 Diving Deeper

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Common comparison instructions

Common comparison instructions - Ladder Logic Tutorial

From the course: Learning PLC Ladder Logic: 2 Diving Deeper

Start my 1-month free trial

Common comparison instructions

- [Instructor] The common conversion instructions that are used in PLC ladder logic programming are equal, not equal, greater than, greater than or equal, less than, less than or equal. The name of the instruction is written on the top of the block. An equal instruction is true whenever the source values for A and B are equal. Then the rung is true and the output turns on. An example is if the temperature reaches 50 degrees, a light turns on indicating that. Since compare instructions are input, so we can have as many other inputs required by the logic. For example, we can have a start push button. In this case, the red pilot light turns on only when the start push button is pressed, and the temperature equals 50. Both inputs need to be true. The not equal instruction is true whenever the source values are not equal. So in this case, whenever the temperature does not equal 50 degrees, the green pilot light turns on.…

Contents