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

Food Production: How SEW-EURODRIVE Drives Excellence

Optimize food production with SEW-EURODRIVE’s hygienic, energy-efficient automation and drive solutions for precision, reliability, and sustainability.

Rock Quarry Implements Ignition to Improve Visibility, Safety & Decision-Making

George Reed, with the help of Factory Technologies, was looking to further automate the processes at its quarries and make Ignition an organization-wide standard.

Water Infrastructure Company Replaces Point-To-Point VPN With MQTT

Goodnight Midstream chose Ignition because it could fulfill several requirements: data mining and business intelligence work on the system backend; powerful Linux-based edge deployments...

The Purdue Model And Ignition

In the automation world, the Purdue Model (also known as the Purdue reference model, Purdue network model, ISA 95, or the Automation Pyramid) is a well-known architectural framework...