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:

Bringing brownfield plants back to life
Schneider Electric South Africa IT in Manufacturing
Today’s brownfield plants are typically characterised by outdated equipment and processes, and face challenges ranging from inefficient operations to safety hazards. However, all is not lost, as these plants stand to gain a lot from digitalisation and automation.

Read more...
Generative AI for immersive real-time visualisation
Siemens South Africa IT in Manufacturing
Siemens will deepen its collaboration with NVIDIA to help build the industrial metaverse.

Read more...
Award-winning Gen AI solutions
IT in Manufacturing
Amazon Web Services recently hosted an exclusive event in South Africa on ‘Elevating Possibilities with Partners - a Showcase of GenAI Excellence’. This event brought together ten esteemed partners, including Synthesis Software Technologies, to highlight innovative advancements in the field of Generative AI.

Read more...
AI is driving data centres to the edge
Schneider Electric South Africa IT in Manufacturing
The data centre has become the cornerstone that links our digitally interconnected world. At the same time, the rapid growth and application of AI and machine learning (ML) is shaping the design and operation of data centres.

Read more...
Full-scale central control room simulator
Valmet Automation IT in Manufacturing
Valmet will deliver a full-scale central control room simulator to Nordic Ren-Gas, the leading Nordic green hydrogen and e-methane developer in Finland.

Read more...
Re-imagining business operations with the power of AI
IT in Manufacturing
inq. has introduced a range of artificial intelligence solutions to assist organisations across industry verticals in optimising business operations and improving internal efficiencies.

Read more...
Safe, sustainable cycling helmet technology
Siemens South Africa IT in Manufacturing
Lazer Sport, one of Europe’s leading cycling helmet manufacturers, has adopted the Siemens Xcelerator portfolio of industry software to bring to market KinetiCore, its new proprietary rotational impact protection technology.

Read more...
Flexible EtherCAT communication interface for DALI-2
Beckhoff Automation Fieldbus & Industrial Networking
The EL6821 EtherCAT Terminal from Beckhoff allows up to 64 DALI/DALI-2 slaves and 64 DALI-2 input devices to be connected. The TwinCAT 3 System Manager makes it easy to configure and parameterise DALI devices flexibly.

Read more...
EtherCAT-based control technology for building automation
Beckhoff Automation Fieldbus & Industrial Networking
Modern non-residential buildings place many high demands on building automation. This can be optimally implemented with EtherCAT-based control technology from Beckhoff, which provides an efficient central automation architecture thanks to ultra-fast data communication.

Read more...
Defending against modern-day cyber threats
IT in Manufacturing
The anatomy of cyber threats has changed, meaning that organisations can no longer rely on traditional cybersecurity solutions to protect their perimeter, but should instead rethink their data protection strategy and become proactive in their defence against breaches.

Read more...