Introduction to GSDML

In the field of industrial automation, ensuring that devices from different manufacturers can communicate effectively is a critical challenge. Initially, device manufacturers employed proprietary methods to describe their devices' capabilities and parameters. These varied formats led to interoperability challenges and increased engineering efforts for system integrators, highlighting the need for a standardized approach to device description. To mitigate these challenges, PROFIBUS International (PI) introduced the Generic Station Description (GSD) format in the mid-1990s. GSD provided a standardized method for manufacturers to outline the characteristics and communication parameters of their PROFIBUS devices. Despite its contributions to easing device integration, GSD was somewhat limited in scope and flexibility, particularly for complex devices. Recognizing these limitations, PI developed an improved and more versatile device description format, leading to the creation of the Generic Station Description Markup Language (GSDML), a language for describing devices in PROFINET networks, in the early 2000s. 

GSDML represented a leap forward, offering a structured and extensible markup language that significantly enhanced the description of devices. Just like the classic keyword-based GSD file for PROFIBUS devices, a GSDML file can also be regarded as a General Station Description (GSD). The difference, however, is that GSDML is structured in XML notation, which gives it some advantages in comparison. But more on this later. 

The General Station Description (GSD) file, which GSDML describes, contains essential information about PROFINET devices, including IO Data, IO Channels, Parameters, and Alarms. This information is crucial for engineering tools to effectively integrate and manage these devices within an industrial setting. The GSDML file, being an ASCII text file leveraging XML data description language and includes both general and device-specific specifications for communication and network configuration, making it an indispensable resource for achieving interoperability in industrial networks. The transition from GSD to GSDML reflects a broader shift towards more flexible, extensible, and comprehensive device descriptions. GSDML's XML-based structure not only accommodates detailed device specifications but also supports multiple protocols beyond PROFIBUS, such as PROFINET IO and Process Automation devices. This versatility is crucial in modern industrial environments where diverse communication protocols coexist and where there is a need for seamless integration of devices from various manufacturers. 

Moreover, GSDML files are designed to comply with ISO 15745, the base standard for device descriptions, ensuring that they meet international guidelines for device integration into engineering tools. Hence, the adoption of GSDML quickly gained momentum within the industrial automation community, thanks to its standardized format and comprehensive capabilities. It became the de facto standard for describing PROFIBUS devices, facilitating smoother integration, configuration, and management of diverse devices. 

Fundamentals of GSDML

GSDML plays a crucial role in ensuring devices from various manufacturers can seamlessly integrate and communicate within industrial networks, thereby facilitating a more efficient and interoperable ecosystem. The essence of GSDML lies in its ability to provide a readable ASCII text file format that encompasses both general and device-specific specifications for communication and network configuration. 

A GSDML (General Station Description Markup Language) file is a comprehensive document that outlines the specifications and functionalities of devices within an industrial automation system. These files are pivotal for ensuring seamless integration and communication between various components in the network. The structure of a GSDML file is meticulously designed to cover all necessary details about a device, from its identification and operational parameters to its diagnostic capabilities and communication settings as follow: 

  • The Header Section of a GSDML file provides an overview, including the version of the GSDML specification followed, the creation or modification date, and essential metadata about the device or its manufacturer. This section sets the stage for more detailed information that follows. 
  • In the Device Identification segment, specific details such as the device's name, type, manufacturer, and model number are listed. This information is crucial for uniquely identifying the device within the automation system. 
  • The Device Parameters section delves into the various adjustable settings and parameters that define the device's operation. This includes configuration options and other operational settings that can be monitored or modified during the device's lifecycle. 
  • Device Functions are outlined to enumerate the capabilities and services the device offers. This encompasses supported communication protocols, input/output data formats, and other functionalities integral to the device's role in the system. 
  • Device Diagnostics provide insights into the device's health and operational status. It includes diagnostic data formats, error codes, and fault detection mechanisms, which are invaluable for maintenance and troubleshooting efforts. 
  • Device Alarms detail the alarm conditions and notifications the device supports, including severity levels, types, triggers, and response actions. This information is vital for pre-emptive maintenance and operational safety. 
  • The Communication Parameters specify the necessary settings for the device's integration into the automation system, covering network addresses, communication protocols, and data exchange formats. 
  • Topology Information describes the device's placement and role within the network topology, offering insights into network connections, device relationships, and network segments. 
  • Manufacturer-specific Extensions allow for additional, proprietary information to be included, offering custom functionalities or configurations unique to the device. These extensions cater to specialized requirements not covered by the standard sections of the GSDML file. 
  • Documentation and Comments may be added to provide further context, explanations, or instructions related to the device description, aiding users in understanding and utilizing the information contained within the GSDML file. 

In addition to their descriptive capacity, GSDML files also support multilingual content, allowing them to house information in various languages within a single file. This capability significantly reduces the complexity and number of files needed to describe devices, streamlining device management and configuration processes. Furthermore, these files often come accompanied by graphical representations (bitmap files) to visually depict the device during configuration, enhancing user experience and accuracy in setting up devices. 

GSDML primarily plays a crucial role at the application layer within industrial automation systems by minimizing the complexities of lower-level communication protocols and network configurations. This abstraction enables applications to concentrate on higher-level tasks, including device configuration, monitoring, and diagnostics. Although GSDML operates at the application layer, it also interacts with lower layers of the OSI model as part of the overall communication process. For instance, GSDML files may be transmitted over network protocols such as TCP/IP, which function at the transport and network layers of the OSI model. These lower layers are responsible for tasks like data transmission, routing, and error detection, ensuring that GSDML files are reliably exchanged between applications over the network. 

Leveraging XML for clear and versatile device descriptions in industrial networks

GSDML utilizes XML (extensible Markup Language) as its underlying format for representing device descriptions in industrial networks as follow: 

  • Structured data representation 

    GSDML uses XML tags to denote various elements such as device parameters, configurations, and diagnostics to provide a clear and organized way to represent detailed information about industrial devices. 

  • Tags and attributes 

    Within GSDML files, XML tags are employed to identify different data elements, including the device details, operational parameters, and other specific characteristics.  

  • Extensibility

    GSDML uses XML for its extensibility, enabling the accommodation of a broad set of device descriptions and configurations.  

  • Human readable 

    The design of XML promotes ease of reading and interpretation by humans, which is critical for developers, engineers, and system integrators working with GSDML files. The clarity and structure of the language facilitate easier management of device descriptions and adjustments when necessary. 

  • Machine readable 

    Given its standardized syntax, XML ensures that GSDML files can be seamlessly parsed and processed by various software applications and tools.  

  • XML Schema Definition (XSD) or Document Type Definition (DTD) 

    These tools are used to define the precise structure and constraints of GSDML documents. Adherence to a standardized schema, facilitated by these definitions, is essential for maintaining interoperability and ensuring the reliability of device integrations across different platforms. 

Hardware and software components in connection with GSDML files

GSDML files fulfil a variety of tasks in the development and operation of PROFINET networks, which are described below in connection with various hardware and software components: 

Hardware components: 

  1. Industrial devices: At the core of GSDML's applications are the industrial devices themselves, which range from sensors and actuators to controllers and drives. These devices are described using GSDML files, enabling them to communicate and function within industrial automation systems.
  2. Communication interfaces: Essential for connecting these devices to industrial networks, communication interfaces include modules, fieldbus cards, and network adapters. They serve as the physical link that allows devices to interact and exchange data based on their GSDML descriptions. 

Software components: 

  1. GSDML Editor/Creation Tools: The creation and editing of GSDML files are facilitated by specialized software tools. These tools, designed to adhere to the GSDML schema, allow for the input of device descriptions, parameters, and configurations in a user-friendly manner. XMLSpy is an example of such a tool used for generating and editing GSD files.
  2. XML Parser: Integral to the processing of GSDML files, XML parsers read and interpret the structured data, extracting essential information about the device for further application use.
  3. Configuration Tools: Utilizing GSDML files, configuration tools enable the parameterization of devices. By understanding the capabilities and settings described in GSDML, these tools allow for the customization of device parameters to meet specific system requirements.
  4. Engineering Workstation Software: In the design and monitoring of industrial automation systems, engineering workstation software integrates GSDML files to provide a comprehensive view of device configurations and descriptions. This Integration aids in system planning and operational oversight.
  5. Device Integration Platforms: These platforms leverage GSDML files to ensure devices are correctly integrated into industrial networks. By understanding device characteristics and communication needs, these platforms promote interoperability and seamless network functionality.
  6. Diagnostic and Monitoring Software: For maintenance and troubleshooting, diagnostic software uses GSDML descriptions to access and interpret device diagnostics, status updates, and alarms. This software is crucial for maintaining device health and performance.
  7. Simulation and Testing Tools: Before deployment, simulation and testing tools may employ GSDML files to validate system designs and configurations. This pre-emptive use helps in identifying potential issues and ensuring system reliability in real-world applications. 

Advantages of GSDML

One of the primary advantages of GSDML files is their role in enhancing device integration into engineering tools. By adhering to ISO 15745, the base standard for device descriptions, GSDML files ensure a higher level of compatibility and interoperability among devices on a PROFINET network. This standardization simplifies the engineering process, allowing for more efficient system configuration and setup. 

Moreover, GSDML files contain comprehensive information about the device, including configuration details, parameters, modules, diagnostics, alarms, and identification data. This wealth of information enables precise control and monitoring of devices, contributing to improved operational efficiency and reliability. The XML structure of GSDML files supports a data structure that accommodates multiple languages, making these files versatile and adaptable to various international projects. The flexible and extensible nature of GSDML allows manufacturers to include custom parameters and functionalities specific to their devices. This adaptability ensures that GSDML can cater to the unique requirements of diverse industrial applications and environments. 

The inclusion of a bitmap file with the GSDML also enhances the user experience by providing a graphical representation of the device during configuration. This visual aid can simplify the setup process like providing diagnostic information, status updates, and alarm notifications for each device, especially for complex devices, ensuring that configurations are done correctly and efficiently. 

Furthermore, the ability to use standard XML editors for GSDML editing fosters better integration of devices into engineering tools. This flexibility allows for easier updates and modifications, which can be crucial in dynamic industrial environments where changes to the system’s configuration may be frequent. 

Hilscher’s solutions for PROFINET networks

Hilscher’s product portfolio offers versatile solutions for PROFINET and PROFIBUS networks, enabling device integration and optimizing network performance. Their netX System on Chips (SoCs) and protocol stacks allow devices to support multiple protocols on a single chip, simplifying industrial communication. Embedded modules, pre-configured for quick deployment, save manufacturers time and resources. Hilscher also provides PC cards, gateways, and switches to extend network capabilities, while their IO-Link Masters facilitate seamless integration of IO-Link sensor technology. Additionally, Hilscher’s netX Lifecycle Support and network diagnostics ensure optimal network operation, while their netFIELD Edge Gateways and Edge OS Runtime enhance IoT integration with edge management within PROFINET networks. 

Hence, Hilscher's extensive product range caters all aspects of industrial communication needs, from the foundational netX SoCs to advanced edge management systems. Whether clients are integrating legacy fieldbuses or modern sensor networks, Hilscher's solutions offer robust, efficient, and cutting-edge communication capabilities, ensuring that industrial systems are both future-proof and efficient. 

Our products

Detached network interface Real-Time Ethernet

Communication for PC-based automation

PC card PC/104 with a detached interface - Real-Time Ethernet

Communication for PC-based automation

2-channel PC card Mini PCI Express with NVRAM - PROFIBUS DP/PROFIBUS DP

Communication for PC-based automation

PC card PCI - PROFIBUS DP

Communication for PC-based automation

Ethernet LAN PROFIBUS DP Master

LAN-controlled PROFIBUS DP Master for the DIN rail

PC card M.2 2230 Key A+E - Real-Time Ethernet

Communication for PC-based automation