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:

Transforming pulp and paper with automation and digitalisation
ABB South Africa IT in Manufacturing
The pulp and paper industry in South Africa is undergoing a significant transformation from traditional manual processes to embracing automation technologies. Automation in pulp and paper mills aims to improve various production stages, from raw material preparation to final product creation.

Read more...
New world of process control: A completely web-based process control system
Siemens South Africa IT in Manufacturing
Control technology is crucial for gaining a competitive edge in the process industry. That’s why there’s SIMATIC PCS neo - the innovative ground-breaking process control system by Siemens.

Read more...
Protecting industrial networks with resilient defence
RJ Connect IT in Manufacturing
Network security is no longer just about preventing hacking or data breaches. For operational technology networks, resilient defence and consistent uptime are crucial. They are the core tenets that underpin Moxa’s guarded uptime and resilient defence (GUARD).

Read more...
PC-based control for a food capsule and pod packaging machine
Beckhoff Automation Editor's Choice
For TME, a machine builder specialising in the packaging of powdered foods, Beckhoff’s PC-based control technology offers unlimited opportunities when it comes to performance and innovative capacity in terms of flexibility, scalability and openness.

Read more...
The metaverse is now: are you ready to reimagine your business?
IT in Manufacturing
The convergence of the digital and physical worlds, driven by spatial computing and the metaverse, is rapidly reshaping business landscapes. This transformation extends beyond the mere novelty of virtual reality headsets and augmented reality filters, signalling a fundamental shift in how organisations operate, collaborate and innovate.

Read more...
AI and cyber security: South Africa’s next battleground
IT in Manufacturing
Artificial intelligence is rapidly becoming a double-edged sword in the world of cybersecurity. In South Africa, where cybercrime is on the rise, AI presents both an opportunity and a threat.Artificial intelligence is rapidly becoming a double-edged sword in the world of cybersecurity. In South Africa, where cybercrime is on the rise, AI presents both an opportunity and a threat.

Read more...
Technology won’t save your business from cyber threats
IT in Manufacturing
Artificial Intelligence is reshaping the landscape of information security, presenting both unprecedented opportunities and significant new threats.

Read more...
Addressing the cooling needs of the modern data centre
Schneider Electric South Africa IT in Manufacturing
The rise in hardware density in data centres is gaining speed and is largely driven by the demands of artificial intelligence and machine learning, requiring more powerful servers and specialised hardware.

Read more...
South Africa’s next cyber security frontier
IT in Manufacturing
AI-powered agents are rapidly transforming how South African businesses operate, from chatbots managing customer inquiries to automated systems processing financial transactions. While these AI-driven assistants increase efficiency and reduce operational costs, they also present a new, and often underestimated, cybersecurity challenge: identity management.

Read more...
Bombardier expands adoption of Siemens Xcelerator for aircraft developmen
Siemens South Africa IT in Manufacturing
Bombardier has expanded its adoption of the Siemens Xcelerator portfolio of industry software for aircraft development.

Read more...