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:

Optimising the product design process
Siemens South Africa IT in Manufacturing
OPmobility is partnering with Siemens to adopt its Teamcenter X Product Lifecycle Management software. OPmobility’s increasingly complex products now include electronics and software, to create energy storage systems, which include battery and hydrogen electrification solutions and fuel tanks.

Read more...
Smart milling for resilient, sustainable food production
IT in Manufacturing
As the global demand for food continues to rise due to increasing urbanisation, the milling industry faces the challenge of balancing efficiency with sustainability. Bühler is committed to making milling more energy-efficient while maintaining high operational performance. Its solutions allow mills to reduce energy costs and ensure long-term sustainability.

Read more...
The evolving landscape of data centres in the age of AI
Schneider Electric South Africa IT in Manufacturing
The data centre industry is undergoing a period of rapid transformation, driven primarily by the explosive growth of AI. It’s clear that the demands of AI are reshaping the very foundations of data infrastructure. This isn’t merely about incremental upgrades; it’s a fundamental shift in how we design, power and operate these critical facilities.

Read more...
SA Food Review
IT in Manufacturing
Food Review is a monthly trade journal for South Africa’s food and beverage manufacturing industry, for industry professionals seeking detailed information on trends, technologies, best practices and innovations.

Read more...
PC-based automated production system for photo calendars
Beckhoff Automation Fieldbus & Industrial Networking
Producing up to 1800 photo calendars per hour using more than 90 servo axes, Durrer Spezialmaschinen develops a wide variety of special-purpose machines from the design phase to commissioning. A new production system for photo calendars proves the importance of comprehensive motion control expertise, with AM8000 servomotors and AX5000 servo drives from Beckhoff used for over 90 dynamically controlled axes.

Read more...
Keeping an eye on oil consumption with moneo
ifm - South Africa IT in Manufacturing
Manufacturing companies in the metal industry need oils and other fluids that are consumed by their machines. To make this consumption transparent and to establish a link to the ERP system, Arnold Umformtechnik relies on the IIoT platform, moneo, in combination with the SAP-based software solution Shop Floor Integration (SFI) – both from ifm.

Read more...
AI accelerates energy transformation
RJ Connect IT in Manufacturing
With the rapid expansion of generative AI applications, data centre power demand is reaching unprecedented levels.

Read more...
Beckhoff’s TwinCAT Vision functionality extended
Beckhoff Automation Fieldbus & Industrial Networking
The Beckhoff TwinCAT 3 Vision software portfolio offers additional image processing functions and extra options for camera integration.

Read more...
Get started with machine vision right away
Beckhoff Automation Fieldbus & Industrial Networking
The VUI2000 series from Beckhoff is being joined by four new vision units.

Read more...
Revolutionising mining operations with MineOptimize
IT in Manufacturing
Now more than ever, mining and mineral processing companies need to boost productivity, ensure safety, and protect the environment. ABB’s comprehensive electrification, automation and digital solutions portfolio is ideally positioned to meet these challenges across all mining processes, from mine to port, transforming performance in a digital world.

Read more...