PROFINET Industrial Ethernet Tutorial (10) – GSD Files

In the previous article, when talking about smart devices, we export the GSD file of smart devices and then import them into new projects to realize the data exchange between IO controllers and smart devices. So what are GSD files? Why can the IO controller recognize and communicate with the smart device after importing the GSD file? In today’s article, we will talk about this topic. This article covers the following two topics:

What are GSD files?

GSD FILE DIFFERENCE BETWEEN PROFIBUS AND PROFINET

1. What is a GSD file?

GSD is the abbreviation of “General Station Description” in English, and GSD files translated into Chinese is “General Station Description File”. As the name suggests, GSD files are used to describe the information of the site, including: data for configuration, parameters, modules (software layer), diagnostics, alarms, manufacturer ID and device ID, etc.

The Manufacturer ID is a globally unique identifier issued by the international organization PI.

In general, manufacturers of PROFINET products need to apply for a manufacturer logo to release products normally, and a few small companies will use other people’s logos. In addition to internationally renowned companies (such as Siemens AG, manufacturer logo = 42), I also saw a lot of names of Chinese companies, which shows the progress of our country in the development of PROFINET products. Due to space limitations, only some of the Chinese companies PROFINET manufacturer logos are listed as follows:

Manufacturer logo

Company name

1101

Shenzhen Inovance Technology Co., Ltd.

1390

Shanghai B&A Automation System Co., Ltd.

1419

Shanghai Hurry Electronics Tech. Co., Ltd

1426

Shanghai Zhaomu Industrial Technology.LTD

1462

Huangshan Flend Control Equipment Co.,Ltd

1468

Yantai DERON industry Co., LTD

Note: This is only a part of the Chinese manufacturer, interested partners can go to the PI official website (https://www.profibus.com/IM/Man_ID_Table.xml) to view.

Device ID is a manufacturer-defined product family identifier, such as ET200S family, ET200MP family, etc.;

The modules in the hardware configuration list are actually information obtained from GSD files. With GSD files, programming tools (such as Step7) can configure site information, set module parameters, perform online diagnostics, etc., and the IO controller can communicate with IO devices through the PROFINET network, which is why we exported GSD files in the previous article (Smart Devices).

2. The difference between the GSD files of PROFIBUS and PROFINET

GSD files were first found in the PROFIBUS system and later extended to the PROFINET system, but there is a big difference between the two.

The GSD file of the PROFIBUS system is a plain text file (ASCII text), which can be opened and edited with text editing software such as Notepad, and its suffix name varies according to the language, such as: .gsd means GSD default; .gse means GSD English; .gsg means GSD German, etc.; .gsd files are usually used.

The PROFINET system uses the XML language to describe GSD files. XML is an abbreviation for Extensible Markup Language, or “Extensible Markup Language.” It is based on the HTML language, adding extensible tags, suitable for data exchange. PROFINET’S GSD FILE USES XML LANGUAGE DESCRIPTION, HENCE THE FILE IS ALSO CALLED GSDML FILE, WHICH HAS THE SUFFIX .xml AND CAN BE OPENED WITH ANY TEXT EDITOR. The following image is a screenshot of the GSD file of IM151-3 in the Siemens ET200S family:

You can see in the figure that the manufacturer identification (VendorID) = 0x002A, that is, 42. It can also be seen that the PI manufacturer ID is 2 bytes long, so theoretically the maximum ID can be 65535; Device ID = 0x0301, Product Family = “ET 200S”;

Generally, there is a small picture in the GSDML file we downloaded, as shown in the following figure:

This image is what we see in the hardware configuration of the site.

Well, the content of GSD files will be introduced here.

My book “Siemens S7-200 SMART PLC Application Technology – Programming, Communication, Installation, Cases” has a detailed introduction of the S7-200 SMART PROFINET function, welcome to click the following link to view:

#pgc-card .pgc-card-href { text-decoration: none; outline: none; display: block; width: 100%; height: 100%; } #pgc-card .pgc-card-href:hover { text-decoration: none; } /*pc style*/ .pgc-card { box-sizing: border-box; height: 164px; border: 1px solid #e8e8e8; position: relative; padding: 20px 94px 12px 180px; overflow: hidden; } .pgc-card::after { content: ” “; display: block; border-left: 1px solid #e8e8e8; height: 120px; position: absolute; right: 76px; top: 20px; } .pgc-cover { position: absolute; width: 162px; height: 162px; top: 0; left: 0; background-size: cover; } .pgc-content { overflow: hidden; position: relative; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); } .pgc-content-title { font-size: 18px; color: #222; line-height: 1; font-weight: bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pgc-content-desc { font-size: 14px; color: #444; overflow: hidden; text-overflow: ellipsis; padding-top: 9px; overflow: hidden; line-height: 1.2em; display: -webkit-inline-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .pgc-content-price { font-size: 22px; color: #f85959; padding-top: 18px; line-height: 1em; } .pgc-card-buy { width: 75px; position: absolute; right: 0; top: 50px; color: #406599; font-size: 14px; text-align: center; } .pgc-buy-text { padding-top: 10px; } .pgc-icon-buy { height: 23px; width: 20px; display: inline-block; background: url(https://s0.pstatp.com/pgc/v2/pgc_tpl/static/image/commodity_buy_f2b4d1a.png); }

S7-200 SMART PLC application technology

¥44

purchase

The above is the introduction and description of Indoor Industrial Ethernet Connector Straight Plug 8p Horn Male Female Rj45 Connector IP44, I hope it can be helpful to you.