IMDHMIControls LibraryShop main store

How-to

Why PROFINET GSD modules need slot-matched insertion in TIA Portal

Industrial networks Published 5 min read By IMDHMI controls team

Short answer

Installing a PROFINET device's GSD file in TIA Portal only makes the device and its module catalogue available; it does not build the cyclic process data. You must drag each required module individually from the Module folder into its permitted slot, using the plus-sign insertion indicator, and only then can you edit the input and output byte addresses and assign tags.

On this page
  1. What a GSD file gives you and what it does not
  2. The worked example
  3. Insertion feedback and slot order
  4. Input and output direction at the controller boundary
  5. Configuration errors versus an offline device
  6. How-to: slot-matched insertion, step by step
  7. Questions asked

Installing a PROFINET device's GSD file in TIA Portal does not by itself create the cyclic process data you program against. The file makes the device and its module catalogue available; to get input and output byte addresses you can edit, you must drag each required byte entry individually from the catalogue folder named Module into its permitted slot in the device, watching for the small plus sign that marks a compatible row, and only then open the module's properties and assign the addresses. Catalogue order is not slot order, so following the displayed sequence will drop modules into wrong or rejected rows.

What a GSD file gives you and what it does not #

A General Station Description file describes a third-party PROFINET device and the modules the engineering software may configure for it. The cyclic process data — the input and output bytes exchanged on every update — exists in the project only where you have inserted a module into a slot. The device description supplies the permitted configuration; the modules you insert determine which process-data areas actually exist in the controller image.

Until a module occupies a slot, selecting the device shows no module-level address fields at all, which is exactly the symptom that sends people hunting for a network fault. There is none: the configuration is simply unfinished. The same distinction applies on the device side — a related case is an IO-Link hub whose outputs stay off even though the process image looks valid, described in article:why-io-link-hub-outputs-stay-off-despite-a-valid-process-image.

The worked example #

Take a safety relay fitted with a PROFINET communication module (the PNOZ m ES Profinet, order number 772138) controlled by an S7-1200 CPU 1215C in TIA Portal V15. The GSD file is installed, the device is placed on the network view, and the Module folder in the device catalogue lists several byte entries. Suppose the application needs two input modules and one output module:

  1. Open the placed device and expand its Module folder.
  2. Drag the first required input byte entry over the device's module rows. A small plus sign appears at a permitted row; drop it there. The editor inserts, for example, a 2-byte input module at slot 2 with start address IB64.
  3. Repeat individually for the second input entry — say 2 bytes accepted at slot 3, auto-assigned IB66 — and for the output entry, 2 bytes accepted at slot 4, assigned QB64.
  4. Open each inserted module's properties and edit the start addresses to your project allocation, for example change IB64 and IB66 to IB100 and IB102, leaving the output module at QB64.
  5. Check occupied ranges within each address area: IB100–101 and IB102–103 do not overlap; input and output areas are separate, so QB64 alongside IB100 is not an overlap.
  6. Create PLC tags against those addresses, with direction and meaning taken from the device manufacturer's process-data documentation, not inferred from byte position.
  7. Compile the hardware configuration, clear any reported device, module, slot or address error, and download.

The arithmetic is trivial but worth doing once per project: with start address 100 and a 2-byte module, the occupied range is 100 to 101 inclusive, so the next module must start at 102 or later in the same area. A start at 101 would overlap byte 101 and the compiler rejects it.

Insertion feedback and slot order #

A slot is a configured module position within the device. The first visible catalogue entry does not necessarily belong in the first visible device row; the permitted rows differ per entry, which is why dragging entries in catalogue order confuses. When a row gives no insertion indication, the editor is not accepting that entry there — move across the rows until the plus sign appears rather than forcing the catalogue order. Dropping on a row that shows the indicator gives a valid placement, then verify the resulting module identity and slot against the manufacturer's process-data documentation before building logic on it. If you are generating the device description yourself rather than consuming one, the export path in article:exporting-the-gsdml-for-a-codesys-profinet-device shows where those module definitions come from.

Input and output direction at the controller boundary #

Input and output are defined from the controller's perspective: an input carries data from the PROFINET device into the PLC, an output carries data from the PLC to the device. A device-side document may describe the same transfer from the opposite perspective, so identify sender and receiver explicitly when building the tag mapping. A correctly addressed byte can still drive wrong logic if its bit meanings disagree with the device configuration — the address locates the data, it does not define it.

Configuration errors versus an offline device #

Resolve missing modules and invalid slots before testing the network. A PROFINET controller compares the configured module arrangement with the arrangement the physical device presents; a mismatch prevents cyclic exchange even with a healthy cable. After downloading, read the online diagnostics: a module mismatch means compare the inserted modules and their slots with the actual equipment, not change IP settings. If the device is unreachable instead, check device name and network parameters first — the separation between cyclic-data faults and connection faults is the same one behind article:why-a-profinet-drive-reports-a08526-no-cyclic-connection. A missing address field is an engineering-configuration problem; inserting modules fixes it, and network settings do not.

Safety note: where the device carries a safety function, slot-matched configuration makes the data reachable but does not validate the safety function itself — that validation follows the applicable machine-safety standard and the manufacturer's integration documentation.

How-to: slot-matched insertion, step by step #

  1. Install the GSD file and place the device in the network view.
  2. Open the device and expand the Module folder in its catalogue.
  3. Drag each required byte entry to the device rows individually; use the plus-sign indicator to find the permitted slot.
  4. After each drop, verify the module's identity and slot against the device's process-data documentation.
  5. Open each module's address properties, assign the intended input or output start address, and record the mapping.
  6. Check for overlaps within each address area and create tags that match direction, address and meaning.
  7. Compile, resolve every reported configuration error, and download before online testing.

Follow those steps in order and the address question answers itself: the fields appear the moment a module occupies a slot, and the tag mapping you record in step 5 is the one your logic can trust.

Questions asked

I installed the GSD file in TIA Portal. Why can I not edit the input and output byte addresses?

The address fields belong to inserted modules, not to the device entry. Until you drag the required byte entries from the Module folder into the device's slots, there is no module selected, so no address can be edited. Insert the modules first, click one, and its start address becomes editable in the module's properties.

Does the order of entries in the Module folder tell me which slot each module goes in?

No. Catalogue order and slot order are independent, and the permitted rows differ between entries. Drag the entry over the device rows and wait for the small plus sign, which marks a row that accepts that module. Drop it there, check its identity and slot, then repeat for each remaining entry.

The configuration compiles but the device reports a module mismatch online. What should I compare?

The controller compares the configured arrangement with what the physical device presents. Compare the selected device description version, each inserted module's identity and its slot with the device's own configuration and its process-data documentation. Fix the module and slot arrangement before touching network settings.

Keep reading

  • Explainer

    Why a RevPi Connect S needs a PROFINET gateway for an S7-1500

    In PROFINET the I/O controller defines the data layout, and it reads that layout from the device's GSDML file. A RevPi Connect S does not present a GSDML on its own, so it needs a RevPi Gate PROFINET IRT device module (or a CODESYS soft PLC acting as the PROFINET device) before the S7-1500 can exchange I/O with it.

    Industrial networks

  • Troubleshooting

    Why an IM154-8FX says PROFINET IO module removed then returns

    A 16#3951 loss followed within the same second by a 16#3854 return on an IM154-8FX is an intermittent availability fault, not a physically removed module. On plants where every loss lands during motor starter switching, treat it as a supply dip, grounding or cable-routing problem. Read the station number and input address from the buffer, record the control supply with a time-correlated instrument, and correct the demonstrated electrical cause before ordering hardware.

    Industrial networks

  • Comparison

    Why PROFINET RT and IRT need different PC hardware

    HSE, EtherNet/IP and PROFINET NRT run on a stock PC Ethernet NIC because they ride on IP and TCP or UDP. PROFINET RT also runs on stock hardware if the stack sends raw Ethernet frames and the PC stays on one segment. Only IRT needs dedicated time-scheduled hardware, and a PC connects to an IRT cell through ordinary Ethernet ports only.

    Industrial networks