Date post: | 02-Jul-2015 |
Category: |
Technology |
Upload: | design-world |
View: | 773 times |
Download: | 4 times |
“eXtending” the Automation Toolbox: Introduction to TwinCAT 3 Software
and eXtended Automation
This webinar will be available afterwards at
designworldonline.com & email
Q&A at the end of the presentation
Hashtag for this webinar: #DWwebinar
Before We Start
Moderator
Leslie Langnau Design World
Presenter
Robert Trask Beckhoff Automation
Introduction to TwinCAT 3 software and eXtended Automation
“eXtending” the Automation Toolbox
Robert Trask, PE
TwinCAT Specialist
Beckhoff Automation
IPC I/O Automation Motion
New Automation Technology
PC-based Control
1. Introduction
2. eXtended Automation (XA)
3. Connectivity
4. Migration
5. Functions
6. Product overview
eXtended Automation
Contents
Main Features
Scalability: in Hardware and in Software
Openness: tools (ADS) to share information (.h, .dll, .NET, also Java, NI, Delphi,
Support of all major fieldbus technologies
Real time: Beckhoff real time extension for Microsoft OS, high determinism, low jitter
Complete control system: from I/O to CNC and Robotics
Motion control without special hardware
What customers liked:
Complete and scalable solution
Feasible for many different areas
Fieldbus openness and support of different supplier I/O and drives
Ease of networking and sharing data
Ability to freely run other software on control system without affecting control
eXtended Automation
TwinCAT 2.x, a success story since 1996
Wishes from customers:
Integration: one tool, one project
C/C++ support for real time applications: reuse of existing code
Matlab/Simulink: known in universities, reuse of existing Simulink code
Support of latest generation PC hardware: Multicore, 64bit
Modular software design: use of ready to use modules without programming
Handle complex software: more and more software in the machine
Support object orientation: new in IEC61131-3 3rd Edition
Migration: easy migration from TwinCAT 2 to TwinCAT 3
Compatibility: Use TwinCAT 2 code (including libraries) in TwinCAT 3
Keep the free visualization, quick to make simple screens for debugging
ADS works, don’t change a thing!
Better version control
More modern look and feel to code editors
eXtended Automation
TwinCAT 3.x wish list
Beckhoff PC-based Control:
Setting New Standards in Automation
PC-Hardware
Feldbus
TwinCAT-
Software
I/O TwinSAFE PLC Control Control (PID)
Connectivity
NC PTP CNC Robotics Measurement Technology
NC I
Base
Motion
TwinCAT 3
Motivation
Integration of PLC, Motion and HMI into one software on one CPU:
Minimize hardware
faster cycle times
reduced interface complexity
better diagnosis
PC Control offers an “open” control system
abstraction as a principle
functions in software & independent from hardware
scalable performance and cost by selection of standard CPUs
powerful operating systems add IT functions to automation solutions
automation and IT world share the same benefits:
performance increase
cost decrease
TwinCAT 3
Motivation
TwinCAT 3
PC-based Control Milestones
Industry 4.0
The “fourth industrial revolution”
Heavy focus on intelligent, networked systems
Convergence of information technology (IT) and automation technology (AT)
Idea heavily promoted in Germany/Europe by government and industry
The Internet of Things The development of Internet-like structures to identifiable objects
Term coined by Kevin Ashton of MIT and has become popularized by companies such as
Oracle, IBM and SAP
TwinCAT 3
PC-based Control Milestones
1. Introduction
2. eXtended Automation (XA)
3. Connectivity
4. Migration
5. Functions
6. Product overview
eXtended Automation
Contents
Architecture (XAA)
Engineering (XAE)
System Manager
PLC
Motion Control
C/C++ programming
Matlab® integration
C#/.NET programming
Runtime (XAR)
TwinCAT 3
eXtended Automation (XA)
eXtended Automation
Engineering (XAE)
eXtended Automation Engineering
Features
TwinCAT 3 – extended, modular engineering tool
One programming environment, one project file, one debug environment
Integrated TwinCAT System Manager
Programming according to IEC 61131-3 3rd edition
(including NEW object orientation extensions)
Cyclically execute C and C++ with deterministic access to remote I/O
Matlab®/Simulink®
Migration of TwinCAT 2 projects
IDE = Microsoft Visual Studio® 2010/2012
TwinCAT 3 Standard
using the Microsoft Visual Studio®
shell
for PLC programmers and users of
existing modules
configuring, setting up and diagnosis
debugging PLC
TwinCAT 3 Engineering Environment
System Manager Configuration – I/O – PLC – MC – NC – CNC – Safety – others
Programming
IEC
61131 Object-
oriented
extensions
IEC Compiler
TwinCAT 3 Runtime
TwinCAT Transport Layer – ADS
.NET
C++
Powershell
IronPytho
n
CO
M
eXtended Automation Engineering
Scalable Functionality
TwinCAT 3 Integrated
Integration into Microsoft Visual Studio®
2010
for PLC and C/C++ programmers
configuring, setting up and diagnostics
module generation (C/C++ or
Matlab®/Simulink®)
debugging PLC, C/C++,
Matlab®/Simulink®
code generation
debugging
upload of TC modules
Caption:
eXtended Automation Engineering
Scalable Functionality
TwinCAT 3 framework = Microsoft Visual Studio® 2010/2012
usage of the most common programming environment
maintained by a company
extendable via plug-ins
link to common source control software
usage of C and C++ for programming automation devices
usage of .NET languages for non-real-time applications
(e.g. HMI)
improved help system
eXtended Automation Engineering
Workbench Integration
Simultaneous programming according to IEC 61131 and C++
eXtended Automation Engineering
Free Choice in Programming Languages
Mapping of process images
open for all common fieldbuses
support of all PC hardware interfaces
easy commissioning and diagnosis
assignment of logical and physical process images
Changes of the bus system do not require a change of
the PLC code.
TwinCAT process images
eXtended Automation Engineering
TwinCAT I/O – Integrated System Manager
Shared tree structure for hard- and software
Programming language-
dependent toolbox
Shared output window
of all languages
eXtended Automation Engineering
TwinCAT 3 PLC
eXtended Automation Engineering
TwinCAT 3 Motion Control – Abstraction Layer
eXtended Automation Engineering
TwinCAT 3 Motion Control – From PTP to Robot Control
reuse of existing C/C++ code
cooperation of C/C++ and PLC code
real-time applications for all platforms (CE, XP,…)
opens new areas – not standard PLC users
well-known programming language
standardised (C: ISO/IEC 9899 TC3, C++: IEC 14882)
generation of Automation Device Drivers (ADD) enables to implement own drivers (e.g.
fieldbus drivers)
Beckhoff SDK provides the functionality (like PLC libraries) for
ADS, File I/O, Motion
Application areas
image processing, robotics, measurement technology
eXtended Automation Engineering
C/C++ Programming Languages
Method CycleUpdate:
– is called cyclically
Logical input/output
image
eXtended Automation Engineering
C/C++ Programming Languages
eXtended Automation Engineering
Matlab®/Simulink® Integration
eXtended Automation Engineering
Matlab®/Simulink® Integration
Well-known programming languages
Standardized C# (ISO/IEC 23270)
Creates intermediate code (Common Intermediate Language – CIL)
Benefits:
Efficient engineering with higher abstraction level
Widely accepted
“Garbage collection” organised on the memory.
Could now be handled as part of one integrated solution
Restrictions:
Garbage collector is not suitable for real-time applications.
eXtended Automation Engineering
.NET Programming Languages (e.g. C#)
eXtended Automation Engineering
C# and .NET Programming
eXtended Automation Engineering
Rutime (XAR)
eXtended Automation Runtime
Multi-core Support
distribution of projects to cores (e.g. PLC, NC, Motion Control and HMI run on different
cores)
scalable base time for each core
scalable CPU usage for each core
eXtended Automation Runtime
Support of Multi-core Systems
Enables cores for
real-time usage
Defines the base
time for a core
Defines the CPU-
usage limit
Assignment of a task
to a CPU
eXtended Automation Runtime
Support of Multi-core Systems
1. Introduction
2. eXtended Automation (XA)
3. Connectivity
4. Migration
5. Functions
6. Product overview
eXtended Automation
Contents
Connectivity
Solutions For Many Different Areas
Consistent, vertical, horizontal
Cyclical/event-driven
Data exchange and/or commands
Open protocol with example code
Available for major Windows platforms
Access from PLC via function blocks
Routable via: local/network
Components free of charge
OCX/DLL/.NET/
Script/Web service
Connectivity
Tools that Enable Industry 4.0
Connectivity
Tools that Enable Industry 4.0
1. Introduction
2. eXtended Automation (XA)
3. Connectivity
4. Migration
5. Functions
6. Product overview
eXtended Automation
Contents
Conversion of an existing TwinCAT 2 project into the TwinCAT 3 format:
integrated converter for TwinCAT 2 projects (System Manager & PLC Control)
extension of the projects with new functionalities
higher reusability of existing code parts in new projects
use of the same tool for all projects/applications
eXtended Automation
TwinCAT 2 to TwinCAT 3 Migration
1. Introduction
2. eXtended Automation (XA)
3. Connectivity
4. Migration
5. Functions
6. Product overview
eXtended Automation
Contents
TwinCAT Functions offer a broad range of different add-ons that can
also be used for TwinCAT 3!
Communication
OPC UA, Modbus, Telecontrol, Serial
Controller implementations
Controller Toolbox, Temperature Control
Engineering tools
ECAD Import, Source Code Management
Diagnosis/Measurement technology
Scope 2
Functions
Continuity
only one software for programming and configuration
Visual Studio® integration
more freedom in the choice of programming language
support for the object-oriented extension of IEC 61131-3
use of C/C++ as the programming language
link to Matlab®/Simulink®
open interfaces for expandability and adaptation to existing tool landscape
faster and more flexible runtime environment
configuration of binary PLC/C++/Matlab® runtime modules
active support of multi-core and 64-bit systems
migration of TwinCAT 2 projects
Functions
TwinCAT 3 Tools and Highlights
1. Introduction
2. eXtended Automation (XA)
3. Connectivity
4. Migration
5. Functions
6. Product overview
eXtended Automation
Contents
TwinCAT 3
Convergence of Technologies Leads to Industry 4.0
For further information visit:
www.beckhoff.com/TwinCAT3
Beckhoff | New Automation Technology
Thank you for your time!
© Beckhoff Automation GmbH
All images are protected by copyright. The use and transfer to third parties is not permitted.
Beckhoff®, TwinCAT®, EtherCAT®, Safety over EtherCAT®, TwinSAFE®, XFC® and XTS® are registered
trademarks of and licensed by Beckhoff Automation GmbH. Other designations used in this presentation
may be trademarks whose use by third parties for their own purposes could violate the rights of the
owners.
The information provided in this presentation 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.
Questions?
Design World Leslie Langnau [email protected] Phone: 440.234.4531 Twitter: @DW_3DPrinting
Beckhoff Automation Robert Trask [email protected] Phone: 760.525.7376 Twitter: @TwinCAT3
Thank You
This webinar will be available at designworldonline.com & email
Tweet with hashtag #DWwebinar
Connect with
Discuss this on EngineeringExchange.com