Building industrial sensors with MDSD Bernhard Merkle Central Department Research & Development Software-Engineering SICK-AG Waldkirch mailto: Bernhard.Merkle@sick.de mailto: Bernhard.Merkle@gmail.com Contact on linkedin.com or xing.com Industrielle Sensoren mit MDSD / Page: 1
Overview: About myself and SICK AG Lightweight MDSD with own tools SOPAS Tool chain for SOPAS Development Eclipse MDSD IO-Link Tool chain for IO-Link Development Experiences, Discussion Industrielle Sensoren mit MDSD / Page: 2
SICK - at a glance More than 4,700 employees More than 40 subsidiaries Group sales of about EUR 708 million in the fiscal year 2007 Widest product and technology range in the sensor industry Innovation leader in sensing technology SICK - one of the leading manufacturers of sensors and sensor solutions for industrial applications worldwide Industrielle Sensoren mit MDSD / Page: 3
Wide product and technology range : Industrial Sensors : Advanced Industrial Sensors : Encoder : Industrial Safety Systems : Auto Ident : Analyzers & Process Instrumentation Industrielle Sensoren mit MDSD / Page: 4
Wide product and technology range Photoelectric switches Proximity sensors Contrast & luminescence scanners, color sensors Distance sensors Encoders & motor feedback systems Safety laser scanners Safety switches & safety command devices Safe control solutions Gas analysis Dust measurement Volume flow measurement / gas flow meter Level measurement Displacement sensors Code readers / systems Liquid analysis Ultrasonic sensors Light grids / curtains RFID Volume measurement systems Traffic / tunnel sensors Software Machine vision sensor systems Laser measurement systems Industrielle Sensoren mit MDSD / Page: 5
Sensors in Automation and problems PROFIBUS optimization maintenance and service consulting selection CANOpen HART order and buy INTERBUS test installation configuration ETHERNET PROFISafe ASI Industrielle Sensoren mit MDSD / Page: 6
Programming vs. Modeling Pros/cons: Efficient, fexible,verifyable (Meta-Model) Reuse, Import/Export, Synergy, Maintainable Performance/Resources @ Development, Performance/Resources @ Runtime Testing, Simulation, Total Cost / Reuse of Infrastructure (DSL, Generator) If Modeling is adopted:then Generate vs. Interpret: Pros/cons see above Industrielle Sensoren mit MDSD / Page: 7
Device Descriptions: Industrial Standards Standardized industrial Device Descriptions: EDS EDD GSD GSDML FDCML Focus: Integration Technology Description of Communication Interface Industrielle Sensoren mit MDSD / Page: 8
SOPAS: SICK Open Portal for Application and Sensors One tool, many devices Common User Interface for all SICK devices Integration of different automation protocols (Profibus/Profinet, Devicenet / EthernetIP, CANOpen, IO-Link) Unification of Communication Interfaces Consistency between device implementation and description Support for Application, Production, Test, Sales, Maint. Industrielle Sensoren mit MDSD / Page: 9
Device Descriptions: SOPAS UDD SOPAS Device Description: (UDD / CID / VID) Plattform Independent Model (MDA) Domain Specific Language (DSL) (e.g. Communication, Security, GUI) XML-Editor with XML Schema Tools (verifier / constraints) Generator (template based) Focus: DLM (Device Lifecycle Management ;-) Firmware, Configuration, Parameters, Testing Multiple Integration Technologies (OPC, FDT, etc) Connecting different Sensors, transmitting data, Applications, Documentation, Sales, Maintenance, Industrielle Sensoren mit MDSD / Page: 10
Sensors in Automation Interaction with other components and Tools PLC Industrielle Sensoren mit MDSD / Page: 11
SOPAS: Workflow and Artifacts Documentation A B UDD Uniform device description CID CID Communication Communication interface interface description description VID VID Visualization Visualization interface interface description description C D C Code for device JAVA Code for Engineeringtool Devicedescription for fieldbus e.g. GSD-file for PROFIBUS GSD-File Industrielle Sensoren mit MDSD / Page: 12
SOPAS: Workflow and Artifacts SICK DEVICE Firmware Application SW SICK DEVICE Firmware Application SW Engineering Tool Application SW SOPAS Middleware Netware API SOPAS Middleware Netware API SOPAS Middleware Netware API Fieldbus/Netware Stack Fieldbus/Netware Stack Fieldbus/Netware Stack Industrielle Sensoren mit MDSD / Page: 13
DME5000 Industrielle Sensoren mit MDSD / Page: 14
SOPAS ET Industrielle Sensoren mit MDSD / Page: 15
CLV620 Industrielle Sensoren mit MDSD / Page: 16
CLV620 Industrielle Sensoren mit MDSD / Page: 17
LD Industrielle Sensoren mit MDSD / Page: 18
SCU Industrielle Sensoren mit MDSD / Page: 19
Lightweigth MDSD with own tools : Pros: Short and fast way to integrat new devices/sensors Common User Interface for all devices/sensors one software, one engineering tool for all devices transparency to the customer considering vendor software decreasing training complexity and costs for application and service Cons: Own tool chain Limited Device Description editor Homegrown code generator Other points: DSL features, (XML Schema increased ) Industrielle Sensoren mit MDSD / Page: 20
Industrielle Sensoren mit MDSD / Page: 21
Eclipse MDSD: Continue MSDS but on a Open platform Standardized platform Eclipse (MDD) EMF GMF oaw. Etc. Industrielle Sensoren mit MDSD / Page: 22
IO-Link: the last mile (meter) Industrielle Sensoren mit MDSD / Page: 23
Physics: Standard I/O connection techniques, 20 m cable length cyclic, deterministic process data typ. 2 ms with parallel service data transmission Industrielle Sensoren mit MDSD / Page: 24
Information flow Process data Binary signals Analog signals Service data Parameters Configuration data Settings Device identification Diagnostics Operational / failure messages Failure analysis / location Industrielle Sensoren mit MDSD / Page: 25
Eclipse MDSD: Industrielle Sensoren mit MDSD / Page: 26
Eclipse MDSD: Pros: Most of infrastructure is there Concentrate on MDSD, not the tools! Cons: Sync with Eclipse updates MDD projects still under some movement Eclipse Modeling Framework (EMF) base platform for modeling Graphical Modeling Framework (GMF) graphical editor based EMF/GEF Textual Modeling Framework (TMF) Xtext, TCS Model-to-Model Transformation (M2M) QVT (OML), ATL Model-to-Text Transformation (M2T) Xpand, JET Model Development Tools (MDT) UML2, OCL, UML2 Tools, XSD,... Furter improvements to EMF/GMF oaw with XText, Xpand Industrielle Sensoren mit MDSD / Page: 27
References URL: SICK SOPAS http://www.sick.com/home/factory/downloads/en.html/ IO-Link http://www.io-link.com/ Eclipse (EMF, GMF, GEF) http://www.eclipse.org/ OpenArchitectureWare http://www.openarchitectureware.org/ Books Modellgetriebene Softwareentwicklung. Thomas Stahl und Markus Völter Dpunkt Verlag ISBN: 3898643107 (now also a english edition) Industrielle Sensoren mit MDSD / Page: 28