IT in Manufacturing


More efficient engineering with automatically generated dashboard

April 2020 IT in Manufacturing

In their quest for new business models, many machine builders and system integrators have identified data to be essential for their future. Based on the process information generated by machines and systems, they can now implement services in the areas of operational data collection, predictive maintenance, energy monitoring and technical support. Since these services are mostly considered add-on business, it is important to provide them very cost-effectively through simplified engineering. By reducing the up to now highly complex generation of such dashboards to a single click, TwinCAT Analytics makes Engineering 4.0 possible.

The aim of TwinCAT Analytics is the machine-oriented, centralised analysis of data from one or more simultaneously running machines or systems. This is achieved with optimally coordinated and integrated tools that operate in a consistent workflow ranging from the acquisition of data to its communication, analysis and visualisation in an analysis dashboard. The engineering tools involved combine a high degree of flexibility with easy and intuitive operation.

The analytics workflow begins as early as in the engineering process for the machine application. As is customary in TwinCAT engineering, all tools are integrated into Microsoft Visual Studio and since the TwinCAT Analytics Logger is already embedded into each TwinCAT project, no external configuration tool is required. The logger makes it easy to pick data simply by checking the appropriate box in order to transfer it to a message broker via MQTT or store it locally as a file on the control system. No complex programming is needed. Only the logger’s options, such as IP address, data compression and authentication of Transport Layer Security (TLS) must be configured in order to enable communication once a machine project has been activated. In addition to being ideal for high-resolution data, the real-time logger can also be started and stopped with PLC calls via the control program.

Data analytics easily incorporated into IoT concepts

An Internet-of-Things (IoT) infrastructure can be easily implemented with TwinCAT Analytics to ensure that the various applications are decoupled. All MQTT clients need to connect only to the message broker and not to each other and it doesn’t matter whether the message broker is on the local network or, for example, in the cloud. The outbound client-to-broker connections simplify the IT setup.

This is also reflected in the system’s use. For example, a service technician can use the TwinCAT Analytics Service Tool to log onto the message broker and analyse machine data from anywhere as an MQTT client. Users can access live data from the machine as well as historical data supplied by the TwinCAT Analytics Storage Provider. For the analysis itself, TwinCAT Analytics provides many algorithms in the form of modules. These include simple flank counters with and without hysteresis, functions for chronological analysis of machine processes, logical operators, envelope control and productivity diagnostics, as well as a wide variety of classifiers and comparators.

The service technician can then use these algorithms in the TwinCAT Analytics project within Visual Studio without having to leave the familiar TwinCAT environment. Operation is graphical and intuitive. Especially useful is the automatic TwinCAT Scope configuration, which can be generated by clicking a button. While the proven charting tool from the TwinCAT world can be individually supplemented, it already contains all important variables of the configured analysis. With the link thus created, results from the analysis can be dragged and dropped into the TwinCAT Scope View tool to easily visualise them and highlight significant events in the data stream.

Services as a new business model

This is where the engineering process ends for the service technician or the person commissioning the system, who can also access the machine data via the ADS communication protocol, i.e. without using IoT infrastructure. If a machine builder or system integrator wants to offer their customers additional services, the engineering process enters another phase. This approach also offers significant potential for new business models that can be monetised with a one-time payment or a subscription. In return, customers receive a customised visualisation interface, i.e. a dashboard that perfectly meets their specific information needs. In the spirit of Engineering 4.0, it is crucial for this business model that such a dashboard be implemented as easily and cost-effectively as possible.

To maximise the customer benefit, the goal is to deliver a 24/7 application that runs for the entire life cycle of the machine and analyses machine data non-stop. The best conditions for such a permanent application are provided by the PLC, which is designed exactly for scenarios with a focus on continuity and longevity. The only thing that is complex in such a scenario is the programming of mathematical algorithms, which are often easier to realise in script languages or in graphical configurators, albeit with a different focus. Instead of analysing a stream of live data, they often take the easy way out and look at historical data within the engineering process; but since the end customer does not want to and is often not able to work within an engineering tool, the goal is to combine the simplicity of data analysis with the PLC.

Workbench reduces engineering complexity

This combination is delivered by the TwinCAT Analytics Workbench, which supplements the functions of the service tool. Like the service technician, the data analyst – who is often the application engineer – uses the Analytics Configurator in Visual Studio for data analysis, providing the ability to create complex analyses graphically, broken down into various networks that represent machines, machine components and machine tasks. The algorithms can also be combined with each other, which further increases complexity.

The Workbench’s key function in reducing complexity is therefore the complete and automatic conversion of the configuration into readable and executable PLC code with the simple click of a button. This includes connectivity options as well as all network and/or algorithm names. At the same time, a complete HTML-5-based analysis dashboard – the One-Click Dashboard – is generated and loaded into the selected Analytics runtime program. When the code and dashboard generation is completed, users receive the corresponding network address at which they can access the dashboard via a web browser, without having to write a single line of code or design any graphics.

Automatic dashboard generation saves significant time

Simple dashboard generation saves a substantial amount of time within the engineering process. The functionality is based on TwinCAT 3 HMI and for each TwinCAT Analytics algorithm offers a separate HMI control that is based on modern web standards and features a modern tile design. The available controls can be selected within the respective algorithm properties with a corresponding control preview. Combining multiple algorithms in a single control element is also possible.

Automatic dashboard generation can take many individual user requirements into account. You can specify header colours and logos or optionally display a world map on the start page that shows the locations of all machines being analysed. In addition, several languages are available for the controls. The application designer can also select from various layouts and themes. For example, there are layouts with fixed controls that can be fixed left-aligned or right-aligned on each dashboard page. That way, the user – whether the end customer or the machine builder’s service technician – has an overview of the entire machine status at all times. Depending on the surrounding conditions, the user can even switch between light and dark themes. In addition, the reset methods for the algorithms are linked automatically in the dashboard.

Despite its high degree of flexibility, the automatic dashboard generation will not always be able to meet all needs directly, which is why the system integrates as a rule the complete Analytics PLC project and TwinCAT 3 HMI project in Visual Studio. That way, the application engineer can freely modify the generated dashboard in the graphical editor and add standard or custom controls. Even when the dashboard is customised to a great extent subsequently, this approach still saves more than a thousand clicks and thus considerable time and costs compared to the conventional approach. In addition, individually designed HMI controls can be integrated into the Analytics workflow and also into the One-Click Dashboard.

Conclusion

Easy, proven and familiar engineering as well as a complete workflow for the ad-hoc and/or continuous analysis of machine data are the outstanding attributes of TwinCAT Analytics. Many automatic functions make the machine builder’s or system integrator’s work quick and easy while maintaining the openness and flexibility of TwinCAT at all times. Everything from the analysis PLC to the analysis dashboard can be customised as needed. While the end customer is able to enter the new world of the Internet-of-Things and service-based business models, the application designer can operate in the familiar world of TwinCAT Engineering and make use of its many synergies. There is no way to access new business models and machine options that are based on data analytics with greater ease and cost-effectiveness.


Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Five data centre trends to watch in 2025
IT in Manufacturing
Any innovation that comes out in 2025 – whether it’s flying cars, highly advanced AI or a breakthrough medical treatment – will be built on the back of an equally innovative IT foundation driven by data. Data that needs to be stored, managed and made accessible in the data centre, in the cloud or at the edge. Is it too much of a stretch to say the future of humankind is dependent on data storage? We don’t think so.

Read more...
Recovering from a cyberattack
IT in Manufacturing
While many organisations have invested heavily in frontline defence tools to try to keep out bad actors, they have spent far less time and money preparing for what happens when the criminals eventually get in. And they will get in.

Read more...
The value of proactive maintenance management
Schneider Electric South Africa IT in Manufacturing
Maintenance has come a long way from the days when we waited for things to break, and thanks to the ever-increasing capabilities of technology, predictive maintenance has become a viable solution for keeping equipment running smoothly and efficiently around the world.

Read more...
Significant decarbonisation can be achieved in the mining industry
ABB South Africa IT in Manufacturing
ABB has released a global report titled ‘Mining’s Moment’, which highlights the progress being made by the mining industry to make operations more sustainable.

Read more...
Pinpointing pipeline occurrences in seconds, not hours
Schneider Electric South Africa IT in Manufacturing
At any given moment, thousands of kilometres of critical assets flow through pipelines that cross veld, mountainous areas, dense forests, and even busy streets. Surprisingly, many of these pipelines operate either unmonitored or with scant oversight, leading to missed opportunities for operational continuity and efficiency.

Read more...
Next-generation AI-enhanced electronic systems design software
Siemens South Africa IT in Manufacturing
Siemens Digital Industries Software has launched the latest advancement in its electronic systems design portfolio. The next-generation release takes an integrated and multidisciplinary approach, bringing a unified user experience that delivers cloud connectivity and AI capabilities to push the boundaries of innovation in electronic systems design.

Read more...
Spatial computing and AI – where no man has sustainably gone before
Schneider Electric South Africa IT in Manufacturing
Some will argue that we now live in a sci-fi world where we dream of electric sheep, and today’s technology – unlike HAL – can provide us with the answers we seek. To the realist it might seem a bit implausible, but when you start using terms like ‘spatial computing realises sustainable AI’ it doesn’t seem that far-fetched.

Read more...
Safeguarding DCS today and tomorrow
Schneider Electric South Africa IT in Manufacturing
Today’s distributed control systems (DCS) are highly intelligent, converging OT and IT in a centralised manner that allows for simplified management and coordination of operations. It is technology evolution at its finest, but with a caveat, cybersecurity challenges.

Read more...
Quantum computing is not as futuristic as it sounds
IT in Manufacturing
The first quantum computer was created almost three decades ago. While its applications are still unknown to many, this advanced field combines computer science, physics and mathematics to deliver solutions the world has been trying to find for aeons – and those it doesn’t yet know it needs.

Read more...
New addition of motor module to intelligent transport system
Beckhoff Automation Motion Control & Drives
The new XTS EcoLine motor module allows for even more cost-effective use of intelligent product transport systems from Beckhoff.

Read more...