How PLC Inputs 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 inputs, Discrete and analog. Discrete inputs are either ‘ON’ or ‘OFF’; 1 or 0. You can think of them as a single switch. Analog inputs have a range to … 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

Here is a Method for a Faster PLC Program

PLC programming involves both direct and indirect addressing. Direct address programming involves writing each ladder logic rung to do the operation required. We often forget about using powerful indirect addressing to solve our logic. Indirect Addressing – Faster PLC Program The below-animated picture will show a simple example of using indirect addressing. This will use … Read more

The Secret of Using Counters – PLC Programming

We will now look at the secret of using counters in the PLC. (Secret Using Counters) Counters are used in the majority of PLC programs. This is especially true if part of your SCADA system. Counters like the animated picture above count things. In this situation, we count the number of turns the little guy … Read more

The Secret of Using Timers – PLC Programming

We will now look at the secret of using timers in the PLC. Timers are used in the majority of PLC programs. There are also a wide variety of off-the-shelf industrial timers that you can use. The implementation of timers can be vast; however, it all starts with a TIMING CHART. Timing Chart – Secret … Read more