PLC Program Example – Paint Spraying

We will look at a PLC basic tutorial of a paint spraying station. Following the five steps to program development, this PLC programming example should fully explain the procedure for developing the PLC program logic. Ladder logic will be our PLC programming language. We will use the Do-more Designer software, which comes with a simulator. … Read more

PLC Program Example – Shift Register (Conveyor)

We apply the five steps of PLC development to a plc shift register example. This PLC programming example will use a shift register to reject a product on a conveyor. When programming a PLC, you need to track what has previously happened. Shift registers allow you to do just that. We will look at a … Read more

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

Now You Can Have Data Logging Free

A data logger is also known as a data recorder or data acquisition. It is a method to record data over some time and events. The recorded information can come from sensors in the field. They can be digital or analog. Digital data can be used for counts, times, events (motor overload), etc. With the … Read more

How to Send Email to SMTP Server (VB6)

Simple mail transfer protocol (SMTP) is the email protocol for sending information. We can use this ability to email from our data logged from the PLC. Faults or errors the PLC detects can be emailed to individuals for correction. Shift reports on productivity can be automatically emailed to recipients. Note: Google is removing “Less Secured … Read more

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

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 Implement Omron PLC Host Link Protocol

The hostlink communication protocol is a method developed by Omron for communication to PLCs and other equipment. This ASCII-based protocol is used over RS232 or RS422/RS485. It is a many-to-one implementation, meaning you can communicate with up to 32 devices back to a master. (1: N) This communication on the industrial floor can control PLCs, Temperature … Read more