How to Make a One-Shot in the PLC

A one-shot in the PLC will turn an output on for one scan. This is used to trigger events that should only happen once. An example of this would be to increment a value in memory. If a one-shot is not used, then every scan of the PLC will increment the value. What is a … 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

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