Beckhoff TwinCAT3 e
Beckhoff TwinCAT3 e
Beckhoff TwinCAT3 e
Product announcement
Beckhoff created a global standard for automation with the launch of PC-based control technology in 1986. On the software side, the TwinCAT (The Windows Control and Automation Technology) automation suite forms the core of the control system. The TwinCAT software system turns almost any PC-based system into a real-time control with multiple PLC, NC, CNC and/or robotics runtime systems. TwinCAT 3 is the systematic further development of TwinCAT 2, with which the world of automation technology is being redened.
Ethernet TCP/IP
Motion
NC PTP
NC I
CNC
Robotics
Measurement Technology
TwinCAT 3 highlights
only one software for programming and conguration Visual Studio integration more freedom in selecting programming languages support for the object-oriented extension of IEC 61131-3 use of C/C++ as the programming language for real-time applications link to Matlab/Simulink open interfaces for expandability and adaptation to the tools landscape exible runtime environment active support of multi-core and 64-bit systems migration of TwinCAT 2 projects
In addition to the possibilities of controller programming according to the 3rd edition of IEC 61131-3, the new TwinCAT 3 architecture allows the use of C and C++ as the programming language. This opens up completely new application possibilities, as well as the expansion of or integration in existing systems. The link to Matlab/Simulink is just one example of this new openness.
PC System Windows 32/64 bit TwinCAT 3 Engineering Environment based on Visual Studio System Manager Conguration Programming IEC 61131-3 objectoriented extensions C/C++
TwinCAT Transport Layer ADS TwinCAT 3 Runtime Real-time Kernel TcCOM TcCOM TcCOM PLC Safety NC TcCOM TcCOM C Module
TcCOM
TcCOM
CNC
Simulink Module
TcCOM
C++ Module
PLC
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 congure, parameterise, program and to diagnose automation devices.
TwinCAT Standard
TwinCAT 3 Engineering Environment System Manager Conguration I/O PLC MC NC CNC Safety others Programming IEC 61131 Objectoriented extensions
TwinCAT Integrated
TwinCAT 3 Engineering Environment based on Visual Studio
System Manager Conguration I/O PLC C/C++ MC NC CNC Safety others Matlab/ Simulink Third-party programming tool C/C++
C/C++
Real-time Workshop
IEC Compiler
IEC Compiler
Microsoft C Compiler
Visual Studio integration can be accomplished in two different ways. TwinCAT Standard only uses the basic framework of Visual Studio with all its benets 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.
System Manager
LD editor
.NET
FBD editor
Visual Basic
SFC editor
C++
IL editor
Silverlight
ST editor
CFC editor
The integration of Matlab/Simulink enables execution of TwinCAT modules that were generated as models in the Simulink simulation environment. The chosen interfacing type displays the parameters and variables in the graphic interface of TwinCAT 3 and enables viewing and modication in the real-time environment at runtime.
Parameter i Parameter view Parameter view of the generated module in TwinCAT generated module TwinCA generated odule TwinCAT er r e winCAT CA
standard tool in scientic and measuring applications wide range of toolboxes (e.g. Fuzzy Logic Toolbox) development, simulation and optimisation of complex control loops automatic code generation via Realtime Workshop debug interface between TwinCAT 3 and Simulink parameterisation of the generated module in TwinCAT 3 download and execution of the module in TwinCAT 3 runtime multiple module instantiation possible Modules can be used without Matlab/Simulink.
With eXtended Motion Control, TwinCAT automation software offers an integrated and scalable solution for Motion Control applications including simple point-to-point movements, CNC and robot control.
Functionality
NC PTP
NC I
CNC
Robotics
Interpolated motion with 3 axes and 5 additional axes programming according to DIN 66025 technological features straightforward utilisation through function blocks from the PLC
Complete CNC functionality interpolated movement for up to 32 axes per channel various transformations
Interpolated motion for robotic control support for a wide range of kinematic systems optional torque pre-control
Standardised modules enable open and exible design of the TwinCAT 3 runtime. It makes an environment available in which the TwinCAT 3 modules can run. Whether the modules are PLC, NC, CNC, RC (Robotic Control) or C code-based modules (e.g. created with Matlab/Simulink) is irrelevant.
TcCOM
PLC TcCOM
TcCOM TcCOM
Call
Call
C++ Module
Task
NC
TcCOM
Task
C++ Module
Task
Call
C Module
TcCOM
Simulink Module
TcCOM
Task
Task
TcCOM
Task
Fieldbus
TcCOM
Simulink Module
extension of the runtime by own modules (e.g. bus drivers) Scalability: modules can contain simple functions; complex algorithms and realtime tasks.
TwinCAT 3 modules consist of a range of formally dened attributes and interfaces. They enable general application of the modules with each other and externally. The predened interfaces enable cyclic calling of the internal module logic, for example. Each module implements a state machine that controls the initialisation, parameterisation and linking of the respective module.
TwinCAT Module Module Description State Machine ITComObject Interface Interfaces Parameter Interfaces Pointers
In addition to user modules, a number of system modules are already available which provide basic runtime functionality (e.g. TwinCAT real-time). These modules have xed object IDs and are therefore accessible from each module.
Data Areas
Current developments in computer technology, which offer CPUs with more and more cores, enable the distribution of tasks across different cores. The TwinCAT 3 runtime environment follows this concept. It can be used to distribute functional units such as HMI, PLC runtime or MC to dedicated cores. For each of the cores used by the runtime environment the maximum load as well as the base time and therefore the possible cycle times can be set separately.
Multi-core CPU Core 0 Windows Apps Windows Drivers PLC Control Core 1 User HMI Core 2 PLC Runtime 0 Task 0 Task 1 ADS ADS Router Engine L2 Shared Cache ADS Router Message Queues System Memory ADS ADS ADS ADS Core 3 PLC Runtime 1 Core NC Runtime 1
Due to the use of multicore systems, functional units (e.g. PLC and NC runtimes, HMI) are distributed to individual processor cores.
Distribution of functional units to different processor cores Dialog for the distribution of tasks to processor cores
To ensure seamless transition between TwinCAT 2.11 and TwinCAT 3, different migration routes are provided. With TwinCAT 3, the TwinCAT 2.11 PLC runtime and TwinCAT 2.11 PLC Control are always supplied as well. TwinCAT 2.11 PLC projects and TwinCAT 3 modules can therefore be executed in parallel. Naturally, it is also possible to convert TwinCAT 2.11 projects to TwinCAT 3.
Multi-core PC System Microsoft Windows Operating System TwinCAT 3 eXtended Automation Engineering TwinCAT Transport Layer ADS-Router TwinCAT 3 eXtended Automation Runtime TwinCAT 2.11 PLC Runtime TwinCAT 2.11 PLC Engineering
Fieldbus Drivers
Scenarios for the migration of TwinCAT 2.11 projects: 1. Execution of TwinCAT 2.11 PLC projects as modules in the TwinCAT 3 runtime linking of TwinCAT 2.11 PLC projects with TwinCAT 3 modules at the I/O level 2. Conversion of existing projects to TwinCAT 3 integrated application of TwinCAT 3 functionality
Product announcement
estimated market release 4th quarter 2010
Headquarters Beckhoff Automation GmbH Eiserstrae 5 33415 Verl Germany Phone: + 49 (0) 52 46 / 9 63 - 0 info@beckhoff.com www.beckhoff.com
www.beckhoff.com/TwinCAT3
Beckhoff, TwinCAT, EtherCAT, Safety over EtherCAT, TwinSAFE and XFC are registered trademarks of and licensed by Beckhoff Automation GmbH. Other designations used in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owners. Beckhoff Automation GmbH 04/2010 The information provided in this brochure contains merely general descriptions or characteristics of performance which in case of actual application do not always apply as described or which may change as a result of further development of the products. An obligation to provide the respective characteristics shall only exist if expressively agreed in the terms of contract.
DK3332-0410