Software, IT, OT & cybersecurity
Fast, efficient engineering with AI
Texte Valérie Couplez | Photos Beckhoff Automation

Even people who lived in seclusion in 2023 had heard of ChatGPT. That shows just how ubiquitous it was. Beckhoff Automation is introducing TwinCAT Chat, which harnesses the power of large language models to help engineers benefit from their potential too. TwinCAT Chat can generate and complete API code quickly and efficiently. It is certainly no magic bullet. An engineer’s expertise remains essential for assessing and validating the results. But it is a tool that can boost productivity, as visitors to the demonstration at Indumation were able to see.
You may even have tried generating code in your web browser using large language models (LLMs). Enter an instruction, description or image showing what your application should be able to do, and the programme code is generated automatically. It is a neat trick, but copying and pasting the result straight into a machine? Perhaps best not.
Kim Robbens, automation specialist at Beckhoff Automation, is nevertheless convinced of the value this can bring: “Automatic code generation can significantly speed up the development process. At the Hannover Messe, Beckhoff had already demonstrated the benefits of direct integration into the TwinCAT XAE development environment. TwinCAT Chat uses tailored instructions: for example, the system knows that code is expected in a TwinCAT context. In addition, with background information from Infosys and potentially other sources, TwinCAT can produce usable results much more quickly and easily.”

Engineers will not be replaced
What about the structural shortage of engineers? Can LLMs solve everything? “Not at all. Expertise is still needed to determine whether the generated output is actually usable, and what steps to take next. Nevertheless, it is certainly a useful tool.” In April, Beckhoff showed that, in addition to generating code, TwinCAT Chat could also be used to optimise code and create documentation. “These are not the most complex tasks, but they are tasks that LLMs already handle very well.” At the latest SPS trade fair in November, it was time to move on to phase two, which is now well under way. “Users can interact with the existing TwinCAT automation interface using natural language. For example, you can describe in natural language what your HMI should look like and have it generated in full, including the appropriate translations. The product development manager was on hand on Thursday to show anyone interested what TwinCAT Chat can do and gather as much relevant feedback as possible.”
Openness above all
As you would expect from Beckhoff, the company has opted for an open programme. “Our chat interface is an open interface to LLMs. But we do not want to tie ourselves to a specific interface such as ChatGPT. We are focusing on commercially available open LLMs. In time, users will also be able to add their own database containing personal data and use it as an additional source of knowledge for the LLM.”
With TwinCAT Chat, engineers have a digital assistant at their disposal. There is no longer any need to write code line by line. The assistant can handle routine tasks that are often tedious and repetitive. This gives engineers more time and resources to focus on their core tasks: designing and developing software. The possibilities are plentiful. Beckhoff has, however, taken the necessary precautions. “TwinCAT Chat will not be officially launched on the market until Europe has finalised its regulatory framework for artificial intelligence and the feature has been tested. But that should not be long now, and we can certainly expect strong interest,” concludes Kim Robbens.
Een zakelijke vraag aan Beckhoff Automation? Get in touch
Companies in this story
Keep following this
Get an email when a new story is published. No account needed.
- ThemeReliable and open industrial networks
- SubjectSoftware, IT, OT & cybersecurity
- CompanyBeckhoff Automation
- CompanyHANNOVER MESSE





















