a ssociation for s tandardisation of a utomation and m easuring s ystems asam asam e. v.1...
TRANSCRIPT
![Page 1: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/1.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 1
DatenaustauschDatenaustauschmit mit
XML und ECMA-ScriptXML und ECMA-Script
Dipl.-Ing. Horst Fiedler
![Page 2: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/2.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 2
Aufgabenstellung
Erfassungssystem
Prüfstandstypspezifisch
Q-Sicherungssystem
Universell/kategorisiert
Datentransfermit
parametrisierbarerStrukturkonvertierung
![Page 3: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/3.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 3
XML und Datentransfer
Ó ASAM e. V.
XML ist eine IT-Basistechnologie,hat breite Unterstützung in der IT-Industrie(auch MS scheint XML als Standard zu akzeptieren), und hat die für Austausch relevanten Probleme mit Zeichensätzen, ... gelöst, ohne auf dieses Thema eingeschränkt zu sein
Unbegrenzte Einsatzvielfalt
Warum XML für Datentransfer ?
![Page 4: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/4.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 4
Dokumenttypfestlegung
Ó ASAM e. V.
Ergibt sich aus der Struktur der zu transportierenden Daten, und dieist zumindest an einem EndeASAM-ODS strukturiert (ODS 3). Quelle: ODS 2 (d.h. Vorläufer)
Aber: Völlig unterschiedliche Attribute-Entitäten Zuordnung
Transformationseignung ist wesentlich
![Page 5: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/5.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 5
DTD Festlegung
Ó ASAM e. V.
715
Wo beginnt ASAM ?
Wenn gewisse Eigenschaftenvorhanden sind, insbesonders Struktur
<value typ=“float“ unit=“km/h“>715</value>
715 km/h
![Page 6: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/6.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 6
Minimales Dokument
<AOXS> <AE ID="a1" NAME="Messungen"> <AA ID="a11" NAME="Name"/> <AS ID="a12" NAME="Messgrößen" REF="a23"/> <IE ID="i1"><IV>EinWertMessung</IV><IS REFS="i2"/></IE> </AE> <AE ID="a2" NAME="Messunggrößen"> <AA ID="a21" NAME="Name"/> <AA ID="a22" NAME="Einheit"/> <AR ID="a23" NAME="Messungen" REF="a12"/> <IE ID="i2"><IV>vmax</IV><IV>km/h</IV><IR REF="i1"/></IE> </AE> <MI REF="i1"><MS><MC REF="i2"><MV>715</MV></MC></MS></MI></AOXS>
![Page 7: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/7.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 7
Dokument entsprechend aktuellem Basismodell
<AOXS2> <AE ID="a1" NAME="Messungen"> <AA ID="a11" NAME="Name"/> <AS ID="a12" NAME="Messgrößen" REF="a23"/> <AS ID="a13" NAME="Teilmatrizen" REF="a32"/> <IE ID="i1"><IV>EinWertMessung</IV><IS REFS="i2"/></IE> </AE> <AE ID="a2" NAME="Messunggrößen"> <AA ID="a21" NAME="Name"/> <AA ID="a22" NAME="Einheit"/> <AR ID="a23" NAME="Messungen" REF="a12"/> <AS ID="a24" NAME="Spalten" REF="a42"/> <IE ID="i2"><IV>vmax</IV><IV>km/h</IV><IR REF="i1"/><IS REFS="i4"></IE> </AE> <AE ID="a3" NAME="Submatrizen"> <AA ID="a31" NAME="Name"/> <AR ID="a32" NAME="Messungen" REF="a13"/> <AS ID="a33" NAME="Spalten" REF="a43"/> <IE ID="i3"><IV>1</IV><IR REF="i1"/><IS REFS="i4"/></IE> </AE> <AE ID="a4" NAME="Spalten"> <AA ID="a41" NAME="Name"/> <AR ID="a42" NAME="Messgröße" REF="a24"/> <AR ID="a43" NAME="Submatrix" REF="a33"/> <IE ID="i4"><IV>vmax</IV><IR REF="i2"/><IR REF="i3"/></IE> </AE> <VS REF="i4"><V>715</V></VS></AOXS2>
![Page 8: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/8.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 8
Query - Transform - Merge
Ideales Konzept ...
ASAM-ODS Query
XSL Transformation
ASAM-ODS Merge
![Page 9: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/9.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 9
XSL/T
Das Erfassungssystem erlaubt zwar den Zugriff mit ODS-API (-vorläufer) und hat (emuliert) auch eineApplikationsstruktur, die „interessanten“ Daten (diejenigen, die als Applikationsstrukturattributeim Zielserver vorgesehen waren) sind als Meßwerte in Teilmatrizen hinterlegt.
XSL/T passt schlecht bis gar nicht
... und unpassende Realität
![Page 10: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/10.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 10
Struktur + Skripts
- Skripts zur Ermittlung der benötigten Werte,eingebettet in die gewünschte Struktur:
Templates
... führen zu alten Mustern
![Page 11: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/11.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 11
Query - Merge
Template-Prozessor (Exzerpt Generator)
ASAM-ODS Merge
Transformation bei der Abfrage
![Page 12: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/12.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 12
Template (Ausschnitt)
<AA ID="A2.8" NAME="Epsilon"><?p1 { return aops.getMDV('!E','EPS',0);}?></AA>
XML Processing Instructions
![Page 13: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/13.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 13
Skript (Ausschnitt)
aox = new Aox('myTemplate.xml');aops = new Aop(sourceAddr);aox.process("p1", aops, ie);aopt = new Aop(destAddr);aox.relate(aopt, "s");aox.store(aopt);
Ablaufumgebung
![Page 14: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/14.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 14
Automatisierung
Ó ASAM e. V.
Ubiquitous Communications: InternetUbiquitous Communications: Internet
Universal Data Format:Universal Data Format: XMLXML
Service Interactions:Service Interactions: SOAPSOAP
![Page 15: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/15.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 15
XML-RPC
Ó ASAM e. V.
Client(GUI)
Transfer
ODS B
ODS A
StartStopStatus
Transfer
Load
Changemonitor
SOAP
ODS 3.2 API
Store
Auto--mation
![Page 16: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/16.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 16
SOAP für WebService-Anbindung
Leichtgewichtigohne zusätzliche Transportprotokolle, keineweiteren Ports, ...
Einstellbarer Scopeerlaubt persistente Services
Plattformunabhängigvon Java, Windows-SDK's, ...
Bindbar an mehrere Implementierungssprachen(auch ohne CLR)
![Page 17: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/17.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 17
Web-Integration
Mit der Bereitstellung von WebServices ist es nicht getan, insbesonders die Verteilung von Services (Deployment) und Zugriffsschutz (Authorization) müssen geregelt sein,wohin man dabei auch tritt: XML findet sich in - Deploymentdeskriptoren- Servicebeschreibungen- Launch-Protokollen, usw.
![Page 18: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/18.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 18
Konfigurationen
Transferanwendung
Interzeptoranwendung
![Page 19: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/19.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 19
Skript (Ausschnitt)
aox = new Aox('myView.xml');aop = new Aop(sourceAddr);aos = new Aos(aox, aop, viewAddr, 180000);aos.run();
Ablaufumgebung
![Page 20: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/20.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 20
View (Ausschnitt)
<AA ID=“A2.4“ NAME=“D“ DTYP=“FLOAT“/><AA ID="A2.91" NAME="DIA" DTYP="DOUBLE"><?map A2.4?></AA><AA ID="A2.92" NAME="D/2" DTYP="DOUBLE"><?map { return aop.getIEValue(id(aid,iid),"D")/2.0;}?></AA>
XML Processing Instructions
![Page 21: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/21.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 21
ASAM-ODS und XML
Wie das hier vorgestellte Projekt besteht auch ASAM-ODS aus
- Datenformat/struktur (Basismodell, Datentypen, ...) und
- Interaktionen (API's)
XML kann durchgängig in beiden Bereichen verwendet werden, aber Achtung: Die hier gezeigte Verwendung von XML ist von keiner ASAM-ODS Festlegungen geregelt,und z.Z. Sind auch keine Bestrebungen bekannt, ein leichtgewichtiges Schema (bzw. DTD) festzulegen.
![Page 22: A ssociation for S tandardisation of A utomation and M easuring S ystems ASAM ASAM e. V.1 Datenaustauschmit XML und ECMA-Script Dipl.-Ing. Horst Fiedler](https://reader036.vdocument.in/reader036/viewer/2022062622/55204d6149795902118b577e/html5/thumbnails/22.jpg)
Association for Standardisation of Automation and Measuring SystemsA
SA
MA
SA
M
ASAM e. V. 22
Danke für Ihre Aufmerksamkeit
Technische Informatik Fiedler FürstenFeldTechnische Informatik Fiedler FürstenFeld