Abstract:
In order to solve the problem of the real-time communication of glass detection and positioning system in industrial production, a glass detection and positioning system based on the PROFINET communication was designed. The PROFINET slave station in the upper computer was built by cifX-50E-RE board to realize the communication between the upper computer and the PROFINET master station of S7-1500 PLC. Then the dynamic link library was used to realize the communication between software LabVIEW and the slave station. The communication scheme of PROFINET was tested on the industrial site. The results show that the designed scheme in the article can realize the PROFINET real-time communication between LabVIEW host computer and S7-1500 PLC. When the data volume is 200 B, the average communication time is less than 4 ms, and its accuracy and real-time performance meet the the requirements of field industry. The cost-effective PROFINET communication is successfully applied to the glass detection and positioning system.