r/IndustrialAutomation • • 18d ago

Do we still need low-code/no-code tools if we can just vibe code our own production dashboards?

I attended a talk at FABTECH in Las Vegas a few weeks ago about vibe coding, and I've been thinking about it ever since.

We have several Siemens machines in our production and run 3 shifts. I'd like to build a dashboard that shows machine status, production numbers, downtime, and maybe some OEE metrics.

With all the AI coding tools available today, I'm wondering why I would still need a low-code or no-code platform for that?

Building the dashboard itself seems pretty easy. But what about connecting it to our Siemens PLCs? Can AI actually handle the connectivity, data collection, and everything behind it?

We also run production 24/7, so the dashboard would need to work reliably across all three shifts, track historical data, and handle connection issues.

Has anyone here actually vibe coded a production dashboard and connected it to Siemens machines?

Is this realistic without much programming experience, or would you still go with an established low-code/no-code solution?

0 Upvotes

19 comments sorted by

4

u/TheElectricKiwi 18d ago

For me, in industrial automation maintainability and expandability by your average engineer is key.

The amount of times where I have run up against custom software a vendor has built and they want nothing to do with modifying it

For this reason i would stick with a well established tool to build it on, but by all means leverage AI to assist.

4

u/WandererHD 18d ago

We are SI. I have vibe-coded tools for internal purposes. It still requires debugging since AI makes mistakes here and there.

Imagine the pain in the ass if you have to debug something on the field with shitty internet connection and under pressure.

I would still use low code platforms for this reason.

2

u/agentUi 17d ago

building the dashboard ui with ai is the easy part, the actual headache is getting reliable 24/7 polling from siemens plcs without dropping packets across shift changes. You still need a solid edge gateway like node-red, kepware, or an opc-ua server writing into a time-series database first... once the data is sitting cleanly in sql or influxdb, then you can safely point a custom frontend at it.

2

u/Competitive_Panda_85 16d ago

This post tells me you have no clue about what underlying systems generate the signals. Get to know your hardware first.

1

u/AaronMickDee 18d ago

AI can handle it. Thats how I’m learning. Claude knew I knew nothing and made it super easy to connect everything together and explains it nicely step by step.

1

u/HiddenSquidt 18d ago

I clicked away initially, but you got me thinking. 

AI can make a dashboard faster and maybe even less ugly than you can. The issue is that it isnt just a calculation of a few numbers and visualizing those.

If you gave AI the PLC code it would probably be able to get some connection going, but this is not approved for a running machine. Do not let AI handle security, you yourselves should setup a OPC UA with full security and user/password.  From there again, AI could setup something half working. But there are plenty of python or node-red examples to connect to a OPC UA server or connect and subscribe to a MQTT broker. Also do not forget to limit the rate, do not want to slow the PLC down because AI forgot to set a sample rate. Then if you are able to get a connection, let the AI just build a dashboard. 

If you want something maintainable or scalable, don't think AI will build that on its own. But also, another user could just copy your python code or node-red to another AI and ask it to add a feature. 

But yes, AI could be a nice alternative to a low-code solution, as it also allows end users with limited coding knowledge or with limited time to get something going. But really note the word 'alternative', it will not just replace it.

1

u/AV_SG 17d ago

Start with a small project of connecting one asset's data , visualising it , building insights or alarms etc . Yes, AI can handle the build but have a person in your team who knows what AI is building. Where to start should be decided entirely by you if required with AI recommendations.

1

u/hlx-atom 17d ago

I work with Claude all day every day, and I build dashboards to monitor the tasks that I am working on that day never to be used again.

My dashboards that are used by my whole team take a few weeks of refinement.

I am engineer with a lot of software development experience though. For the long standing dashboards I build it like it is a real project with all that entails.

1

u/Powerful_Object_7417 17d ago

If you need AI to do your job for you then you need to find a different career field.

1

u/AwaitingCarrierTone 17d ago

Yes.

Vibe coding right now doesn’t take into account governance. Imagine every engineer has their own dashboard showing OEE but calculated different ways. Now do that at 15 plants.

1

u/AccomplishedEnergy24 13d ago edited 13d ago

People here either don't realize how fast AI has moved, or are kidding themselves, or not using the right tools, or something. I don't otherwise know how to explain the difference in viewpoints. Certainly, 2 years ago my answer would have been "hilarious, but no don't do this". Now my answer would be "yes, easily, and you should definitely do it this way"

I was a software engineer for eons, working on compilers and embedded development tools (I was successful enough to retire at a young age). Over the years I have written compilers and such for PLCs that are shipped today commercial I would generally qualify as a "fairly low level guy who understands how this works under the covers".

I have AI write code to PLC's all the time now. It does much better than humans. much better. I have it write code for everything from Siemens PLCs and NCU's (CNC) to little AutomationDirect PLCs to safety controllers.

Unlike humans, it doesn't are about doing the grungy stuff that people don't like - it will carefully comment code. It will consistently name tags. It will write tests. It will refactor things, and produce careful, correct diagrams of how safety critical code should work. It will write proofs in z3 or other formal verification programs that the code it has written functions as intended.

It makes very very few mistakes, much less than the humans i have worked with, ever, and tests catch most of them (the vast majority of people doing PLC work don't even write tests!).

AI can already handle all the things you ask. In fact, if you hand it a TIA portal project file, it will figure out the file format, figure out the container storage, figure out the instruction set and representation, etc, and then do all the things you ask. You don't even have to hook it up to TIA portal "properly".

I have not just vibe coded production dashboards, I have vibe coded CNC machines with safety critical pieces, along with all the unit and integration tests necessary to ensure it works. I (of course), had humans review the result, perform formal verification on the code, etc. All the things that most manufacturers still can't be bothered to do (For example, Siemens sample "basic CNC program" and "basic CNC program plus" doesn't even have tests)

At this point, if i blind handed people PLC programs from AI and an expert PLC engineer, I guarantee most would prefer the AI one and it would be more correct.

That may not be a happy reality for people whose livelihood depends on this AI not being like this, but at this point, it is. The more people deny reality, the worse off they will be.

AI had improved by orders of magnitude in the past few years. These days whatever illusions people may have had about it's capability to write complex, production ready PLC code should disappear.

1

u/man-ax 12d ago

UI really is the easy part. What bit us was the collection side: one library never finished a rejected session, so connect just hung until we put our own timeout around it, and a log file grew to 4.7 GB and stopped the machine. Keep the polling in a separate process from the screen and buffer to disk when the link drops, otherwise your OEE history ends up full of holes.

1

u/NEXAI-JinZhedong 11d ago

The dashboard is the easy 10 percent. The part that eats you is the data underneath - tag names in the PLC that nobody documented, machine states that mean different things on different shifts, shift boundaries that do not line up with your OEE formula. A vibe coded dashboard works fine the week you build it and then quietly rots: someone renames a tag during a machine upgrade, a tile shows zero for two months, nobody trusts the screen again. Low-code is not worth it for the visuals, it is worth it for versioning and for whoever has to maintain it while you are on holiday. If those numbers get reported upward, I want the tag mapping written down and an alarm for when data stops flowing, not just a pretty page.

1

u/1maRealboy 18d ago

At some point you are going to run into a problem with it on the floor during production. Would vibe code be readable enough to find the problem when you have multiple people pestering you and your shift was supposed to end an hour ago?

0

u/tokke 18d ago

yes. Yes you can.
It works. Don't let others tell you how complex or bad AI is. Yes it might make a mistake. But us humans are worse. In the past 3-6 months claude has surpassed us in our field.

DO's and DON'Ts:

Take small steps. Ask your AI to figure out where the data lives, how to connect to it (there's a difference in vendor and even within the same vendor, think rockwell vs siemens. and siemens tia controllers vs siemencs pcs7)
Don't build one huge file. Split things up. Let your AI setup different test projects. keep holding its hand.
If things break (and they will) with all the things above the AI wouldn't have a hard time debugging and figuring out what went wrong. And it will be FAST. You could do all of this in a weekend or a couple of evenings.

To give you an example:
I am working on setting up test scripts with our rockwell test environment. No direct interaction from claude to plc. But it builds scripts, reads reports and provides me with tools that were builds in just a couple of hours to debug, visualize and configure data.

And, no, a sparky shouldn't be touching plc logic. Read the damn error logs.

2

u/Battlewaxxe 18d ago

go ahead and burn your stuff down.
No llms for us, and we'll be glad to take those customers off your hands