Page 1 of 1

[PL700] PL700 as PROFINET device: how to generate GSDML file

Posted: 23/04/2024, 10:37
by Pixsys tecnico 1
If the PL700 is used as a PROFINET device, the GSDML file from the Codesys environment will need to be generated for use with the TiAPortal software.

First of all, you need to configure your Codesys PLC project correctly:
- right-click on the PLC and select "add device"
- add an "Ethernet adapter Ethernet" device
Insert_ETH_adapter.png
- right-click on the "Ethernet" device and select "add device"
- add a device of type "PROFINET IO PROFINET IO Device CODESYS PROFINET Device"
Insert_Profinet_Device.png
Now create your own PLC IO mapping, compile and save the project.

To export the GSDML file from Codesys, proceed as follows:
- go to the "Device repository" menu
- select the device "PROFINET IO PROFINET IO Device CODESYS PROFINET Device"
- press the "Export" button
GSDML_Export.png
A .zip file will be generated containing the Codesys device descriptor and a generic .xml file compatible with the GSDML standard. This file can be edited with an XML editor or a specific editor for GSDML files in order to make it specific to the I/O resources of your PL700 Codesys project.