没有合适的资源?快使用搜索试试~ 我知道了~
首页西门子GSDML文件用户手册.pdf
资源详情
资源评论
资源推荐

GSDML Getting Started
Simple Instructions for Creating a Device
Description Data (GSD) File for PROFINET
February, 2015

GSDML Getting Started
Simple Instructions for Creating a Device Description Data (GSD) File for PROFINET Page 2/48
Content
1 ABOUT THIS DOCUMENT .......................................................................................................................... 4
2 INTRODUCTION ........................................................................................................................................ 5
2.1 WHAT IS NEW ............................................................................................................................................. 5
3 USING SCHEMATIC FILES FOR VALIDATION ............................................................................................... 6
3.1 USING THE SCHEMATIC FILES IN THE GSDML CONTEXT ....................................................................................... 6
3.2 SCHEMATIC GSDML FILES ............................................................................................................................. 7
4 RULES FOR GENERATING THE GSD FILE NAME .......................................................................................... 8
5 ROUGH STRUCTURE OF A GSD FILE ........................................................................................................... 9
5.1 PROCESSING INSTRUCTIONS FOR THE XML PARSER ............................................................................................. 9
5.2 ROOT ELEMENT ISO15745PROFILE ................................................................................................................ 9
5.2.1 ProfileHeader ................................................................................................................................ 10
5.2.2 ProfileBody .................................................................................................................................... 10
6 GENERATING A GSD FILE ......................................................................................................................... 12
7 DEVICE ACCESS POINT LIST (DAP) ........................................................................................................... 15
8 MODULES, SUBMODULES, SLOTS AND SUBSLOTS................................................................................... 18
8.1 DEFINITION OF MODULES WITH IRT CAPABILITY............................................................................................... 21
9 DIAGNOSTIC DEFINITIONS ...................................................................................................................... 22
10 GRAPHIC SYMBOLS ............................................................................................................................. 24
11 TEXTS IN GSDML ................................................................................................................................. 25
11.1 GENERAL .................................................................................................................................................. 25
11.2 INCORPORATING FOREIGN LANGUAGES .......................................................................................................... 25
12 USING REFERENCES ............................................................................................................................. 27
12.1 CHECKS USING THE SCHEMATIC .................................................................................................................... 27
12.2 TIPS TO NAME IDS MEANINGFULLY ............................................................................................................... 27
13 CATALOG INFORMATION IN THE GSD ................................................................................................. 29
13.1 CATEGORY ASSIGNMENT ............................................................................................................................. 29
13.2 REPRESENTING THE CATEGORIES ................................................................................................................... 29
14 DESCRIPTION OF PARAMETERRECORDDATAOBJECTS ......................................................................... 31
14.1 "CONST" DEFINITION OF A PARAMETERRECORDDATAITEM ................................................................................ 31
14.2 "REF" DEFINITION OF A PARAMETERRECORDDATAITEM .................................................................................... 32
15 SNMP AND MIB2 ................................................................................................................................ 35
16 FAST STARTUP .................................................................................................................................... 36
17 FIBER OPTIC INTERFACE ...................................................................................................................... 37
18 PROFISAFE DEFINITIONS IN THE GSD FILE ........................................................................................... 38

GSDML Getting Started
Simple Instructions for Creating a Device Description Data (GSD) File for PROFINET Page 3/48
19 COMPATIBILITY BETWEEN DIFFERENT GSDML VERSIONS .................................................................. 39
20 TOOLS ................................................................................................................................................. 41
20.1 PROFINET XML VIEWER ........................................................................................................................... 41
20.1.1 System Prerequisites ..................................................................................................................... 41
20.1.2 Form of Representation ................................................................................................................. 42
20.1.3 Sample Files ................................................................................................................................... 42
20.1.4 Saving a Copy of the Displayed File ............................................................................................... 42
20.1.5 Integrating the Editor .................................................................................................................... 42
20.1.6 Checking the GSD File .................................................................................................................... 42
20.1.7 Settings .......................................................................................................................................... 44
20.1.8 Documentation .............................................................................................................................. 44
20.2 VALIDATING XML PARSERS .......................................................................................................................... 45
20.3 TOOLS FOR GSD GENERATION ...................................................................................................................... 45
21 REVISION HISTORY .............................................................................................................................. 47

GSDML Getting Started
Simple Instructions for Creating a Device Description Data (GSD) File for PROFINET Page 4/48
1 About this Document
This objective of this document is to facilitate getting acquainted with the application and the structure
of the GSDML. It does not replace the standard document, but builds on it; and based on a few
examples, wants to show you how the elements and attributes of a GSDML document work.
The document "GSDML Specification for PROFINET IO" Is made available by means of the
Webserver of the PNO.
If there should be contradictions with respect to the GSDML specification, the GSDML specification is
the standard.
The syntax of XML itself and the structure of schematic files will not be explained here. There are
many good books serving this purpose.

GSDML Getting Started
Simple Instructions for Creating a Device Description Data (GSD) File for PROFINET Page 5/48
2 Introduction
The GSD for Profibus field devices (Status 2005) has now a history of more than ten years. The
original designation "Device Description Data" has in the meantime been internationalized to "Generic
Station Description". However, the new name can’t obscure the fact that some GSD rules are no
longer up to date.
The GSD allows for a textual description of some attributes of a Profibus field device (electronic data
sheet). However, the hierarchical structure of a field device was only shown one-dimensional –in the
form of a list. On the one hand, this provides for a clear representation of the key words included
there, but also requires a (mental) conversion step for mapping the key words to the device model. .
In comparison to the PROFIBUS model, the PROFINET IO device model has an additional hierarchy
level when addressing the I/O data -that of the submodules- since a "level“ description of these field
devices would lead to an additional complexity regarding the mapping.
By introducing the GSDML (General Station Description Markup Language), the feature of XML based
documents to generate any hierarchical levels was used to map the hierarchical device model as
unchanged as possible.
The result is a description language that is able to describe over several levels the attributes of a
device family. When the XML schematics representation was generated, the attempt was made to
include as much as possible of the GSD semantics, but to also, where it was advisable and
necessary, to redesign the mapping.
Note on Terminology
GSDML is one language to describe PROFINET IO field devices. By using this language, a GSD
(General Station Description) is generated in turn. For that reason, it is correct to refer to a "GSD file"
although it is structured in XML notation.
When the term "GSD" or "GSD file" is used in this document, it always refers to the form based on the
XML If the keyword-based GSD is referred to, it will be mentioned explicitly.
2.1 What is New
Compared with the keyword-based GSD, the following are essential changes regarding the XML-
based GSD, in addition to the syntactical change because of XML:
The "Device Access Point" (DAP) is described explicitly for the GSDML. For the GSD on the
other hand, only the DP slave is described as a whole. The result of adding the DAPs is that
almost all parameters of the device are described at the DAP element.
A GSDML document can contain any number of DAP definitions. This allows for generating a
file for a device family (and not only for individual field devices). The advantage is obvious,
particularly to field devices that have a modular configuration. The description of the modules
can be maintained centrally in one GSD file – the generation and update effort is clearly
reduced in comparison to a keyword-based GSD since there, the module descriptions are
present redundantly and have to be kept identical in the different files 'manually’.
A GSDML document can maintain any number of foreign language texts in one file. This leads
to a further reduction of the number of required files since in the keyword-based GSD, a
separate file is required for each language.
Add to this the capabilities that result in using the XML standard: validation of XML files by means of
schematic description and transformation into other formats by means of XLS.
剩余47页未读,继续阅读












安全验证
文档复制为VIP权益,开通VIP直接复制

评论0