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.

Example: Comparison instruction

Example: Comparison instruction - Ladder Logic Tutorial

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

Start my 1-month free trial

Example: Comparison instruction

- [Narrator] Here's a scenario for a section within a production line. This is part of a batch-counting operation to sort parts automatically for quality control. A sensor is used to detect the defective parts. The proximity sensor is used to count the parts as they pass by on the conveyor for the quality control line. Once eight parts have been detected, a red pilot light turns on. When less than eight parts detected, a green pilot light is on, indicating we're still within the accepted limits. A reset push button is used to reset it back to zero when the new batch of parts are coming. The two pilot lights are connected to output two. Reset push button and the sensor are connected to input one.

Contents