Beckhoff Previews LLM AI Integration in TwinCAT

June 7, 2023
An early preview of Beckhoff’s forthcoming TwinCAT Chat Client, which leverages the power of LLMs like ChatGPT, shows how the artificial intelligence technology can be used to simplify and accelerate the programming of automated systems.

Less than a year since large language models (LLMs) like ChatGPT were released for wide public use, a lot of experimentation has taken place to learn how the technology can be used in industrial manufacturing environments. Though most of this experimentation has been done to enhance interactions with existing software applications, we’re beginning to see new products introduced that feature LLM capabilities.

At Automate 2023, Beckhoff gave a preview of its forthcoming TwinCAT Chat Client, which is designed to automate tasks such as the creation or addition of function block code. It can also be used for code optimization, documentation and restructuring.

This client, which will be implemented in TwinCAT XAE (extended automation engineering), works by connecting to the host cloud of the LLM. For example, if you’re using Microsoft Azure, it will connect to OpenAI’s ChatGPT. Beckhoff’s TwinCAT Chat Client provides a user interface for communication to the PLC development environment via a corresponding chat window in Visual Studio. According to Beckhoff, the LLM functionality has been optimized with TwinCAT-specific content.

In a demonstration at Automate, Daymon Thompson, director of product management at Beckhoff, showed how to use the technology to deliver step-by-step instructions on how to program a conveyor system. He explained how the software walks the user through each of the required variable inputs needed for an LLM to develop code. With those variables entered, selecting “autocomplete” in the client will send the variables’ data to the ChatGPT engine and return the completed code, typically within a few seconds.

As precise as the LLMs can be when developing code, Thompson stressed the need for users to thoroughly review the code before implementation. “If you're happy with what ChatGPT came back with, you can grab the program icon and drag and drop it into your TwinCAT program to create an entire program for running the conveyor,” he said.

The TwinCAT Chat Client makes it “a lot faster and more efficient to program code,” said Thompson, adding that Beckhoff is “excited to see where this is going to take us in the future as we build this out into our engineering environment even further.”

The video below captures Daymon Thompson's preview of the forthcoming TwinCAT Chat Client from Beckhoff.

About the Author

David Greenfield, editor in chief | Editor in Chief

David Greenfield joined Automation World in June 2011. Bringing a wealth of industry knowledge and media experience to his position, David’s contributions can be found in AW’s print and online editions and custom projects. Earlier in his career, David was Editorial Director of Design News at UBM Electronics, and prior to joining UBM, he was Editorial Director of Control Engineering at Reed Business Information, where he also worked on Manufacturing Business Technology as Publisher. 

Companies in this Article

Sponsored Recommendations

Why Go Beyond Traditional HMI/SCADA

Traditional HMI/SCADAs are being reinvented with today's growing dependence on mobile technology. Discover how AVEVA is implementing this software into your everyday devices to...

4 Reasons to move to a subscription model for your HMI/SCADA

Software-as-a-service (SaaS) gives you the technical and financial ability to respond to the changing market and provides efficient control across your entire enterprise—not just...

Is your HMI stuck in the stone age?

What happens when you adopt modern HMI solutions? Learn more about the future of operations control with these six modern HMI must-haves to help you turbocharge operator efficiency...

AVEVA™ System Platform: Smarter, Faster Operations for Enhanced Industrial Performance

AVEVA System Platform (formerly Wonderware) delivers a responsive, modern operations visualization framework designed to enhance performance across all devices with context-aware...