Share Email Print
cover

Proceedings Paper

Data communication between Panasonic PLC and PC using SerialPort control in C#.NET environment
Format Member Price Non-Member Price
PDF $14.40 $18.00
cover GOOD NEWS! Your organization subscribes to the SPIE Digital Library. You may be able to download this paper for free. Check Access

Paper 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.

Paper Details

Date Published: 6 March 2015
PDF: 5 pages
Proc. SPIE 9446, Ninth International Symposium on Precision Engineering Measurement and Instrumentation, 94463H (6 March 2015); doi: 10.1117/12.2181373
Show Author Affiliations
Ting Gao, Changcheng Institute of Metrology and Measurement (China)
Xiaochuan Gan, Changcheng Institute of Metrology and Measurement (China)
Liqun Ma, Changcheng Institute of Metrology and Measurement (China)


Published in SPIE Proceedings Vol. 9446:
Ninth International Symposium on Precision Engineering Measurement and Instrumentation
Junning Cui; Jiubin Tan; Xianfang Wen, Editor(s)

© SPIE. Terms of Use
Back to Top