IT in Manufacturing


Open interface for automatic code generation

April 2014 IT in Manufacturing

The automation interface in TwinCAT 3 automation software enables remote control of the TwinCAT engineering system and automatic generation of programs and configurations. Depending on the degree of automation, manual processing of control projects and the associated errors can be reduced or avoided. The quality of the software engineering is increased, while programming time and costs are reduced by the automation of project generation.

Automation of machines and plants is becoming increasingly complex and time-consuming. The resulting engineering costs are also growing in proportion to the complexity of the project. This is reflected, among other things, by the increased costs for developing a configuration and programming the PLC. These costs can only be reduced if the complete software or parts of it can be automated. Such automated code generation can also contribute towards a reduction of errors in the configuration.

Remote control of the engineering system

This is where the TwinCAT automation interface comes in – it provides the user with a programming interface that can be used for the remote control of the TwinCAT system. This allows almost all offline and online functions to be controlled externally. The error-prone and cost-intensive generation of I/O configurations and programs can be simplified in this way.

The automation interface consists of a large number of programming routines that are available to the user in the form of classes and methods. These enable TwinCAT projects to be generated, changed and saved in a standard and flexible manner – in conjunction with a source code database such as Team Foundation Server, if desired. The resulting application possibilities are extremely varied and can range from a simple application for automating everyday and recurring TwinCAT tasks to complex, user-defined engineering tools that only use the regular TwinCAT development environment in the background.

Automatic generation of programs and configurations

A further situation where the automation interface can provide valuable assistance is in environments where the TwinCAT configurations on a machine must be changed several times a day – for example because a different PLC program must be executed. An application can thus be tailored precisely to the user’s workflow via the automation interface. It also allows machine operators who are not proficient in using TwinCAT to change configurations at the simple push of a button.

The integration of the TwinCAT engineering system into the Visual Studio developer’s environment opens up a multitude of further application possibilities for the automation interface. This is because the openness of Visual Studio and TwinCAT enables customised plug-ins to be written by the programmer in addition to providing direct integration into the development environment and ultimately into the daily work routine.

For more information contact Kenneth McPherson, Beckhoff Automation, +27 (0)11 795 2898, [email protected], www.beckhoff.co.za



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

The DeepSeek effect: navigating AI’s new frontier
IT in Manufacturing
DeepSeek has emerged as a game-changer in artificial intelligence, offering a robust platform redefining how businesses approach AI integration. This change is especially important since it opens up AI to a wider range of organisations, including small and medium-sized enterprises that could have previously been priced out of the market.

Read more...
Automation, is it 2049 already?
Schneider Electric South Africa IT in Manufacturing
It would come as no surprise that AI and ML are at the forefront of the increased efficiency movement, and are vital cogs in this sophisticated automated machine. A development that is extremely exciting, is autonomous systems.

Read more...
Agentic AI: are we building castles on quicksand?
IT in Manufacturing
Artificial Intelligence is in a strange spot. With the explosion of AI tools and applications, we find ourselves teetering between two inseparable yet intertwined paths – the promise of extraordinary capability and the peril of unmitigated risk.

Read more...
Multi-touch panel generation in a smart design
Beckhoff Automation Operator Interfaces, Switches & Relays
Following over 25 years of successful in-house panel production and 12 years of expertise in multi-touch design, Beckhoff is bringing out a new smart panel design, the Next multi-touch panel generation.

Read more...
There’s a reason the A stands for Advanced in APC
Schneider Electric South Africa IT in Manufacturing
Today’s mineral processing companies face almost universal challenges, efficiently managing resources and high energy consumption, environmental compliance, barriers to technological adoption and the perpetual shortage of skilled labour. While there’s no miracle intervention, there are undoubtedly solutions that improve the above, and one is Advanced Process Control.

Read more...
Digital twins in manufacturing
Schneider Electric South Africa IT in Manufacturing
Digital twin technology can help create better products, fast. It can transform the work of product development too.

Read more...
New generative AI-powered maintenance offering
Siemens South Africa IT in Manufacturing
The Siemens Industrial Copilot is revolutionising industry by enabling customers to leverage generative AI across the entire value chain – from design and planning to engineering, operations and services.

Read more...
Building resilience in extreme environments
ACTOM Electrical Machines IT in Manufacturing
Extreme temperatures, corrosive substances and high pressures are just a few of the elements that make up the unforgiving operational environments characteristic of the petrochemical and oil and gas sectors. A proactive and nuanced approach to industrial maintenance is no longer optional for organisations, it is an absolute necessity to avoid disruptions and create the right conditions for success.

Read more...
Next-generation PLC technology with advanced chatbot functionality
Beckhoff Automation IT in Manufacturing
Beckhoff is taking automation technology to the next level with TwinCAT PLC++. Both engineering and runtime are noticeably faster, without compromising on TwinCAT’s signature strengths of seamless integration, compatibility and openness.

Read more...
German Chancellor visits Beckhoff at Hannover Messe
Beckhoff Automation News
As part of the traditional Hannover Messe opening tour, Federal Chancellor of Germany, Olaf Scholz visited German company, Beckhoff Automation. Hans Beckhoff, managing director and owner of Beckhoff Automation, presented his company and its comprehensive expertise in the field of software and AI.

Read more...