TwinCAT 3

TwinCAT 3 – eXtended Automation Engineering (XAE)

Integration in Microsoft Visual Studio® makes it possible to program automation objects in parallel with the aid of the 3rd edition of IEC 61131-3 and the C or C++ languages. The objects (modules) generated can exchange data with each other and call each other independently of the language they were written in. The TwinCAT System Manager has been integrated into the development environment. This way, only one software is required to configure, parameterise, program and to diagnose automation devices.

Visual Studio® integration can be accomplished in two different ways. TwinCAT Standard only uses the basic framework of Visual Studio® with all its benefits in terms of handling, connection to source code control software, etc., while TwinCAT Integrated, as the name implies, integrates itself into Visual Studio®. In this version, the C/C++, C#, VB.NET programming languages and link to Matlab®/Simulink® are available.

Flexible use of programming languages

C and C++ programming languages

  • standardised
  • widely used programming languages
  • very powerful programming languages
  • run under the same runtime as PLC programs
  • for the implementation of drivers

Extended debugging of C++ programs

  • debugging of C++ programs that run in real-time
  • use of breakpoints
  • use of watch lists
  • use of call stacks

.NET programming languages

  • used for non-real-time-programming (e.g.: HMI)
  • source code management in the same project

Link to Matlab®/Simulink®

  • great variety of toolboxes
  • possibilities for use:
    • building of control circuits
    • in simulation
    • in optimisation
  • automatic code generation
  • debug interface between Matlab®/Simulink® and TwinCAT