|

TwinCAT PLC++: Next Generation PLC Technology

November 11, 2024

TwinCAT PLC++: Next Generation PLC Technology

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

More Information

Beckhoff

Related Story

Beckhoff Launches Compact, Multi-I/O Interface for Endless Use Cases in One Device

Beckhoff’s new EL8601-8411 EtherCAT Terminal offers incredible interface flexibility in a compact, 12-mm-wide design. With up to 12 signal interfaces (8 x DI, 2 x DO, 1 x AI, 1 x AO) and nine signal types in one terminal, the multi-interface is ideal for numerous applications. These use cases include systems that require only a few complex signals or to enable highly flexible signal configuration on custom machines without adding single-purpose hardware.

Related Articles



Editor’s Pick: Featured Article

Weidmüller’s u-control 2000: The Automation Controller

Weidmüller’s u-control 2000: The Automation Controller

Weidmüller’s scalable engineering software, u-control 2000, adapts individually to your requirements. And, the u-control is powerful, compact and fully compatible with Weidmüller’s I/O system u-remote. This article looks at what makes u-control the heart of your automation.

Programmable logic controllers (PLCs) are one of the main components of any automated system. A typical control system has inputs, outputs, controllers (i.e., PLCs), and some type of human interaction with the system, a human machine interface (HMI), for example.

Read More



Latest Articles

  • Everything You Need to Know About Grippers from Festo 

    December 17, 2024 By Krystie Johnston, Cory Knight, and Ryan Kroger Selecting the right gripper for an automated handling task can be challenging – but with Festo, it can be easier than ever to overcome these challenges. Grippers are essential components of industrial robots and handling systems because they are the connection between the handling… Read More…

  • FANUC Scholarship Supports Industry, Educators, and Students 

    December 11, 2024 By Krystie Johnston FANUC’s $1 Million Scholarship fund will provide $50K annually to students across the United States and Canada pursuing careers in manufacturing and automation. FANUC has always believed in the power of education and its importance in shaping the future. As leaders in education, their Certified Education program connects industries,… Read More…