Aplikace pro generování PLC programů pomocí TIA Openness
Loading...
Date
Authors
Janeček, Pavel
ORCID
Advisor
Referee
Mark
A
Journal Title
Journal ISSN
Volume Title
Publisher
Vysoké učení technické v Brně. Fakulta elektrotechniky a komunikačních technologií
Abstract
Tato diplomová práce se zabývá vytvořením aplikace umožňující generování PLC a HMI programů pomocí TIA Openness. Aplikace je naprogramována tak, aby byla separována logika od grafiky, což je výhodné při případné obměně vizuální stránky aplikace. Generování programů je možné pomocí XML předpisu či vytvořením konfigurace v rámci průvodce aplikace. Generování probíhá přepisováním zdrojových XML souborů obsažených v aplikační knihovně dle navolené konfigurace. Aplikace byla vytvořena pomocí frameworku Windows Forms v jazyku C#. Byla vytvořena referenční sada modulů zařízení pro PLC a HMI ve vývojovém prostředí TIA Portal V15.1. Zdrojové XML soubory, na základě kterých generování probíhá, byly následně získány exportováním referenční sady a umístěny do knihovny aplikace. Pomocí simulačního nástroje Factory I/O a S-7 PLCSIM bylo ověřeno, že generovaný program je díky namapování proměnných na piny bloků plně funkční v manuálním režimu. Zároveň bylo dokázáno, že lze generovat programy pro různé stroje, což svědčí o univerzálnosti použití aplikace. Přínosem této práce je podstatné zkrácení doby při vytváření nových PLC a HMI programů.
This thesis focuses on creating an application that allows generation of PLC and HMI programs using TIA Openness. The application is programmed to separate logic from graphics, which is beneficial in case of a change of the visuals of the application. Generating programs is possible thanks to the XML transcription or by creating a configuration within the application guide. The generating is done by overwriting source XML files contained in the application library according to the selected configuration. The application was created with Framework Windows Forms in C#. A reference set of device modules has been created for PLC and HMI in the development environment of TIA Portal V15.1. The source XML files, on the basis of which the generating is carried out, were then obtained by exporting a reference set and placed into the application library. With a simulation tool Factory I/O and S-7 PLCSIM it was verified that the generated program is, thanks to the mapping of variables on pins of blocks, fully functional in manual mode. At the same time it was proved that it is possible to generate programs for different devices which signifies the versatile use of this application. The contribution of this work is the significant reduction of time when creating new PLC and HMI programs.
This thesis focuses on creating an application that allows generation of PLC and HMI programs using TIA Openness. The application is programmed to separate logic from graphics, which is beneficial in case of a change of the visuals of the application. Generating programs is possible thanks to the XML transcription or by creating a configuration within the application guide. The generating is done by overwriting source XML files contained in the application library according to the selected configuration. The application was created with Framework Windows Forms in C#. A reference set of device modules has been created for PLC and HMI in the development environment of TIA Portal V15.1. The source XML files, on the basis of which the generating is carried out, were then obtained by exporting a reference set and placed into the application library. With a simulation tool Factory I/O and S-7 PLCSIM it was verified that the generated program is, thanks to the mapping of variables on pins of blocks, fully functional in manual mode. At the same time it was proved that it is possible to generate programs for different devices which signifies the versatile use of this application. The contribution of this work is the significant reduction of time when creating new PLC and HMI programs.
Description
Keywords
Citation
JANEČEK, P. Aplikace pro generování PLC programů pomocí TIA Openness [online]. Brno: Vysoké učení technické v Brně. Fakulta elektrotechniky a komunikačních technologií. 2020.
Document type
Document version
Date of access to the full text
Language of document
cs
Study field
Kybernetika, automatizace a měření
Comittee
doc. Ing. Petr Fiedler, Ph.D. (předseda)
doc. Ing. Petr Blaha, Ph.D. (místopředseda)
Ing. Jakub Dokoupil, Ph.D. (člen)
doc. Ing. Václav Kaczmarczyk, Ph.D. (člen)
Ing. Stanislav Klusáček, Ph.D. (člen)
Ing. Radovan Holek, CSc. (člen)
Date of acceptance
2020-06-18
Defence
Student obhájíl předloženou diplomovou práci. Dále také studnet odpověděl na všechny dotazy oponenta a další doplňující dotazy zkušební komise.
Result of defence
práce byla úspěšně obhájena
Document licence
Standardní licenční smlouva - přístup k plnému textu bez omezení