Beckhoff: TwinCAT PLC++ – Next Generation PLC Technology

November 12, 2024

Engineering and runtime with a significant leap in performance

Based on well over 40 years of experience with state-of-the-art automation technology, Beckhoff presents the newly developed TwinCAT PLC++, enabling control engineers to make a real leap in project performance. Both engineering and runtime can be accelerated, while the well-known TwinCAT advantages of consistent integration, compatibility and openness continue to be delivered.

TwinCAT PLC++ is a completely new development from Beckhoff that integrates seamlessly into the existing TwinCAT ecosystem. Of course, TwinCAT PLC++ continues to be based on the languages described in IEC 61131-3. Due to – but not limited to – the advanced compiler technology and the new architecture used, a significant leap in engineering and runtime performance can be achieved.

Beckhoff is consistently pursuing the path of merging automation and IT that it has taken from the outset. Although the company has retained familiar and proven features, it has redeveloped key components of the development environment such as editors and compilers based on IT models. What’s more, Beckhoff has placed particular emphasis on the possibility of using DevOps principles to implement continuous integration and continuous deployment, for instance. In general, there was a particular focus on the specific needs of users. The result: A PLC that is extremely advanced in terms of technology and perfectly tailored to practical requirements.

Performance gains in engineering and runtime

TwinCAT PLC++: Next Generation PLC Technology
Dr. Josef Papenfort, TwinCAT Product Manager, Beckhoff Automation

TwinCAT PLC++ offers significant performance advantages in the runtime compared to the previous TwinCAT PLC. With TwinCAT PLC++, the same control code can be executed up to twice as fast as before. As a highlight, the new compiler makes it possible to further optimize this control code in terms of execution time. This option – known from the IT world – leads to a further significant increase in execution speed.

This means that an industrial PC with less computing power may be sufficient for the previous machine control system, thereby reducing hardware costs. If the hardware platform remains unchanged, the freed-up computer resources can be used to implement more control functionality or to increase the productivity of the machine by minimizing cycle times.

Further performance gains can be achieved by combining the product with TwinCAT MC3, the new motion control generation from Beckhoff presented at the SPS 2023 trade show. TwinCAT MC3 features an advanced engineering and runtime architecture. When both TwinCAT basic functions are used together, sophisticated applications and processes can be effectively controlled and monitored, which increases the competitiveness of the customer solution.

From an engineering perspective, TwinCAT PLC++ achieves shorter throughput times all the way from control development and commissioning to the entire machine life cycle. This is achieved by reducing operating times with the help of shorter project loading times and an improved translation process. The minimized project lead times significantly reduce costs and also enable new machines and systems to be launched more quickly.

Increased user-friendliness

Beckhoff was able to incorporate almost 30 years of TwinCAT experience into the development of TwinCAT PLC++. The feedback from over 20,000 TwinCAT users worldwide played a major role in perfecting the implementation, resulting in an optimized, intuitive user interface as well as improved functions that make work easier for users.

Enhanced support for developers is provided by a programming assistant based on TwinCAT Chat, expandable code snippets, smart shortcut functionalities for guided code creation, an online-offline code comparison, and a favorites pool. This allows developers to work even more efficiently than before, thereby shortening the development cycle and reducing time-to-market.

Full IEC conformity and high code quality

TwinCAT PLC++: Next Generation PLC Technology
Béla Höfig, TwinCAT Product Manager, Beckhoff Automation

As a member of the German IEC group, Beckhoff has a direct influence on the latest developments and best practices in standardization. TwinCAT PLC++ is almost fully compliant with the fourth edition of IEC 61131-3 and in this way meets the highest international standards. The corresponding portability facilitates exchange and collaboration between different automation systems. In addition, it is possible to use standard-compliant object orientation including classes and access modification for variables, among other things.

Conforming with the IEC standard offers additional safety aspects for programming, which are supplemented by extended type checks in the compiler. TwinCAT PLC++ also supports a secure online change where pointers and references are automatically adjusted. This prevents the implementation of potentially error-prone code and ensures that the application is more reliable and secure. With the help of an emergency mode, it is possible to define explicit responses to an exceptional state of the machine, such as the execution of separate code for a safe shutdown.

Seamless integration into DevOps workflows

With TwinCAT PLC++, the program code is stored in plain text at file level for the first time. This simplifies the use of source code management systems such as Git, as the synchronization of different code versions is particularly easy and intuitive. What’s more, the new compiler is available as a stand-alone component and can be called up automatically via a command line interface. Given that a complete engineering instance is no longer required, this allows automated processes for creating and testing program code in unit tests to be greatly optimized in terms of time.

Therefore, TwinCAT PLC++ offers an excellent foundation for seamlessly integrating PLC code development into DevOps workflows and for checking and ensuring code quality through automated test procedures. Automated tests not only increase the reliability of the control system, but also boost the efficiency of the testing process. As result, products can be launched more quickly and the risk of errors in the field is ultimately reduced.

Assured continuity and compatibility

TwinCAT PLC++ is based on the familiar TwinCAT architecture and is fully integrated into the proven TwinCAT ecosystem. Complete compatibility with the existing TwinCAT Functions is ensured and the new PLC generation can also be used in parallel with the existing TwinCAT PLC if required. The available PLC libraries can also be used to their full extent. On the one hand, this enables a step-by-step changeover with parallel TwinCAT PLC and TwinCAT PLC++ operation. On the other hand, an integrated converter enables the efficient transfer of existing program code, so that existing expertise is easily available in TwinCAT PLC++. For example, existing TwinCAT Scope and TwinCAT HMI applications can continue to be used unchanged. Switching therefore involves little effort.

Integrated deeply into the TwinCAT world

The new TwinCAT PLC++ architecture also enables deeper integration of TwinCAT Functions. For example, TwinCAT HMI and TwinCAT Target Browser can access the PLC variables directly without the program code having to be compiled and executable beforehand. Furthermore, a programming assistant based on TwinCAT Chat can be integrated. This assistant supports the generation of both textual and graphical codes. In this way, the extensive potential of the TwinCAT world can be fully exploited and the efficiency of the entire engineering process can be increased.

In a nutshell, TwinCAT PLC++ is the latest PLC generation available in the TwinCAT system. The runtime and engineering performance is improved, creating significant added value, and the switch is easy to make while preserving current TwinCAT functionality – a real “plus plus” for the user.

Source

Related Articles


Changing Scene


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

  • Implementing Functional Safety Requirements

    Implementing Functional Safety Requirements

    The Safety Functional Requirements Specification (SFRS; sometimes referred to as SRS or Safety Requirements Specification) is the plan for the safety controls on a machine and is the second step of the safety lifecycle. The SFRS document serves as a framework for the safety control system design, is informed by prior work done in the… Read More…

  • From Endress+Hauser, 24/7 Digital, Plant-Wide Health Monitoring for Rockwell Systems Optimizes Workflows and Processes

    From Endress+Hauser, 24/7 Digital, Plant-Wide Health Monitoring for Rockwell Systems Optimizes Workflows and Processes

    Endress+Hauser’s Asset Health Monitoring Solution–Rockwell Edition, now available for installation, provides operators with a centralized, digital overview of plant-wide device health to avoid unscheduled shutdowns and accelerate troubleshooting. It not only presents early visibility of problematic devices but distinguishes itself by adding likely causes and remedies to such a report so problems can be fixed… Read More…