PLC Programming Example – Process Mixer

We will apply the five steps to PLC Program development to our following programming example of a process mixer. The process mixer will be programmed using ladder logic. We will discuss each step of the PLC program development. 1 – Define the task: How does the process mixer work? A normally open start and normally … Read more

Creating a Flip Flop Circuit in the PLC

A flip-flop circuit in a PLC usually has one input and two outputs. When the input is activated, the two outputs alternately latch on/off opposite each other. It is used to toggle (latch) work on and off with just one input. In the PLC, it is a single input that will toggle an output on … Read more

Building a PLC Program Part 3 – Traffic Light

In part 1, we looked at writing PLC programs to control a traffic light using discrete bits and timed sequencing using indirect addressing. Part 2 used indirect addressing for inputs and output to control the program’s sequence of pneumatic (air) cylinders. We will now return to the traffic light application and expand our program significantly. … Read more

How PLC Outputs Work – Discrete and Analog

This post is a further follow-up from my original ‘Here’s a Quick Way to Understand PLC Inputs and Outputs.’ There are two different kinds of PLC outputs, Discrete and analog. Discrete outputs are either ‘ON’ or ‘OFF’; 1 or 0. You can think of them as a single light bulb. Analog outputs have a range … Read more

Learn PLC Programming without spending a dime!

plc basics programmable logic controller

I have been writing PLC programs for over 20 years. I often get asked what the best way to learn PLC programming is. Programming in the way I was taught in college was with the Motorola 6809. (Yes, I know that I am dating myself) This was microprocessor programming, but it was the best way … Read more

How to Troubleshoot a PLC – Ladder Logic

We will look at how to troubleshoot a plc racing condition. Two examples are explained in racing conditions in the PLC. The PLC will update only at the end of the program logic. Items set will not happen until the I/O is refreshed. How to trigger events when you want them is discussed. Your control … Read more