Beckhoff Introduces Machine Learning for All Areas of Automation

Beckhoff twincat 400

April 17, 2019

Beckhoff Automation has announced a new machine learning (ML) solution that is seamlessly integrated into TwinCAT 3 software. Building on established standards, TwinCAT 3 Machine Learning offers ML applications the same advantages of system openness familiar from PC-based control technology. In addition, this TwinCAT solution supports real-time ML, allowing it to simultaneously handle demanding tasks like motion control. These capabilities provide machine builders and manufacturers with an optimum foundation to enhance machine performance, for example, through predictive maintenance, process self-optimization and autonomous detection of process anomalies.

With machine learning, controls engineers no longer have to follow the traditional engineering route of designing solutions for specific tasks and turning those solutions into algorithms. Instead, the automation controller can learn the desired algorithms from exemplary process data. With this alternative approach, powerful ML models can be trained and then used to deliver superior, higher-performing solutions. In automation technology, this opens up new possibilities in many areas, including predictive maintenance and process control, anomaly detection, collaborative robotics (cobots), automated quality control and machine optimization.

The models to be learned are trained in an ML framework, such as MATLAB® or TensorFlow, and then imported into the TwinCAT runtime via the Open Neural Network Exchange Format (ONNX), a standardized data exchange format used to describe trained models. The TwinCAT runtime incorporates the following new functions for this purpose:

  • TwinCAT 3 Machine Learning Inference Engine for classic ML algorithms, such as support vector machine (SVM) and principal component analysis (PCA)
  • TwinCAT 3 Neural Network Inference Engine for deep learning and neural networks, such as multilayer perceptrons (MLPs) and convolutional neural networks (CNNs)

Directly execute model results in real-time

Inference, i.e. the execution of a trained ML model, can be performed directly in real-time with a TwinCAT TcCOM object. With smaller networks, system response times of less than 100 µs corresponding to a TwinCAT cycle time of 50 µs are supported. Models can be called via PLC, C/C++ TcCOM interfaces or a cyclical task.

Through seamless integration with the control technology, the multi-core support provided by TwinCAT 3 is also available for ML applications. This means, for instance, that different task contexts can access a particular TwinCAT 3 Inference Engine without restricting each other. All fieldbus interfaces and data available in TwinCAT remain fully accessible as well. This allows ML solutions to use immense amounts of data, for example, for complex sensor data fusion (data merging), and it also means that real-time interfaces to actuators are available to enable, among other things, optimal controller performance.

Go HERE for more information

Related Articles


Changing Scene

  • François Tellier Appointed as East Managing Partner of EY Canada

    François Tellier Appointed as East Managing Partner of EY Canada

    EY Canada is pleased to announce the appointment of François Tellier as the new Managing Partner of Eastern Canada and the Office Managing Partner for Montréal. Tellier takes the reigns from Anne-Marie Hubert who will be retiring effective July 1, 2024. “We’re confident that François’ leadership, experience and strategic vision will further strengthen our presence… Read More…

  • True North Solutions Promotes Amanda Reitenbach to Director of Project Services

    True North Solutions Promotes Amanda Reitenbach to Director of Project Services

    Recently, True North Solutions was proud to announce Amanda Reitenbach’s promotion to the position of Director of Project Services. In this role, Amanda will be responsible for leading, guiding, and coaching program managers and project managers. She will oversee True North’s Project Management Office (PMO), project planning, executions, and resource allocation; facilitate stakeholder communication and… Read More…


Sponsored Content
The Easy Way to the Industrial IoT

The way to the Industrial IoT does not have to be complicated. Whether access to valuable data is required or new, data-driven services are to be generated, Weidmuller enables its customers to go from data to value the easy way. Weidmuller’s comprehensive and cutting-edge IIoT portfolio applies to greenfield and brownfield applications. Weidmuller offers components and solutions from data acquisition, data pre-processing, data communication and data analysis.

Visit Weidmuller’s Industrial IoT Portfolio.


ADVANCED Motion Controls Takes Servo Drives to New Heights (and Depths) with FlexPro Extended Environment Product Line

Advanced Motion Controls is proud to announce the addition of six new CANopen servo drives with Extended Environment capabilities to their FlexPro line. These new drives join AMC’s existing EtherCAT Extended Environment FlexPro drives, making the FlexPro line the go-to solution for motion control applications in harsh environments.

Many motion control applications take place in conditions that are less than ideal, such as extreme temperatures, high and low pressures, shocks and vibrations, and contamination. Electronics, including servo drives, can malfunction or sustain permanent damage in these conditions.

Read More


Service Wire Co. Announces New Titles for Key Executives

Bruce Kesler and Mark Gatewood have been given new titles and responsibilities for Service Wire Co.

Bruce Kesler has assumed the role of Senior Director – Business Development. Bruce will be responsible for Service Wire’s largest strategic accounts and our growing Strategic Accounts Team.

Mark Gatewood has been promoted to the role of Vice President – Sales & Marketing. In this role, Gatewood will lead the efforts of Service Wire Company’s entire sales and marketing organization in all market verticals.

Read More


Tri-Mach Announces the Purchase of an Additional 45,000 sq ft. Facility

Tri-Mach Elmira Facility

Recently, Tri-Mach Inc. was thrilled to announce the addition of a new 45,000 sq ft. facility. Located at 285 Union St., Elmira, ON, this facility expands Tri-Mach’s capabilities, allowing them to better serve the growing needs of their customers.

Positioning for growth, this additional facility will allow Tri-Mach to continue taking on large-scale projects, enhance product performance testing, and provide equipment storage for their customers. The building will also be the new home to their Skilled Trades Centre of Excellence.

Read More


JMP Parent Company, CONVERGIX Acquires AGR Automation, Expanding Global Reach

Convergix Automation Solutions has completed the acquisition of AGR Automation (“AGR”), a UK-based provider of custom, high-performance automation design and systems integration primarily to the life sciences industry.

Following Convergix’s acquisitions of JMP Solutions in August 2021 and Classic Design in February 2022, AGR marks the third investment in Crestview’s strategy to build Convergix into a diversified automation solutions provider targeting the global $500+ billion market, with a particular focus on the $70 billion global systems integration and connectivity segments. Financial terms of the transaction were not disclosed.

Read More


Latest Articles

  • Omron’ Advanced Safety Services 101

    Omron’ Advanced Safety Services 101

    In any industrial setting, safety is of the utmost importance. Omron offers Advanced Safety Services to help you and your staff navigate the challenges of complex industry standards and compliance regulations. They also can provide machine safety technology to protect your people and equipment while maximizing productivity. Did you know that Omron’s safety training and… Read More…

  • Become a More Sustainable Industrial Organization

    Become a More Sustainable Industrial Organization

    If you’re looking for ways to become a more sustainable industrial organization this year, 98% of manufacturers are thinking the same thing. They are working towards implementing sustainability systems and solutions in their own organizations. As you work towards becoming a more sustainable industrial organization, you’re probably preparing for new mandates that regulatory bodies will… Read More…