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, Ting Gao, Xiaochuan Gan, Xiaochuan Gan, Liqun Ma, 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); doi: 10.1117/12.2181373; https://doi.org/10.1117/12.2181373
PROCEEDINGS
5 PAGES


SHARE
RELATED CONTENT

The software simulated model based on DMAM: BJX-SIM
Proceedings of SPIE (March 13 2013)
Centralized control for combined environment test system
Proceedings of SPIE (October 27 2006)
Structure synthesize and development for software radio
Proceedings of SPIE (August 21 2002)
Distributed Data Flow Signal Processors
Proceedings of SPIE (December 27 1982)

Back to Top