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

Put the Plant Floor in Your Pocket with Ignition Perspective

Build mobile-responsive HTML applications that run natively on any screen.

Ignition: Industrial-Strength System Security and Stability

Ignition is built on a solid, unified architecture and proven, industrial-grade security technology, which is why industrial organizations all over the world have been trusting...

Iron Foundry Gains Competitive Edge & Increases Efficiency with Innovative Technology

With help from Artek, Ferroloy implemented Ignition to digitally transform their disconnected foundry through efficient data collection and analysis while integrating the new ...

Empowering Data Center Growth: Leveraging Ignition for Scalability and Efficiency

Data center growth has exploded over the past decade. Initially driven by organizations moving their computer assets to the cloud, this trend has only accelerated. With the rise...