Skip to content

Converts a ProfiNet GSD file to an AML string or an AMLX package using the AML.Engine.

License

Notifications You must be signed in to change notification settings

SinoIoT/GSD2AML-Converter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gsd2Aml

Welcome to Gsd2Aml! This project was developed as a student project by (in alphabetical order)

  1. Nico Dietz
  2. Steffen Gerdes
  3. Constantin Ruhdorfer
  4. Jonas Komarek
  5. Vu Quang Phuc
  6. Michael Weidmann

at Baden-Wuerttemberg Cooperative State University (DHBW) Stuttgart under supervision of Markus Rentschler and Christian Ewertz.

This project is distributed via:

  1. GitHub
  2. NuGet

We can be found as a GitHub Team.

About this project

This project was developed in .Net Framework 4.7. This project converts a Profinet (PN-)GSD file to AutomationML. There are several ways to use this project:

  1. GUI
  2. CLI
  3. Implement the library for your own purposes

You can get an installer or a portable version on the appropiate GitHub release page.

Contributing to this project

Contributions are always welcome! If you want to contribute feel free to fork this repo and later perform a pull request.

Subprojects

The seperate subprojects are explained here and can be found under /src/.

Gsd2Aml.Lib

The heart of this project. The library contains all the relevant logic for:

  1. checking the GSD files validity
  2. performing the conversion and either
    • returning a string containing the AutomatonML content.
    • or converting the GSD file to an .aml file and package that, including all its dependencies, into an .amlx package. This process uses the AML.Engine.

Additional information, including the relevant conversion rules, can be found in the readme of the library.

Gsd2Aml.Gui

Contains the code that makes up the CLI. The Gui gives the user access to the functonality of the library without requiring the user to implement the library for themselfs. It comes with added functionality like checking paths and visually informing the user about events.

The main window of the GUI

Gsd2Aml.Cli

Contains the code that makes up the CLI. This includes parsing and handeling the arguments. The CLI gives the user access to the functonality of the library without requiring the user to implement the library for themselfs.

It comes with various flags to handle the conversion:

The Clis help flag

Gsd2Aml.Setup

Contains the code relevant for building the installer. It uses the WIX toolset.

Gsd2Aml.Test

Contains the code for all unit tests. The unit tests were build with Microsoft Unit Test Framework.

About

Converts a ProfiNet GSD file to an AML string or an AMLX package using the AML.Engine.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.8%
  • Other 0.2%