PMMI ProSource – Start Your Search
Check out our packaging and processing solutions finder, PMMI ProSource.

AI Co-Pilot Added to Schneider Electric's and Siemens's PLC Programming Suites

At PACK EXPO Intl. 2024 in Chicago, two automation suppliers opened up about how they are incorporating generative AI into their industrial automation platforms. Speeding up PLC programming is just the start.

Schneider Electric bakes generative AI into its programming suite. Programmers interact with the AI chatbot in the right rail; code snippets are suggested in the center screen, and can be added to the code tree in the left rail.
Schneider Electric bakes generative AI into its programming suite. Programmers interact with the AI chatbot in the right rail; code snippets are suggested in the center screen, and can be added to the code tree in the left rail.

Today anyone can go to ChatGPT, Google’s Gemini, or any other AI chatbot and ask it to write PLC ladder logic. But at PACK EXPO Intl. in Chicago in November 2024, as well as at the PMMI annual meeting in late September in Hershey, PA, Schneider Electric and Siemens demonstrated generative AI capability built directly into their software suite for programming those vendors’ PLCs.

At the PMMI Annual Meeting, Schneider Electric’s John Partin demonstrated how one might go about interacting with the tool to write code for a liquid filling application for olive oil to prevent sloshing during the fill. The programmer can type into a chat box in plain language about encountering sloshing during the fill at a certain speed, and ask it to suggest code that would prevent the undesired behavior. The AI chatbot first asked clarifying questions about the application. After some simple back-and-forth, the AI generated structured text in a pasteboard area on the screen. (It also automatically comments the code for easier understanding.) From that staging area, one can simply copy and paste into the actual code tree on the same screen.

While Partin said that the AI tool is specifically trained on Schneider Electric’s entire library of code, he admitted that right now the tool is limited to the more basic machine handling and isn’t yet ready for advance control functions such as servo motion control or robotic control. But still, it has the potential to save hours of valuable electrical engineering time.

To take advantage of generative AI, Schneider Electric set up an AI team last year, and the company’s VP of AI strategy, Juergen Weichenberger, gave a demonstration of this functionality at PACK EXPO to a capacity crowd. Weichenberger said that they engineered the system so that the same code results from different prompts, eliminating variability, important for maintainability. Weichenberger did show a robotics example for a pharmaceutical application, but it was unclear whether that represented a new development vs. what Partin stated in September.

Weichenberger took questions, one of which was about whether the system mitigates the propagation of bad code. He explained that all code goes into a simulator first to flush out any unintended consequences. He also alluded to something called the Intent Engine, which checks the intent of the code that is generated by the system.

Currently Schneider Electric is utilizing Open AI for its underlying model, but Weichenberger admitted that it was costly and that the company was investigating other models, including small language models which are designed to run locally, bypassing the need to pay for cloud-based compute time. "It needs to run on the controller" said Weichenberger. "It can't run in a data center somewhere."

Connected Workforce Report
Discover how connected workforce technologies and automation can bridge the skills gap in our latest report. Explore actionable insights and innovative solutions.
Read More
Connected Workforce Report
New e-book on Flexible Packaging
In this e-book, you’ll learn key considerations for vertical and horizontal f/f/s and how to choose between premade bags and an f/f/s system. Plus, discover the pitfalls to avoid on bagging machinery projects.
download
New e-book on Flexible Packaging