User
Write something
Pinned
The Prompt Library is live: 71 prompts for real PLC work
Every prompt from the courses is now in one place, cleaned up so you can use it on your own projects: Prompt Library 11 pages, organised by job: - read and explain code you didn't write - write new logic in LD, FBD, ST and SFC, on any platform - review AI code before you trust it - analog scaling and PID - test plans, forcing and FAT records - troubleshooting and fault finding - HMI screens and alarms - plant data (collectors, databases, dashboards) - drawings, I/O lists and tag tables - commissioning and handover Each prompt tells you what to paste in, gives you the prompt ready to copy, and lists the mistakes AI usually makes on that task so you know what to check. There's a full PDF on the first page if you want it offline. Start with page 1, "How to use this library". The rules there matter more than any single prompt: give the platform and version, paste real exports, ask for tables, and don't let the model guess. The files behind the courses are in Project Files: the demo line program and HMI, the data stack, Excel templates for FAT records, fault logs and I/O lists, and the Siemens reference solutions, compile-checked, ready to port to your platform with the prompts. Both are part of Premium. Question: which prompt would you want added next? Reply with the task you do most and I'll write one for it.
1
0
Pinned
Start Here
Welcome to The Controls Floor. This is a place to learn to use AI with PLC programming on any platform: Siemens, Rockwell, CODESYS and more. PLCs, HMIs and troubleshooting, in simulation, where mistakes cost nothing. HOW THIS WORKS - Every week there is a fault challenge: a simulated line with something broken. Find it, post how you found it. - Build videos show AI writing real PLC code, then testing and breaking it. - The Prompt Library (Premium) has the exact prompts I use, ready to copy. THREE THINGS TO DO TODAY - Introduce yourself in General: your role, your PLC, what you want to learn. - Watch the 5-language build in Builds and Projects. - Try this week's fault challenge.
1
0
Fault Challenge #4: the conveyor won't start. What do you check first?
You get called to a conveyor. Operator hits Start and nothing happens. Motor doesn't run, no alarm on the HMI, and the line behind it is starting to back up. Here are six things you could check. They're in no particular order: 1. Go online with the PLC and find what's keeping the start rung from going true. 2. Check the E-stops and the safety relay. Is one pulled, is the relay reset, are its lights right? 3. Look at the drive or the starter. Fault code on the VFD, overload tripped, ready light on? 4. Check for a loose wire on the Start button. 5. Meter the power. Disconnect, breakers, fuses, 24 volts. 6. Check the HMI. Is it in Auto, anything in the alarm banner or history, is another station holding it? Put them in the order you'd actually do them on the floor, like 3, 6, 1, 2, 5, 4, and tell us why you put your first one first. There's no trick here. Everybody works a little different, and I want to see how you all go at it. I'll post how I'd run it Friday.
Free project you can build: scan a QR code at the machine and the fix comes up
Picture this. A machine goes down, you walk up and scan a QR code on the panel with your phone. The prints, the manual and every past work order for that machine are right there. You ask what the fault means, and it answers from that machine's own documents, not generic internet advice. If the downtime runs long, it writes up the 5 Whys for you. That's what my Industrial Maintenance Intelligence Platform (IMIP) does, and the whole thing is free on GitHub: https://github.com/Markus864/Industrial-Maintenance-Intelligence-Platform What's in it: 1. A phone web app, nothing to install, that opens when you scan the QR code at the machine 2. An AI chatbot that answers with references to that machine's drawings and manuals 3. A PLC poller that reads fault data from Siemens S7 PLCs. It's read only, so it never writes to the machine 4. Automatic 5 Whys root cause write-ups for long downtime 5. A practice PLC project with 2 machines and 8 faults, so you can test it without a real plant You don't have to build the whole thing. Pick one piece and make it your own: - Just the QR code to documents part, for one machine at your plant or school lab - Point the chatbot at one manual and see how well it answers - Swap the Siemens poller for whatever platform you run (Allen-Bradley, CODESYS, anything) The app and your plant data run on your own server. The AI answers come from Google's Gemini API, so questions and the document bits it quotes go to the cloud. All the AI calls go through one file, so swapping in a local model is a solid project if your plant wants everything on-site. It's a solid project to show off, too. Saying "I built something that cuts troubleshooting time" stands out more than another certificate. Which piece would you build first? Tell me in the comments and I'll help you get started.
0
0
Fault challenge answer: no alarm, line still down (CODESYS)
THE CAUSE The infeed inhibit is wired to the wrong bit. In PRG_Conveyors, fbInfeed.xInhibit reads fbAlarmMgr.xInfeedPreWarnMem. That's the pre-warning memory, not the jam alarm. Here's what happens on START: 1. M1 starts with no part at B1 yet, so the infeed watchdog timer starts. 2. tInfeedPreWarn is T#1S. After 1 second, xInfeedPreWarn goes TRUE and latches xInfeedPreWarnMem. 3. That latch is the inhibit, so fbInfeed loses its enable and M1 drops out. Why there's no alarm: xInfeedPreWarnMem is a diagnostic memory, a maintenance log bit. It never goes through the alarm trigger, so it never shows in wAlarmWord and the reset light stays off. The live pre-warning bit only blinks for a moment. Once M1 stops, xInfeedRunning goes FALSE, the watchdog resets and the warning clears. Why reset and stop/start do nothing: the only thing that clears the latch is xMaintClear. PRG_Main never wires that input when it calls fbAlarmMgr, so it sits FALSE forever. RESET only clears the latched alarms and the first-out. Stop/start only resets the SFC and purges the tracker. The latch isn't RETAIN, so a fresh download clears it, and that's why a new download gets you exactly one more second. HOW TO PROVE IT 1. Put fbInfeed.xInhibit, fbAlarmMgr.xInfeedPreWarn, fbAlarmMgr.xInfeedPreWarnMem, xInfeedRunning and wAlarmWord in a watch list. 2. Start the line with no part on the infeed. 3. Watch xInfeedPreWarnMem go TRUE at 1 second. xInhibit goes TRUE with it and M1 drops out. wAlarmWord stays 0. 4. Press RESET. The memory bit doesn't move. 5. Put a part at B1 before the second is up and the line keeps running. That points at the watchdog latch, not the motor, the sensor or the SFC. THE FIX One wire. In PRG_Conveyors, point the inhibit at the real jam alarm: fbInfeed.xInhibit := GVL_Alarms.fbAlarmMgr.xInfeedJamAlarm; Now M1 only stops on a real INFEED_JAM after tInfeedJam (20 s). That alarm shows on the HMI and clears with RESET. While you're in there, wire xMaintClear to something, like an HMI maintenance button. Otherwise the pre-warning memory can never be cleared.
2
0
1-17 of 17
The Controls Floor
skool.com/the-controls-floor-6266
The line's back up and you found the fault. Use AI to troubleshoot and program PLCs on any platform. For techs and students.
Leaderboard (30-day)
Powered by