Martin Barton, Roman Budjac, P. Tanuška, P. Schreiber, Tibor Horák
{"title":"基于TCP/IP协议的工业通信","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":"10 1","pages":"59 - 66"},"PeriodicalIF":0.0000,"publicationDate":"2021-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"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\":\"10 1\",\"pages\":\"59 - 66\"},\"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}","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
摘要
控制系统的设计需要保证多个plc或外部物联网设备之间的通信。此外,它们之间有几种通信方式。本文讨论了基于TCP/IP协议的PLC通信,并比较了使用Profinet连接的S7-300和S7-1200系列PLC之间的几种通信选项,以及c#内置的解决方案,通过OPC服务器连接PLC。我们使用MODBUS TCP、TCON和PUT/GET程序块进行比较。我们通过Profinet传输数字布尔数据类型和整数数据类型的模拟值,从S7-300 PLC读取数据并将数据发送到S7-1200。我们将客户端/服务器PLC编程标准使用的编程指令与Windows Forms应用程序进行了比较,并在使用外部物联网设备时评估了该解决方案的优点和缺点。将该方案应用于PLC S7-1200与Nvidia Jetson Nano之间的通信,并进行了成功的测试。在Siemens Tia Portal V15中编写PLC的程序指令。
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.