Everything You Need to Know About One-Shot Instructions

Everything You Need to Know About One-Shot Instructions

Rising Edge / One-Shot in Ladder Logic (P and N Contacts) Press a button once, and the count goes up by 40. Nothing is wrong with the button, the wiring or the PLC. The program did exactly what it was told, forty times in a row, because the PLC scanned the rung forty times while … Read more

CTU vs CTD vs CTUD: Which PLC Counter Do You Need?

PLC Counters: CTU, CTD and CTUD Up/Down Counter

A sensor sees a box. The PLC counter adds one. That is the whole job, and it is still the instruction that produces some of the most confusing bugs on a plant floor: PLC counters that run away, counts that will not clear after a power cycle, and an up/down count whose done bit means … Read more

Motor Starter Logic: Build a Fail-Safe System in 5 Rungs

Motor Starter Logic: Build a Fail-Safe System in 5 Rungs

Start, stop, overload. Almost every motor in a plant is controlled by those three signals, and almost every PLC programmer writes the rung that ties them together in their first week. This is the motor starter ladder logic. It is also where a surprising number of real faults come from: a stop button examined with … Read more

17 to 42 Instructions in One Week: The Free PLC Simulator Just Leveled Up

17 to 42 Instructions in One Week: The Free PLC Simulator Just Leveled Up

One week ago, the free PLC simulator at accautomation.ca had 17 ladder instructions. Today it has 42. Between October 13 and October 16, the ACC PLC Simulator shipped six releases, v1.123 through v1.128, in four days. You can now change a program while it is running, step a traffic intersection with one drum instruction, pick … Read more

Run Two 3D Machines at Once — Multi-Scene PLC Simulator

Run Two 3D Machines at Once — Multi-Scene PLC Simulator

Until now, the ACC PLC Simulator ran one 3D scene at a time. You could program a motor starter, a conveyor, or a tank—but only one at a time— and the moment you connected a second scene, it fought the first for the same inputs. From version 1.121, that limit is gone. The multi-scene PLC … Read more

I Replaced a $5,000 PLC Trainer with Free PLC Training Simulator

I Replaced a $5,000 PLC Trainer with Free PLC Training Simulator

I Replaced a $5,000 PLC Trainer with a Free PLC Training Simulator. A PLC training panel costs between three and eight thousand dollars. Technical colleges buy racks of them. Self-learners look at the price and walk away. Companies send employees to week-long courses at two thousand dollars per seat. I built a free PLC training … Read more

Can AI Program a PLC? I Tested It Live in the ACC PLC Simulator

Can AI Program a PLC? I Tested It Live in the ACC PLC Simulator

Can AI Program a PLC? I Tested AI-Generated PLC Code Live. I gave an AI assistant one task: write a complete conveyor control program in Structured Text for the ACC PLC Simulator. Start the motor, detect the box at each end with proximity sensors, reverse direction, auto-stop, and handle a restart. Then I pasted the … Read more

The Real Reason PLCs use Ladder Logic rather than C++?

This article on PLC programming languages was written by Chris Urban, an automation educator and PLC trainer with over 40 years of hands-on experience. Find Chris on YouTube and LinkedIn. — CU Can we even compare the programming languages used on our PCs to those used in PLC programming? To get to the bottom of this, we have … Read more

Simulate & Debug XGB PLC Structured Text Without Hardware

XGB PLC Simulator Structured Text

PLC Simulator is a convenient tool for testing and troubleshooting structured text (ST) programs in the XG5000 programming software. It allows you to simulate the operation of a programmable logic controller (LS Electric PLC) without needing actual hardware. This makes it a valuable asset for beginners and experienced programmers. We will use the PLC simulator … Read more

Arduino OPTA PLC – Structured Text ST First Program Now!

Arduino OPTA PLC - Structured Text (ST)

Structured text (ST) programming is a programming language that is part of the IEC standard and is used in the Arduino Opta PLC. This programming language allows you to write code in a structured and organized manner, making it easier to understand and maintain. With structured text programming, you can create complex and sophisticated programs … Read more