Uploaded November 2026 | Updated November 2026, 23 hours ago
Can AI write a PLC program? One AI got a single task: a complete conveyor control program in Structured Text for the ACC PLC Simulator. Here is the test.
โก QUICK ANSWER
PLC code written by AI can run on the first attempt, and in this test it did, but that is not the same as replacing the programmer. The task was deliberately complete: start the motor, detect the box with proximity sensors at each end, reverse direction, stop automatically and handle a restart. An AI can turn that specification into working Structured Text. What it cannot do is confirm the scan order, read a normally closed stop correctly or catch a first scan edge case, and all three had to be checked by hand before the program could be trusted.
๐ FULL STEP-BY-STEP + DOWNLOADS (project file, wiring diagrams, screenshots)
accautomation.ca/can-ai-program-a-plc-i-tested-it-live-in-the-acc-plc-simulator
๐ WHAT YOU'LL LEARN
โ Write a conveyor specification complete enough for an AI to code against
โ Cover all five behaviours: start, detect, reverse, auto stop and restart
โ Paste AI generated Structured Text into the ACC PLC Simulator and run it live
โ Test the result against a 3D conveyor scene instead of guessing from the code
โ See where an AI still needs a programmer checking its work
โ FREQUENTLY ASKED
Q: Can AI replace a PLC programmer?
A: Not on this evidence. It produced working code from a clear specification, but verifying scan order, fail safe behavior and initialization still took a human.
Q: What was the AI actually asked to do?
A: Write one complete conveyor control program in Structured Text that starts the motor, detects the box with proximity sensors, reverses direction, stops automatically and handles a restart.
Q: Do I need hardware to try this myself?
A: No. The ACC PLC Simulator runs in a browser with a 3D conveyor scene, free, with no install and no licence.
๐ Full step-by-step, code and wiring diagrams: accautomation.ca/can-ai-program-a-plc-i-tested-it-live-in-the-acc-plc-simulator
๐ MORE RESOURCES
โถ Series: accautomation.ca/series
โถ Free PLC Simulator: accautomation.ca/simulator
โถ PLC Beginners Guide: accautomation.ca/programming/plc-beginners-guide
โถ Free eBooks: accautomation.ca (subscribe for download)
๐ RECOMMENDED HARDWARE
โถ Shop: automationdirect.com
โถ Parts Guide: accautomation.ca/purchase-find-parts
๐ฌ Questions? Drop a comment below.
๐ New tutorials every Monday โ Subscribe and hit the bell!
#PLC #StructuredText #IndustrialAutomation #PLCProgramming #ACCAutomation #AI #PLCTutorial #LearnPLC #Shorts
Regards,
Garry
ACC Automation
accautomation.ca
Can AI write a PLC program? One AI got a single task: a complete conveyor control program in Structured Text for the ACC PLC Simulator. Here is the test.
โก QUICK ANSWER
PLC code written by AI can run on the first attempt, and in this test it did, but that is not the same as replacing the programmer. The task was deliberately complete: start the motor, detect the box with proximity sensors at each end, reverse direction, stop automatically and handle a restart. An AI can turn that specification into working Structured Text. What it cannot do is confirm the scan order, read a normally closed stop correctly or catch a first scan edge case, and all three had to be checked by hand before the program could be trusted.
๐ FULL STEP-BY-STEP + DOWNLOADS (project file, wiring diagrams, screenshots)
accautomation.ca/can-ai-program-a-plc-i-tested-it-live-in-the-acc-plc-simulator
๐ WHAT YOU'LL LEARN
โ Write a conveyor specification complete enough for an AI to code against
โ Cover all five behaviours: start, detect, reverse, auto stop and restart
โ Paste AI generated Structured Text into the ACC PLC Simulator and run it live
โ Test the result against a 3D conveyor scene instead of guessing from the code
โ See where an AI still needs a programmer checking its work
โ FREQUENTLY ASKED
Q: Can AI replace a PLC programmer?
A: Not on this evidence. It produced working code from a clear specification, but verifying scan order, fail safe behavior and initialization still took a human.
Q: What was the AI actually asked to do?
A: Write one complete conveyor control program in Structured Text that starts the motor, detects the box with proximity sensors, reverses direction, stops automatically and handles a restart.
Q: Do I need hardware to try this myself?
A: No. The ACC PLC Simulator runs in a browser with a 3D conveyor scene, free, with no install and no licence.
๐ Full step-by-step, code and wiring diagrams: accautomation.ca/can-ai-program-a-plc-i-tested-it-live-in-the-acc-plc-simulator
๐ MORE RESOURCES
โถ Series: accautomation.ca/series
โถ Free PLC Simulator: accautomation.ca/simulator
โถ PLC Beginners Guide: accautomation.ca/programming/plc-beginners-guide
โถ Free eBooks: accautomation.ca (subscribe for download)
๐ RECOMMENDED HARDWARE
โถ Shop: automationdirect.com
โถ Parts Guide: accautomation.ca/purchase-find-parts
๐ฌ Questions? Drop a comment below.
๐ New tutorials every Monday โ Subscribe and hit the bell!
#PLC #StructuredText #IndustrialAutomation #PLCProgramming #ACCAutomation #AI #PLCTutorial #LearnPLC #Shorts
Regards,
Garry
ACC Automation
accautomation.ca










