Benutzer:Litzinger/PROFINET GSD
Inhaltsverzeichnis
Filename
The GSDML specification defines a scheme for the file names of GSD files. The name of a GSD shall be composed of the seven fields below in the following order:
- “GSDML”
- The version ID in format Vx.y whereby “x” and “y” are unsigned numbers. The version ID refers to the ID of the GSDML Schema used.
- Vendor name
- Device family name
- Release date of the GSD in format yyyymmdd
- Release time of the GSD in format hhmmss (Optional). “hh” is “00” up to “24”.
- “.xml” (file extension)
Fields 1-6 shall be separated by the dash character “-” (ASCII 45 decimal). The vendor name and device family name may contain any character allowed by the Microsoft Windows NT family of operating systems (e.g. Windows 8.1), including the space “ ” and the dash “-”. The length of the filename is only limited by Windows. The vendor name may contain the VendorID to ensure a unique filename.
Example
GSDML-V2.32-Vendor-Device-20110924.xml
Already released files shall not be changed without changing the filename. When building a new version of a GSD, the release date shall be changed.
GSD content
XML schema
<ISO15745Profile xmlns="http://www.profibus.com/GSDML/2003/11/DeviceProfile" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.profibus.com/GSDML/2003/11/DeviceProfile ..\XSD\GSDML-DeviceProfile-v2.3.xsd">
Device Identity
<DeviceIdentity VendorID="0x124" DeviceID="0x0EDC">
<InfoText TextId="DevDescription"/>
<VendorName Value="DEUTSCHMANN"/>
</DeviceIdentity>
Device Function
<DeviceFunction>
<Family MainFamily="Gateway" ProductFamily="UNIGATE-IC"/>
</DeviceFunction>
Device Access Point Item(s)
<DeviceAccessPointItem ID="DAP"
ModuleIdentNumber="0xA0000000"
PNIO_Version="V2.2"
PhysicalSlots="0..18"
MinDeviceInterval="32"
ImplementationType="Motorola"
DNS_CompatibleName="unigate-pn"
FixedInSlots="0"
ObjectUUID_LocalIndex="1"
ExtendedAddressAssignmentSupported="true"
AddressAssignment="DCP;LOCAL"
RequiredSchemaVersion="V2.3"
DeviceAccessSupported="false">
- PNIO_Version
- PhysicalSlots
- MinDeviceInterval
- DNS_CompatibleName
- RequiredSchemaVersion
Module Info
<ModuleInfo>
<Name TextId="DevName"/>
<InfoText TextId="DevDescription"/>
<VendorName Value="DEUTSCHMANN"/>
<OrderNumber Value="V3804"/>
<HardwareRelease Value="1"/>
<SoftwareRelease Value="V2.4.5"/>
</ModuleInfo>
- VendorName
- OrderNumber
- HardwareRelease
- SoftwareRelease
Comments
Remove irrelevant comments (e. g. our history)