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.
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."
The new functionality was expected to launch after PACK EXPO but a detailed timeframe wasn't released.
Siemens developed its own AI assistant called Industrial Co-Pilot that similarly allows the generation of code, either in the format of function blocks or structured text. At PMMI's Annual Meeting, Siemens’s Dominic Trinko gave a demonstration, where he indicated that the tool is also capable of generating HMI screens. Trinko explained how there is a way to test the code, including the ability to test the code’s performance on a digital twin of the machine.
Trinko also explained how Siemens Industrial Co-pilot can act as an internal knowledge expert for the service department. OEMs can load all of their machine manuals, documentation related to all of the components and subsystems into the system which incorporates a large language model . Then when a question is received from a customer about, say, a particular fault code on a particular machine, a service tech can type in the question using natural language, and the system will return an answer, sparing the tech of combing through those manuals and documents.
Finally, Trinko touched on the ability to automatically and seamlessly roll out code updates, bug fixes, even new HMI screens, to customers.
At PACK EXPO Intl. in Chicago in November, Siemens's Bernd Raithel, Director of Factory Automation presented more details on Co-Pilot and on the company's AI strategy. Most of the presentation focused on Co-Pilot for engineering, where the user asks for functionality in plain language and the system outputs code for the PLC, as described in this article. Raithel said that PLC code can be created by copying process steps out of a static PDF process description document. PLC programmers still need to fill in the gaps, he said, but it's faster than starting from scratch and allows engineering departments to react more quickly to new requirements. Co-Pilot also works for programming and creating HMI screens.
Because the system is integrated into the company's platform, it allows users to interact with and ask questions of the company's documentation using chat, allowing users to get at the right answer more quickly.
Siemens Industrial Co-Pilot for Engineering is available for download now through the Siemens Marketplace. There is an extra cost associated with the functionality.
Raithel announced a broader vision for Co-Pilot functionality beyond engineering. One example he cited was for optimization of machine parts and components. Another was what he called Industial Co-Pilot for Operations, which can collect data from machine operation, and combine it with information drawn from manuals from the machine as well as major machine components. This paves the way for predictive maintenance capability, as well as root cause analysis. This can be especially useful for newer operators or technicians. (For example, an operator can ask why the machine might be slowing down.) The data collection component is designed to sit on top of an existing system. Though there is a separate charge for Co-Pilot for Operations, the company is integrating generative AI into its Senseye application for predictive maintenance at no additional charge, according to Raithel.
Raithel said that generative AI functionality was also coming to its digital twin product, and to its product line more generally across the industrial engineering and operations value chain.
Editor's Note: Rockwell Automation also presented on its AI strategy both at PACK EXPO and at its Automation Fair in Boston at the end of November 2024. Packaging World's Matt Reynolds covered that here.)
Discover how connected workforce technologies and automation can bridge the skills gap in our latest report. Explore actionable insights and innovative solutions.
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.