SbloccaBloccaChiudi

Sede centrale Svizzera
Beckhoff Automation AG

Rheinweg 7
8200 Schaffhausen, Svizzera

+41 52 633 40 40
info@beckhoff.ch
www.beckhoff.com/it-ch/

Supporto tecnico Schaffhausen (German)

+41 52 633 40 40
support@beckhoff.ch
Modulo di contatto

Supporto tecnico Arbon (German)

+41 71 447 10 80
support@beckhoff.ch

Supporto tecnico Lyssach (German)

+41 34 447 44 88
support@beckhoff.ch

Supporto tecnico Yverdon-les-Bains (French)

+41 24 447 27 00
support@beckhoff.ch

Supporto tecnico Losone (Italian)

+41 91 792 24 40
support@beckhoff.ch

Edge device with Beckhoff

Fast and optimized data processing

Edge device applications with industry-proven hardware and software

With its open system, Beckhoff makes it possible to meet specific requirements using toolboxes and functions from the TwinCAT modular system. This also applies to existing system infrastructures that are not based on Beckhoff products. This means that existing customer programs, for example, can be operated in parallel on the host system or simply integrated into TwinCAT. The same concept is found in edge computing – supported by Beckhoff’s long-established and industry-proven industrial PCs, customers are able to configure an overall system that meets their specific requirements.

The following section explains everything you need to know about edge computing and describes the possible Beckhoff solutions for your edge computing project.

In contrast to cloud computing, data processing in edge computing is decentralized – in other words, at the “edge” of the network. The data is processed on edge devices close to the data’s point of origin, e.g., directly on the machine. Edge devices – also referred to as edge computers – are always designed as PC-based devices which are able to provide data immediately and minimize transmission and response times. Accordingly, the goal of edge computing is to enable industrial analytics and condition monitoring processes with rapid data processing.

Depending on the PC’s performance, the volume of data is already evaluated and channeled on site; only the necessary data is transferred to the cloud. For example, machine learning models can already be run on the edge device to reduce data flows to the cloud.

At the same time, edge devices also offer extended connectivity in OT (fieldbuses, Modbus, OPC UA) – an advantage that is usually more well-known from IT (cloud integration in AWS, Azure, MQTT, interfaces such as WLAN, Bluetooth®, or GSM). In this way, the edge device ensures that locally generated information is made available globally via the cloud. As a result, the worlds of IT and OT are increasingly merging, making the “from sensor to cloud” vision a reality.

The core tasks of edge devices are often the same: to effectively pre-process sensor – i.e., production – data on the device, to interpret this data, and to forward or channel it to the cloud or other higher-level databases and systems. In addition, customers often wish and require edge devices to interoperate with various legacy or third-party products with the aim of achieving further functions and connectivity.

Beckhoff’s standard products are already more than capable of handling tasks such as processing and forwarding data and offering interoperability with third-party systems. What’s more, Beckhoff offers various software supplements which support the TwinCAT automation software in meeting these requirements: TwinCAT Measurement provides measurement technology functions, TwinCAT Analytics facilitates analysis functions directly on the machine, while TwinCAT Connectivity enables integration into other systems or the cloud. At the same time, on the hardware side, Beckhoff Bus Couplers enable a physical connection to third-party buses.

Beckhoff does not offer a dedicated edge device or edge computer because, in principle, every Beckhoff Industrial PC is capable of executing edge functions. As a result, industrial PCs do not need to be selected according to whether they support edge functions, but instead based on the requirements the application needs to meet. Depending on the system performance, the aforementioned TwinCAT functions make it easy to filter, evaluate, and then visualize data either on the device itself or in the cloud.

If the customer’s software or software containers (such as Docker®, OCI, LXC) are already designed for Linux®, or cannot rely on a Windows-based operating system for other reasons, Beckhoff has a solution for this as well. Featuring the TwinCAT/BSD Hypervisor, its TwinCAT/BSD operating system is perfect for interacting with real-time applications and for hosting VMs. It is also capable of running a Linux® distribution or other operating systems which are detached or encapsulated from the real-time operating system, thereby eliminating any limits to container applications.

Beckhoff Industrial and Embedded PCs are certified with cloud providers in terms of data connectivity.
Beckhoff Industrial and Embedded PCs are certified with cloud providers in terms of data connectivity.

Beckhoff Industrial and Embedded PCs have been certified both in the Microsoft Azure IoT Device Program, and in the AWS Device Qualification Program with regard to data connectivity to the respective communication service of the cloud provider.

Since hardware certification is time-consuming and not always goal-oriented, Beckhoff and AWS began developing an equivalent certification of the TwinCAT 3 software at an early stage. This automatically makes all industrial PCs running TwinCAT 3 an AWS IoT Core qualified device.

Application scenarios with edge devices

Virtual machines provide flexible execution environments for containerized edge applications.
Virtual machines provide flexible execution environments for containerized edge applications.

Edge applications are increasingly being developed to run in Linux® containers. For execution, the edge device must provide a Linux®-based operating system and software for managing Linux® containers (e.g., Docker®, Podman, etc.). Through the integrated Hypervisor, TwinCAT/BSD enables the execution of Linux® operating systems in virtual machines on the control system. Containerized edge applications can be operated directly on the control system, providing easy access to its data points. At the same time, the virtual machine creates an environment where the Linux® environment is isolated from the control system, increasing the security of the overall system.

As shown in the graphic, Linux® containers can be connected flexibly to the network. A dedicated host-only network provides access to machine control data points through Linux® containers. Unencrypted communication takes place in a virtualized local network between the TwinCAT/BSD and the Linux® container host. This means that machine control services do not have to be provided on physical ports of the industrial PC.

If a public network connection is also required for deploying Linux® containers or sending data to the cloud, dedicated Ethernet interfaces can in turn be explicitly made available to a Linux® virtual machine through device passthrough. Combining the host-only network, container network, and Ethernet device passthrough creates defined communication channels between the public IT network, edge applications, and the control system.

Retrofitting existing machines
Retrofitting existing machines

Existing, older machines often lack modern connectors to connect them to a cloud or to pre-process data, for example. However, edge devices can be used to easily convert older machines or their controls to the state of the art, enabling them to support modern protocols such as MQTT, OPC UA, or data formats like JSON. Data can be formatted, manipulated, interpreted, or filtered directly on the edge device and only selected data strings need to be exchanged with the cloud. This also helps to maintain streamlined, efficient, and fast cloud storage and can reduce the necessary bandwidth.

Depending on the variant, EtherCAT or bus terminals can be connected to the edge device to equip the machine with additional sensor technology at a later date and to retrofit the machine with a condition monitoring function if the edge device is also intended to manage PLC functions. If the old machine is already equipped with a Beckhoff control, it does not need to be adapted further; only data of interest is forwarded via ADS to the edge device for further processing. The edge device can also be used to access the machine via WLAN or mobile communications. Customers can then use a mobile phone or tablet to connect to the machine and to display important production data directly on site.

All data from the machine park converges and is pre-processed.
All data from the machine park converges and is pre-processed.

Edge devices can collect data from multiple machines with Beckhoff controls, legacy controls, or even proprietary systems. The edge device then manages the local pre-evaluation and aggregation of machine data, allowing critical thresholds or production data to be processed quickly. The data can be stored on site, visualized directly on the edge device, and also transferred to higher-level cloud or database systems. Further physical interfaces such as USB, DVI/DisplayPort, RS232, etc., are also available depending on the edge device features.

Schematic example of the integration of an NOA edge device
Schematic example of the integration of an NOA edge device

Central monitoring and analysis is of enormous importance, especially in the process industry. For new and existing plants, it is important to collect all operating data and make it available to various applications. This data is evaluated in analytical tools to enable failures in field devices to be detected at an early stage, for example.

However, the implementation of IoT concepts is particularly challenging in established process technology plants, as the necessary information from the field devices is not captured in the existing automation architecture. The User Association of Automation Technology in Process Industries (NAMUR) therefore devised the NAMUR Open Architecture (NOA). The concept described in NAMUR Recommendation NE175 extends the automation architecture without altering the existing control system.

Beckhoff has therefore developed an NOA edge device specifically for reading out the additional operating data for higher-level analytical tools. The edge device, which consists of a compact embedded PC, EtherCAT Terminals with HART functionality, and the relevant TwinCAT project, can be placed directly in the plant.

Power consumption always in view, locally and in the cloud
Power consumption always in view, locally and in the cloud

Energy management now plays a very important role in the operation of production facilities. Edge devices can provide retrofit support for legacy controls or with regard to energy management – the necessary terminals can be easily connected to the Beckhoff Embedded PCs and Industrial PCs to retrofit current transformers and voltage monitoring systems.

Current and past energy consumption can be visualized directly on the device or transferred to the cloud. Evaluations can be triggered and processed when ISO 50001-1 certification is required. On the software side, the TwinCAT Analytics platform offers a construction kit to support this use case.

Integrated networking and functions from the sensor to the cloud
Integrated networking and functions from the sensor to the cloud

Cloud connectivity is a key feature of many Beckhoff products. Connectors for various cloud-based web services have been part of the portfolio since 2015. The first application experiences in connecting TwinCAT systems to the cloud even go back to 2011. The “from sensor to cloud” concept is therefore available at all levels.

It is possible, for example, to connect current transformers and actuators of any type to the embedded PCs via EtherCAT Terminals, to pre-process, filter, and visualize the data at the control level, and to then transfer it on to a higher-level edge device via Ethernet. At this level, pre-processing, in-house containerized applications, and other third-party products can also be operated on industrial PCs in order to transfer the right data for the application in question to the cloud for use.

In principle, individual products can be combined and used at any level of the communication pyramid. TwinCAT 3 offers both full flexibility as well as a modular system from which customers can select and design their application as required. This enables them to perform all the necessary steps for creating new applications or for integrating existing software and hardware “from the sensor to the cloud” using Beckhoff hardware and software.

Products

Ultra-compact Industrial PCs

Ultra-compact Industrial PCs

The scalable C60xx series combines maximum computing power in what is currently the most compact format with a wide range of options for installation in the control cabinet.

Embedded PC CX

Embedded PC CX

With the CX series of Embedded PCs, Beckhoff has combined PC technology and modular I/O level to form a space-saving DIN rail unit in the control cabinet.

Machine learning – for all areas of automation

Machine learning – for all areas of automation

Beckhoff offers a machine learning (ML) solution that is seamlessly integrated into TwinCAT 3.

TwinCAT Analytics

TwinCAT Analytics

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

TF2000 | TwinCAT 3 HMI Server

TF2000 | TwinCAT 3 HMI Server

The TwinCAT 3 HMI Server is a modular web server that provides the human-machine interface (HMI). It supports all CPU classes from Arm® to multi-core. The powerful architecture enables a wide range of application scenarios from local panel solutions to multi-client, multi-server and multi-runtime concepts.

TF6100 | TwinCAT 3 OPC UA

TF6100 | TwinCAT 3 OPC UA

OPC UA is a platform-independent, service-oriented communication architecture for reliable, secure and multisupplier data transport from the production level to the production planning and ERP system or to the cloud.

TF6105 | TwinCAT 3 OPC UA Pub/Sub

TF6105 | TwinCAT 3 OPC UA Pub/Sub

TwinCAT 3 OPC UA Pub/Sub extends the OPC UA client/server architecture to include publisher/subscriber communication patterns. The TF6105 TwinCAT 3 OPC UA Pub/Sub provides the necessary implementations of the protocol so that these kinds of communication patterns can be readily integrated into the TwinCAT application. It includes various transport protocols as defined in the corresponding OPC UA specification part (OPC10000-14), e.g. UDP and MQTT.

TF6620 | TwinCAT 3 S7 Communication

TF6620 | TwinCAT 3 S7 Communication

TwinCAT 3 offers a wide range of options for connecting TCP/IP-based third-party systems to the control program: OPC UA, MQTT, HTTPS, and Modbus are just a few familiar examples from a large number of communication protocols. The TwinCAT S7 communication function extends this wide range further through the S7 communication protocol.

TF6701 | TwinCAT 3 IoT Communication (MQTT)

TF6701 | TwinCAT 3 IoT Communication (MQTT)

TwinCAT 3 IoT Communication provides basic functionalities in the form of PLC libraries for sending and receiving data via the so-called MQ Telemetry Transport (MQTT) protocol.

TF6720 | TwinCAT 3 IoT Data Agent

TF6720 | TwinCAT 3 IoT Data Agent

The TwinCAT 3 IoT Data Agent provides bi-directional IoT communication functions in the form of a gateway application that can be configured and operated independently from the TwinCAT real-time environment.

TF6760 | TwinCAT 3 IoT HTTPS/REST

TF6760 | TwinCAT 3 IoT HTTPS/REST

So-called REST (Representational State Transfer) APIs are frequently offered by web servers in IoT communication in order to channel certain communication processes via a uniform and stateless interface. REST APIs can be used, for example, to query weather data, to communicate with messenger services or as an interface for writing to a database.

TF6770 | TwinCAT 3 IoT WebSockets

TF6770 | TwinCAT 3 IoT WebSockets

The IoT product portfolio is extended by the implementation of a WebSocket client, providing a further protocol for communication from the TwinCAT 3 PLC in addition to HTTP and MQTT. The control also features a WebSocket server, which acts as both a WebSocket client and a WebSocket server. The WebSocket protocol is suitable for a bidirectional connection between server and client, and is used in web communication when the server wants to actively send data to the client, such as in live tickers for sports events, support chats, or even messaging services.