Martin Barton, Roman Budjac, P. Tanuška, P. Schreiber, Tibor Horák
{"title":"Industry Communication Based on TCP/IP Protocol","authors":"Martin Barton, Roman Budjac, P. Tanuška, P. Schreiber, Tibor Horák","doi":"10.2478/rput-2021-0025","DOIUrl":null,"url":null,"abstract":"Abstract The design of control systems needs to ensure communication between multiple PLCs or external IoT devices. Furthermore, there are several ways of communication between them. This article dealt with the PLC communication based on TCP/IP protocol, and compared several communication options between two PLCs of the S7-300 and S7-1200 series connected using Profinet with a solution built in C# connected to the PLC via an OPC server. We used MODBUS TCP, TCON, and PUT/GET program blocks for comparison. We transmitted a digital Boolean data type and an analogue value of the integer data type via Profinet to read data from the S7-300 PLC and send data to the S7-1200. We compared the programming instructions standardly used as a client/server PLC programming with a Windows Forms application, and evaluated the advantages and disadvantages of this solution even when using external IoT devices. The solution was applied and successfully tested for communication between PLC S7-1200 and Nvidia Jetson Nano. We wrote program instructions for PLC in Siemens Tia Portal V15.","PeriodicalId":21013,"journal":{"name":"Research Papers Faculty of Materials Science and Technology Slovak University of Technology","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2021-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Research Papers Faculty of Materials Science and Technology Slovak University of Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2478/rput-2021-0025","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Abstract The design of control systems needs to ensure communication between multiple PLCs or external IoT devices. Furthermore, there are several ways of communication between them. This article dealt with the PLC communication based on TCP/IP protocol, and compared several communication options between two PLCs of the S7-300 and S7-1200 series connected using Profinet with a solution built in C# connected to the PLC via an OPC server. We used MODBUS TCP, TCON, and PUT/GET program blocks for comparison. We transmitted a digital Boolean data type and an analogue value of the integer data type via Profinet to read data from the S7-300 PLC and send data to the S7-1200. We compared the programming instructions standardly used as a client/server PLC programming with a Windows Forms application, and evaluated the advantages and disadvantages of this solution even when using external IoT devices. The solution was applied and successfully tested for communication between PLC S7-1200 and Nvidia Jetson Nano. We wrote program instructions for PLC in Siemens Tia Portal V15.