Translator Disclaimer
Paper
6 March 2015 Data communication between Panasonic PLC and PC using SerialPort control in C#.NET environment
Author Affiliations +
Proceedings Volume 9446, Ninth International Symposium on Precision Engineering Measurement and Instrumentation; 94463H (2015) https://doi.org/10.1117/12.2181373
Event: International Symposium on Precision Engineering Measurement and Instrumentation, 2014, Changsha/Zhangjiajie, China
Abstract
With the gradual promotion of Microsoft.NET platform, C# as an object-oriented programming language based on the platform has been widely used. Therefore, more attention is concentrated on how to achieve the communication between Panasonic PLC and PC efficiently and fast in C#.NET environment. In this paper, a method of using SerialPort control which could be used for achieving communication between PLC and PC is introduced. Meanwhile, the reason of abnormal thread when displayed the receiving data in form is analyzed and the programming method to solve the problem of thread safety is designed. Achieving the communication of Panasonic PLC and PC in C#.NET environment can give full play to the advantages of the .NET framework. It is practical, easy communication, high reliability and can combine with other measurement and calibration procedures effectively and conveniently. Configuration software is expensive and can only communicate with PLC separately, but these shortcomings can be solved in C#.NET environment. A well-designed user interface realized real-time monitoring of PLC parameters and achieved management and control integration. The experiment show that this method of data transfer is accurate and the program’ running is stable.
© (2015) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Ting Gao, Xiaochuan Gan, and Liqun Ma "Data communication between Panasonic PLC and PC using SerialPort control in C#.NET environment", Proc. SPIE 9446, Ninth International Symposium on Precision Engineering Measurement and Instrumentation, 94463H (6 March 2015); https://doi.org/10.1117/12.2181373
PROCEEDINGS
5 PAGES


SHARE
Advertisement
Advertisement
RELATED CONTENT


Back to Top