Embedded PC The modular Industrial PC for mid-range control Stefan Hoppe 14.09.2007 1
Embedded Software - TwinCAT on embedded Systems - HMI solutions on embedded systems
Software TwinCAT • TwinCAT System • TwinCAT in embedded Systemen Stefan Hoppe 14.09.2007 3
TwinCAT : One Tool – all platforms Performance TwinCAT • Systemconfiguration • TwinCAT Realtime Control • PLC-programming IEC 61131-3 • Motion Control, NC-PTP, NC-I, CNC • Interfaces to scada via OPC / ADS Bus-Controller Embedded PC IPC Application Complexity Stefan Hoppe 14.09.2007 4
TwinCAT Architecture: XPE / CE TwinCAT on PC (XP) Platform • • pure pure software solution • does not modify Windows (NT / 2000 / XP / XPE) not bound to specific Service Pack • not specific hardware required • changes standard-Windows into realtime operating system • tools for setup and programming on the PC TwinCAT on a CE Platform • optimal integration : one file NK.BIN contains CE-OS and TwinCAT • TwinCAT realtime : TwinCAT offers min. 50µs cycletime • TwinCAT tools : Remote setup (no tools local on CE) � � � � easy „XCOPY deployment“ Stefan Hoppe 14.09.2007 5
TwinCAT for embedded CX series : Overview Operating Hardware IO PLC NC PTP NCI CNC EtherCAT system CP67xx TcTimer 1 PLC YES NO NO YES royalty free CP77xx TargetVisu First axis 2ms each next + 1ms � 4ms : max 3 axis CX9000 TcTimer 1 PLC YES NO NO YES royalty free TargetVisu maybe 1 axis in 4ms CX1000 TcTimer 1 PLC YES NO NO NO royalty free First axis 2ms TargetVisu each next + 1ms � 4ms : max 3 axis CX1020 TcTimer 4 PLC YES JA NO YES royalty free TargetVisu CP67xx Tc IO 1 PLC YES NO NO YES CP77xx First axis 2ms each next + 1ms � 4ms : max 3 axis CX1000 Tc IO 1 PLC NO NO NO CX1020 Tc IO 4 PLC YES YES NO YES Stefan Hoppe 14.09.2007 6
Conn ectivity : ADS everywhere Easy to use communication standard: ADS (Automation Device Specification) • Access to ADS with standard windows mechanism • ActiveX Control, Dll, OPC ADS over TCP/IP ADS over TCP/IP ADS over TCP/IP ADS over TCP/IP ADS over Fieldbus Stefan Hoppe 14.09.2007 7
Con nectivity : ADS everywhere Big picture Network Fieldbus Stefan Hoppe 14.09.2007 8
Co nnectivity : Sample 1/4 LAN (TCP/IP) PC PLC HMI PLC RT Profibus Buscoupler BK3100 ‚standard‘ configuration • Programming/configuration/HMI on a local PC • local fieldbus I/O without decentralized PLCs • communication with local ADS Stefan Hoppe 14.09.2007 9
Co nnectivity : Sample 2/4 LAN (TCP/IP) PC PC PLC HMI PLC HMI PLC PLC RT RT Profibus Buscoupler BK3100 Profibus Buscoupler remote programming/configuration • Programming/configuration/HMI on a remote PC • local fieldbus I/O without decentralized PLCs • communication with local/remote ADS Stefan Hoppe 14.09.2007 10
Co nnectivity : Sample 3/4 LAN (TCP/IP) PC PC PLC HMI PLC HMI PLC PLC RT RT Profibus Buscoupler Profibus Controller BK3100 BX3100 Profibus Buscoupler Decentralized PLC with BX3100 • Programming/configuration on a remote PC via fieldbus (Profibus) • local fieldbus I/O without decentralized PLCs • communication with local/remote ADS Stefan Hoppe 14.09.2007 11
Co nnectivity : Sample 4/4 LAN (TCP/IP) PC PC CX1000 PLC HMI PLC HMI HMI PLC PLC RT RT Profibus Buscoupler Profibus Controller BK3100 BX3100 Profibus Buscoupler Decentralized PLC with BX3100 • Programming/configuration on a remote PC via fieldbus (Profibus) • local fieldbus I/O without decentralized PLCs • HMI on a CX1000 without TwinCAT using TcADSDll for CE Stefan Hoppe 14.09.2007 12
Connection TwinCAT � � � � other CE applications � AdsDLL (TcAdsDllCE, Embedded Visual C++ programs) � communication DLL for CE.NET � Beckhoff OPC Server for CE Stefan Hoppe 14.09.2007 13
TwinCAT CE � the TwinCAT „NT“ runtime is ported to Windows CE � TwinCAT is a Win32 process in Windows CE � all TwinCAT server are in the address space of the TwinCAT process � programming of TwinCAT CE only through a separate desktop PC or notebook � configuration of TwinCAT is also done through a remote (not on the device) System Manager Stefan Hoppe 14.09.2007 14
Structure of TwinCAT CE Windows CE TwinCAT CE Kernel TcSysSrv.exe Windows CE Application TcRTime TcPlc TcNc Device.exe Device Drivers TcIo TcRouter ADS/OPC Hardware Stefan Hoppe 14.09.2007 15
Features of TwinCAT CE Real-time is based on Windows CE capabilities � lowest possible cycle time: 2 ms � possibility to access from within the real-time tasks OS functions like � network � USB � RS232 � hardware independent � safe (protected) process in Windows CE Stefan Hoppe 14.09.2007 16
Features of TwinCAT CE Same code as for TwinCAT „NT“ � supports all fieldbus systems � full PLC functionality, 1 CPU with 4 tasks � full NC functionality (limited axis number though) � system configuration with TwinCAT System Manager Stefan Hoppe 14.09.2007 17
TwinCAT on Windows CE memory requirements OS storage footprint: � appr. 8 MB (includes IE 5.5, no MMP) .NET compact framework will add about 4 MB � attention: Increasing NK.BIN means also increased start-up time. TwinCAT CE components storage footprint: � around 4 Mbyte � � with 16 Mbyte flash there is about 4 Mbyte left for customer � � application programs and data (without using the .NET compact framework). Stefan Hoppe 14.09.2007 18
HMI Software for Open Automation Platform Interfaces for user and applications • Interface-Integration for Compiler • Support of Standard Scada solutions • Integrated HMI solutions Stefan Hoppe 14.09.2007 19
TwinCAT : Communication BECKHOFF ADS Interface - Easy, open, documented, royalty free - supported by SCADA-companies - Support of OPC Standards : OPC DA / OPC AE / OPC XML Delphi VB, C# Web based Third- Third-party Delphi C#, VB VB.NET C++ C++ Scada solutions party Delphi/C++ Internet Wrapper OPC ADS .Net ASP OPC DA / OPC AE XML WebService OCX ADS DLL ADS Router Stefan Hoppe 14.09.2007 20
HMI : Wohlenberg Application • Professional Design of front end interface • Editor VS2003 • C# Applikation Type „Smart Device“ for CE Stefan Hoppe 14.09.2007 21
TwinCAT : Overview Third Party HMI for CE / XPE CopaData : zenOn WinCC / WinCC Flexible / ProTool / Citect 5 / iFix32 / Progea : Movicon InTouch / LabView/ Procon Win / VisControl / VisAM Win32 Kinz : QVis / VisiWin / WinErs / Wizcon / WebFactory / AIS / PVSS II / InduSoft : WebStudio GraphPic / Factory Link / SpiderControl ..... ……. Standard HMI Tool for all platforms Performance CX1000 with PC with : CX1000 with NT, W2000, XP, XPE, CE Costs Stefan Hoppe 14.09.2007 22
TwinCAT : Windows CE HMI solution Business modell BECKHOFF: - Integration of HMI-CE-Runtime in CE Image - Bundle HMI-CE-Runtime with CE device HMI vendor: - sells Editor / Support of HMI vendor Produkt Description available CX1800-0001 Copa-Data, zenOn CE NET RT ex stock CX1800-0002 Beckhoff, TwinCAT Target Visu ex stock CX1800-0003 KINZ, QVis CE RT ex stock CX1800-0004 Progea, Movicon RT ex stock CX1800-0005 InduSoft, WebStudio RT ex stock Stefan Hoppe 14.09.2007 23
CX1800-0002 TwinCAT Target Visu Editor • Integrated into TwinCAT PLC Control • No access to 3rd Party Controls (OCX) • No access to Windows API • perfect for setup, maintainance, service, diagnose • royalty free Runtime „CX1800-0002 TwinCAT Target Visu“ • „Full-Screen“ visu without TwinCAT-PLC - Control environment • Access to ONE local PLC runtime • default : Visu blocks 2 PLC tasks of runtime- system Stefan Hoppe 14.09.2007 24
CX1800-0002 TwinCAT Target Visu Sample Tables, Grids Gauge Bargraph Multi pages Language switch Stefan Hoppe 14.09.2007 25
Questions ? ? ? ? ? ? ? Stefan Hoppe 14.09.2007 26
Recommend
More recommend