Level Up Your PLC Logic: Clock Pulses Explained

Level Up Your PLC Logic: Clock Pulses Explained

Your PLC has bits you never wrote. One of them is on for exactly one scan, the moment the program starts. Others flash on and off all day at fixed rates, whether your program uses them or not. They are called PLC system bits, and once you know them you can initialise a program, blink … Read more

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

TON, TOF, or RTO? Which PLC Timer Should You Use?

TON, TOF, or RTO? Which PLC Timer Should You Use?

Almost every PLC program you will ever write has a timer in it. PLC timers will sound a horn before a motor starts. A fan keeps running after a heater shuts off. A pump counts its running hours until it is due for service. Those three jobs need three different timers: TON, TOF and RTO. … 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

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

ACC PLC Simulator — How to Use Structured Text (ST) Programming

ACC PLC Simulator — How to Use Structured Text (ST) Programming

Structured Text is widely recognized as the fastest-growing PLC programming language. It is an IEC 61131-3 standard text-based language that reads like Pascal or C. If you have worked with any high-level programming language, ST will feel familiar. And if you have only used ladder logic, ST opens up a new way to think about … Read more

ACC PLC Simulator: Any Gamepad Now Drives Your PLC!

ACC PLC Simulator: Any Gamepad Now Drives Your PLC!

The ACC PLC Simulator now supports simulator gamepad input. Plug in any standard USB or Bluetooth controller, and you can drive PLC inputs, control analog values, navigate 3D scene cameras, and run your program without ever touching the keyboard. This works with Xbox controllers, PlayStation controllers, generic USB HID gamepads, and most Bluetooth controllers. There … Read more

PLC Programming Tutorial: Build a Conveyor System (ACC Simulator)

In this tutorial, I am going to walk you through the Conveyor Scene in the ACC PLC Simulator. This is a single-axis belt conveyor with proximity sensors at each end and a box that travels back and forth along the belt. You will write a ladder logic program that starts the conveyor, detects the box … Read more