LosmakenBevestigenSluiten

TwinCAT 3 Analytics

New interfaces and visualization options

TwinCAT 3 Analytics: New features increase interoperability and ergonomics

The already available TwinCAT 3 Analytics functions have been extended further. New interfaces increase interoperability in terms of data communication and data management. In addition, optimized visualization options create added ergonomic value for end users.

Thanks to its redesign, the Analytics Storage Provider is not only multi-source and multi-store-capable, but can also map out a complete storage strategy.
Thanks to its redesign, the Analytics Storage Provider is not only multi-source and multi-store-capable, but can also map out a complete storage strategy.

Simple data storage with TwinCAT 3 Analytics Storage Provider

Most users who deal with the evaluation of machine data inevitably have to consider data storage first. The information content varies from high-resolution raw data to pre-processed data that is written at longer intervals, from seconds to hours. The tooling required for this should be simple and easy to configure. At the same time, the data should not only be proprietary, but also be accessible to third-party software.

The TwinCAT 3 Analytics Storage Provider implements these requirements optimally. With the current redesign, it is not only multi-source and multi-store capable, but can also map a complete storage strategy. As a configuration solution, it can write data to a small binary ring buffer, for example, where the data remains for a few days at full resolution for support and service purposes. They can then move the data to a second store, which provides e.g. data for the next three months on an edge device. The data is no longer stored in full resolution, but is sampled down and averaged in order to achieve data reduction. In the long term (over several years), the analytics storage provider can calculate certain key values from the data of the second store and store them in plain text, for example in a Microsoft SQL® on a central server.

In addition to Microsoft SQL®, InfluxDB2 is also offered for data storage in plain text. The math can be applied to the data in the stream. The individual storage strategies are created graphically in an editor. This means that even hierarchically nested storage structures can be mapped very easily. The usual programming work required to move data from store A to store B is no longer necessary.

Included in:

Product status
Product announcement | Estimated market release second quarter of 2024

With the new interactive chart function in the Analytics dashboard, the user can add new charts to the dashboard as required.
With the new interactive chart function in the Analytics dashboard, the user can add new charts to the dashboard as required.

TwinCAT Analytics One-Click Dashboard with interactive chart

With the TwinCAT 3 Analytics Workbench, PLC code and HMI dashboards can be automatically generated from configured evaluations of process and image data. This process is very simple. A specific or self-created TwinCAT HMI control can be selected for each evaluation. Once the colors, logos, and background images have been selected, they are generated and downloaded to a target system. The dashboard is based on the evaluations made in the generated PLC code.

As end users may prefer a very specific type of display, the interactive dashboard function allows them to display and arrange the generated controls individually for each user. The user does not have to go back to Engineering. The user can set up the parameters right in the web browser.

The interactive chart function is a new feature. This allows a user to add new charts to the dashboard as required – even without Engineering. Chart type, variables, and time intervals can be selected in the web browser. This makes it very easy to carry out data comparisons, for example. Current production data can be compared with the data from previous days, or the energy consumption data for the current month can be contrasted with the data from the same period in the previous year.

The new functions are perfect for those leading production, for energy management system operators, and basically anywhere that runtime data needs to be displayed in a highly customized way.

Included in:

Product status
Product announcement | Estimated market release second quarter of 2024

The new TwinCAT Analytics interface to Python opens up a wider range of algorithms for data analysis, among other elements.
The new TwinCAT Analytics interface to Python opens up a wider range of algorithms for data analysis, among other elements.

Python API for TwinCAT Analytics

TwinCAT Analytics is the byword for top performance in data analysis. Data is provided in high resolution in binary files or as binary MQTT streams. With the new TwinCAT Analytics Python API, the files and streams can be used directly in Python. The data is thus fed into an even broader spectrum of algorithms. Alternatively, the paid-for API can also serve as a data source by writing analytics files or generating MQTT streams. The evaluation then takes place in reverse in the TwinCAT Analytics engineering and runtime tools.

The same concept is also available to .NET code developers. This makes it very easy to write small applications for data conversion in one direction or the other.

Included in:

Product status
regular delivery

Products

TwinCAT Analytics

TwinCAT Analytics

The TwinCAT Analytics product family offers a complete workflow for data acquisition, storage, analysis and visualization in dashboards.

TF3500 | TwinCAT 3 Analytics Logger

TF3500 | TwinCAT 3 Analytics Logger

The TwinCAT 3 Analytics Logger ensures the cycle-synchronous acquisition of process and application data from the machine controller. The logger is characterized by high performance because it works directly in the real-time context of the TwinCAT controller. The data acquired is optionally transmitted to a message broker via the IoT communication protocol MQTT or stored locally in a file on the hard drive of the machine control and recorded with ring buffer functionality. The configuration necessary for this is done in Microsoft Visual Studio® within the TwinCAT project. All variables of the process image and the PLC application can easily be added to the configuration via checkbox without any programming effort.

TF3520 | TwinCAT 3 Analytics Storage Provider

TF3520 | TwinCAT 3 Analytics Storage Provider

The TwinCAT 3 Analytics Storage Provider is an IoT client and forms the interface for raw and analysis data from various sources to one or more storages or to one or more databases. The data are deposited in the storage as a binary blob. A Microsoft SQL database and the TwinCAT Analytics binary file are supported for on-premises solutions. Both are usable in cloud applications; an Azure Blob Storage can also be used natively in the cloud. The data selection for the read and write direction takes place centrally via the TwinCAT Target Browser in the TwinCAT Engineering environment. The user selects the data via the self-defined variable name in the machine application and the corresponding time period; complex SQL commands are not necessary. The sources for the historical data can be the TF3500 TwinCAT 3 Analytics Logger, the TF6720 TwinCAT 3 IoT Data Agent and the EK9160 IoT Bus Coupler. In addition to the engineering tools TE3500 TwinCAT 3 Analytics Workbench and TE3520 TwinCAT 3 Analytics Service Tool, the recipients of the data are the two runtime products TF3550 TwinCAT 3 Analytics Runtime and TF3551 TwinCAT 3 Analytics Runtime Base.

TF3550 | TwinCAT 3 Analytics Runtime

TF3550 | TwinCAT 3 Analytics Runtime

The TwinCAT 3 Analytics Runtime is the runtime “container” for the Analytics application, which was configured and developed in the TE3500 TwinCAT 3 Analytics Workbench. The runtime can be installed locally, on remote hardware or in a virtual machine. It also contains the TF2000 TwinCAT 3 HMI Server, which hosts the analytics dashboard. In summary, the TwinCAT 3 Analytics Runtime represents a bundle of different licenses. It contains a PLC runtime, the Analytics PLC library, the IoT connection with MQTT and HTTPS/Rest, the Storage Provider connection, the TwinCAT 3 HMI Server and a corresponding client package, so that several users can view the designed Analytics Dashboard simultaneously.

TF3551 | TwinCAT 3 Analytics Runtime Base

TF3551 | TwinCAT 3 Analytics Runtime Base

The TwinCAT 3 Analytics Runtime Base is the container in which the analytics application runs that was configured and developed in the TE3500 TwinCAT 3 Analytics Workbench. The runtime can be installed locally, on remote hardware or in a virtual machine. It is the ideal product if an analysis is to be operated “headless” or if a visualization of your own is already available.