Automation Glossary • GSD / GSDML file

What is a GSD file and a GSDML file?

Merobix Engineering • • 6 min read

A GSD file is the machine-readable description that tells a Profibus master everything it needs to know about a field device before it can talk to it: which modules the device has, what parameters it accepts, and how much I/O data it exchanges. GSD stands for General Station Description, and importing the right one is the first step in configuring a Profibus network. GSDML is the modern XML-based successor used on Profinet, doing the same job for Ethernet-based devices. Without the correct file, an engineering tool cannot represent the device properly, and none of its data can be scanned into a control system or pushed to the cloud.

Back to Blog

GSD / GSDML file in one line: A GSD (General Station Description) file is a machine-readable text file that describes a Profibus device to its master, listing the device's modules, configurable parameters and I/O data sizes so an engineering tool can integrate it. GSDML is the XML-based Profinet equivalent for Ethernet devices. Importing the correct file is the first step before a device's data can be configured and scanned into a control system.

What a GSD file describes

A GSD file is essentially a datasheet in a form software can read. When a manufacturer builds a Profibus slave device, they ship a GSD file that spells out its capabilities: the modules it contains, the identification numbers those modules carry, the amount of input and output data each one exchanges, and the parameters that can be set to configure the device's behaviour. The engineering tool reads this file so it knows how to lay out the device's I/O and how to talk to it correctly, rather than guessing.

The module identification numbers are a key part of the file. A Profibus device is often modular, meaning it can be built up from selectable pieces, and each piece has an ident number that both the tool and the master use to confirm that the physical device matches the planned configuration. If the ident numbers in the running device do not match what the GSD-based configuration expects, the master flags a configuration mismatch and refuses to bring the device into cyclic data exchange, which is a common cause of a device failing to come online.

Because the GSD file also lists the device's parameters, it is what lets an engineer set options like measurement ranges, alarm limits or operating modes from the engineering tool rather than from the device's front panel. In short, the GSD file is the bridge between the manufacturer's knowledge of the device and the integrator's need to configure it, and the correct version for the exact device model is what makes that bridge sound.

From GSD to GSDML: the Profinet successor

GSDML carries the same idea forward onto Profinet's Ethernet world, but in a modern format. The letters ML signal that it is based on XML, a structured markup language, which makes it far richer and more extensible than the older plain-text GSD format. A GSDML file describes a Profinet device's modules, submodules, I/O data, parameters and diagnostic information in a hierarchical structure that an engineering tool can parse to build a complete picture of the device.

The move to XML was driven by the greater complexity of Ethernet-based devices. Profinet devices can have layered structures of slots and subslots, detailed diagnostic channels, and more elaborate parameterisation than a typical Profibus slave, and the free-form richness of XML accommodates that far better than the older fixed format could. GSDML files therefore tend to be larger and more detailed, and they support features like device versioning and multi-language text that the original GSD format was never designed for.

Despite the different format, the workflow is familiar: you obtain the correct GSDML file for your exact device, import it into the engineering tool's device catalog, and then place and configure the device from that catalog entry. The tool uses the GSDML to validate that the configured modules match the real hardware and to expose the parameters and diagnostics the device offers. As with GSD, having the right file for the specific device model and firmware is what makes the rest of the configuration trustworthy.

Why the right file comes before any cloud data

The importance of these files becomes obvious the moment you try to scan a device's data anywhere, including up to a cloud SCADA system. The engineering tool cannot know that a transmitter offers a pressure value in a particular data slot, or that a drive reports its status word in a given position, unless the device description told it so. Without the GSD or GSDML file, the tool sees at best a blob of bytes with no meaning, and there is nothing sensible to name, scale or map to a tag. Getting the file right is genuinely the first step, not an afterthought.

For an integrator whose job is to lift field data into a platform like Merobix, the device description is what turns raw I/O into named, typed tags. Once the correct file is imported and the device is configured, each measurement and status bit has a known meaning, engineering unit and location, and it can be mapped to a cloud tag with confidence. Skipping or using the wrong file leads to the classic problems of mislabelled points, wrong scaling and values that read plausibly but are attached to the wrong physical signal.

There is also an operational angle: keeping the exact device descriptions on file makes future work far smoother. When a device is swapped or a site is expanded, having the matching GSD or GSDML on hand means the replacement can be configured to the same tag map quickly, and the cloud dashboards keep working without a scramble to hunt down the right file from a manufacturer. Treating device descriptions as part of the site's documentation, not just a one-time download, pays off every time the hardware changes.

Frequently Asked Questions

What is the difference between a GSD file and a GSDML file?

A GSD file is the older plain-text device description used on Profibus, while GSDML is the newer XML-based version used on Profinet. Both describe a device's modules, I/O data and parameters so an engineering tool can integrate it, but GSDML's XML format supports the richer structure and diagnostics of Ethernet-based devices.

Where do you get the GSD or GSDML file for a device?

The device manufacturer supplies it, usually as a download for the specific model and firmware version. You import the correct file into the engineering tool's device catalog before placing and configuring the device, and using the exact matching version avoids configuration mismatches and wrong data mapping.

Why won't a device come online without the correct file?

The master compares the device's module identification numbers against the configuration built from the device description. If the file is missing or wrong, the ident numbers do not match, the master reports a configuration mismatch, and it refuses to bring the device into cyclic data exchange, so no data flows until the correct file is used.

From Definitions to a Live Dashboard

Merobix reads your field devices into a cloud SCADA - the real thing behind these terms, live in days from any browser.

Request a Free Demo +1 (903) 307-7300
More in Automation Glossary
EtherCAT distributed clocks  •  EtherCAT Hot Connect  •  CANopen object dictionary  •  CANopen PDO vs SDO  •  Node guarding vs heartbeat  •  DeviceNet  •  All Automation Glossary →
Free SCADA operator training
Merobix University - 70 video lessons & 261 quiz questions, from first login to compliance reporting. No demo call required.
Start free →