Building a PLC Program – Part 5 – Simon Game

We will now look at the Game of Simon for our part 5 in this series of building a PLC program. Learning all about bit manipulation and sequencers Simon is a memory game introduced in 1978. It has four colored buttons, each producing a particular tone when it is pressed or activated by the device. … Read more

How to Implement Modbus TCP Protocol VBA Excel

We are using Modbus TCP protocol, reading ten registers in the PLC, and displaying a bar graph in Excel. e will use Visual Basic for Applications (VBA) to communicate with a PLC. Previously we have used VB6 to communicate Modbus TCP. Sequence for Modbus TCP on Excel using VBA The following steps will be done: … Read more

Implementing the Omron CX Server DDE and Excel

Utilizing the CX Server DDE Manager will allow us to provide a link to the information in the Omron PLC. This link can be placed on an Excel spreadsheet. Charts, graphs, etc., can be made from the data. We will create links on an excel spreadsheet from a CQM1H and a CP1L PLC. The information … 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

Who Wants to Learn About On Off and PID Control?

Process control can be a bit intimidating. We will try and break down both On/Off and PID control in a fun way. This is a simple analogy without any math. On-Off Control Explained On/Off control can be used effectively with temperature control. Everyone’s house usually has a temperature controller that uses an On/Off control. The … 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

Building a PLC Program Part 4 – 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. Part 3 returned to the traffic light application and expanded our program significantly. We … Read more