Original title:
Aplikace pro generování PLC programů pomocí TIA Openness
Translated title:
The Application for the PLC Program Generation using TIA Openness
Authors:
Janeček, Pavel ; Pásek, Jan (referee) ; Arm, Jakub (advisor) Document type: Master’s theses
Year:
2020
Language:
cze Publisher:
Vysoké učení technické v Brně. Fakulta elektrotechniky a komunikačních technologií Abstract:
[cze][eng]
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.
Keywords:
C#; HMI; PLC; TIA Openness; TIA Portal; C#; HMI; PLC; TIA Openness; TIA Portal
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/189419