embedded pc the modular industrial pc for mid-range...
Post on 12-Mar-2018
213 Views
Preview:
TRANSCRIPT
14.09.2007 Stefan Hoppe 4
TwinCAT : One Tool – all platforms
Bus-Controller Embedded PC IPC
Performance
Application Complexity
TwinCAT
• Systemconfiguration • TwinCAT Realtime Control
• PLC-programming IEC 61131-3
• Motion Control, NC-PTP, NC-I, CNC• Interfaces to scada via OPC / ADS
14.09.2007 Stefan Hoppe 5
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“
TwinCAT Architecture: XPE / CE
14.09.2007 Stefan Hoppe 6
TwinCAT for embedded CX series : Overview
YESNONO1 PLCTc IOCP67xxCP77xx
YESNONOYESFirst axis 2ms
each next + 1ms
� 4ms : max 3 axis
1 PLCTargetVisu
TcTimerroyalty free
CP67xxCP77xx
YES
NO
YES
NO
YES
EtherCAT
NOYESYES4 PLCTc IOCX1020
NONO
YESFirst axis 2mseach next + 1ms
� 4ms : max 3 axis1 PLCTc IOCX1000
Operatingsystem
NO
NO
NO
CNC
YES
YESFirst axis 2ms
each next + 1ms
� 4ms : max 3 axis
YESmaybe 1 axis in 4ms
NC PTP
4 PLCTargetVisu
1 PLCTargetVisu
1 PLCTargetVisu
PLC
CX1020
CX1000
CX9000
Hardware
JATcTimer royalty free
NOTcTimer royalty free
NOTcTimer royalty free
NCIIO
14.09.2007 Stefan Hoppe 7
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
Connectivity : ADS everywhere
14.09.2007 Stefan Hoppe 9
PLC HMI
LAN (TCP/IP)
Profibus BuscouplerBK3100
PLCRT
Connectivity : Sample 1/4
PC
‚standard‘ configuration
• Programming/configuration/HMI on a local PC
• local fieldbus I/O without decentralized PLCs• communication with local ADS
14.09.2007 Stefan Hoppe 10
PLC HMI
LAN (TCP/IP)
Profibus Buscoupler
PLCRT
Connectivity : Sample 2/4
PC
remote programming/configuration
• Programming/configuration/HMI on a remote PC
• local fieldbus I/O without decentralized PLCs• communication with local/remote ADS
PLC HMI
PLCRT
PC
Profibus BuscouplerBK3100
14.09.2007 Stefan Hoppe 11
PLC HMI
LAN (TCP/IP)
Profibus Buscoupler
PLCRT
Connectivity : Sample 3/4
PC
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
PLC HMI
PLCRT
PC
Profibus BuscouplerBK3100
Profibus ControllerBX3100
14.09.2007 Stefan Hoppe 12
PLC HMI
LAN (TCP/IP)
Profibus Buscoupler
PLCRT
Connectivity : Sample 4/4
PC
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
PLC HMI
PLCRT
PC
HMI
CX1000
Profibus BuscouplerBK3100
Profibus ControllerBX3100
14.09.2007 Stefan Hoppe 13
Connection TwinCAT ���� other CE applications
� AdsDLL
(TcAdsDllCE, Embedded Visual C++ programs)
� communication DLL for CE.NET
� Beckhoff OPC Server for CE
14.09.2007 Stefan Hoppe 14
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
14.09.2007 Stefan Hoppe 15
TwinCAT CETcSysSrv.exe
Windows CEApplication
Windows CEKernel
Device.exeDevice Drivers
TcRouter
TcRTime
TcPlc
ADS/OPC
Hardware
TcIo
TcNc
Structure of TwinCAT CE
14.09.2007 Stefan Hoppe 16
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
14.09.2007 Stefan Hoppe 17
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
14.09.2007 Stefan Hoppe 18
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).
14.09.2007 Stefan Hoppe 19
Interfaces for user and applications
• Interface-Integration for Compiler• Support of Standard Scada solutions• Integrated HMI solutions
HMI Software for Open Automation Platform
14.09.2007 Stefan Hoppe 20
TwinCAT : Communication
ADS RouterADS DLL
OPC DA / OPC AE
VBC#,
VB.NET
DelphiC++
OPCXML
Internet
VB, C#Delphi/C++
ASPOCX .Net
Third-partyScada
Third-
party
Wrapper
BECKHOFF ADS Interface
- Easy, open, documented, royalty free- supported by SCADA-companies
- Support of OPC Standards :OPC DA / OPC AE / OPC XML
Web based
solutions
ADS
WebService
DelphiC++
14.09.2007 Stefan Hoppe 21
HMI : Wohlenberg Application
• Professional Designof front end interface
• Editor VS2003
• C# ApplikationType „Smart Device“for CE
14.09.2007 Stefan Hoppe 22
CopaData : zenOnProgea : MoviconKinz : QVisInduSoft : WebStudio.....
Standard HMI Tool for all p
latforms
CX1000 with PC with :
NT, W2000, XP, XPE, CE
Costs
WinCC / WinCC Flexible / ProTool / Citect 5 / iFix32 / InTouch / LabView/ Procon Win / VisControl / VisAM Win32 / VisiWin / WinErs / Wizcon / WebFactory / AIS / PVSS II / GraphPic / Factory Link / SpiderControl
…….
TwinCAT : Overview Third Party HMI for CE / XPE
CX1000 with
Perf
orm
ance
14.09.2007 Stefan Hoppe 23
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
ex stockBeckhoff, TwinCAT Target VisuCX1800-0002
ex stockInduSoft, WebStudio RTCX1800-0005
ex stockKINZ, QVis CE RTCX1800-0003
ex stockProgea, Movicon RTCX1800-0004
ex stockCopa-Data, zenOn CE NET RTCX1800-0001
Description availableProdukt
14.09.2007 Stefan Hoppe 24
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
14.09.2007 Stefan Hoppe 25
CX1800-0002 TwinCAT Target Visu
Sample
Languageswitch
Gauge
Tables, Grids
Bargraph
Multi pages
top related