The Serial Communication and Implementation of Monitoring System
- Author
- DaiYu
- Advisor
- WangShaoXin
- School
- Dalian University of Technology
- Major
- Design and manufacture of ships and marine structures
- Classification
- TP277 Monitoring, alarm,fault diagnosis system
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 392
- Citations
- 2
Abstract
The main subject is to study under Windows XP using Visual C 6.0 compiled PLC serial communications control software. Requirements : Control interface design friendly, simple operation ; able to perform on-site equipment, start, stop , parameter settings and other basic operations ; energy in the form of the curve graphically displays the current PLC gathering Monitoring equipment such as frequency, current and other data. And the establishment of the equipment's original databases, manage device parameters and data. PLC selects Siemens 200 series PLC, using the PPI / PC cable for PLC and PC hardware connected to the computer's serial interface optional RS232. Packet format selected Siemens 200 series PLC PPI protocol encapsulated in the prescribed format , parity error detection . By encapsulating Visual C 6.0 provides the Windows API function , the preparation of the underlying communication functions , generate dynamic link library (DLL) for applications to call . Underlying communication functions include : basic communication functions and message communication function . Encapsulates the basic communication functions such as opening the serial port , configure the serial port, serial port to read and write and the closure of the operation . Message communication function is to read and write data in the computer \Main frame with Visual C 6.0 of the MFC created. Original database created with Microsoft Access for field device parameters and procedures for the storage of the data transfer . Program interface includes raw data query interface , add a new record interface , dynamic curve control interface. Interface design using a variety of controls. Such as: edit boxes , buttons, etc. . Serial communication through dynamic link library called underlying communication function implementation . Finished executing serial control, including start and stop , read and write parameters , dynamic curve and other operations. Data query interface and add a new record interface controls variables associated with the corresponding fields in the database , the realization PLC control device parameters , data transmission and storage.
Table of contents
Abstract 4-5
Abstract 5-9
Introduction 9-10
1 Overview 10-15
1.1 topics sources and significance 10-11
1.2 project tasks and research tools 11-12
1.3 System Design Review 12-15
2 communication interface 15-23
2.1 RS-232-C serial interface standard 15-17
2.2 RS-485/422 serial protocol 17
2.3 PPI protocol defines 17-18
2.4 PLC packet format 18-23
3 computer underlying communication software design 23-37
3.1 Visual C serial communication software preparation method 23-24
3.2 Select event-driven serial communication work 24
3.3 S7-200 series PLC communication programming 24-33
3.3.1 serial port initialization 26-29
3.3.2 message communication function 29-33
3.4 to create a dynamic link library 33-37
4 system -friendly interface design 37-57
4.1 main framework for the establishment 37-40
4.2 field device parameters of the original database creation 40-42
4.3 field device parameter query interface design 42-44
4.4 demo production line interface design 44-45
4.5 dynamic curve interface programming 45-53
4.5.1 graphing basic concepts and methods 46-47
4.5.2 Curve 47-53
4.6 MATLAB and VC connection 53-57
5 system debugging 57-59
5.1 software operating environment 57
5.2 integrated debugging 57-59
Conclusion 59-78
References 78-60
Appendix A Appendix content name 60-81
Thanks 81-82
Dalian University dissertation copyright attorney 82
Related dissertations
- Design and Implementation of Integrated Charging System without Parking Based on PLC
- Research on Ground Control Software for UAV Based on Digital Map Technology
- Development of a Measurement and Control System of the Sliding Bearing Test Bench for the Fuel Pump
- Study on the Construction of Agricultural Information Service System
- Study on the Integration and Application of the Second Land Survey Data
- Study on Database Construction and Application Research of Township Overall Land Use Planning
- Countermeasure Research on the Development of Digital Library Integrated Retrieval System in China
- Design and Implementation of Hydrological Information Telemetry System Based on GSM
- Reseach and Design of Automated Production Line of the New Prefabricated Exhaust for Residential Ketchen
- Development of Automated Production Line Teaching Experiment Platform Based on Profibus
- Development and Application about Data Management System of PVC Glove Production Line
- Based on PLC Street-lamps Romote Monitoring System Research and Implementation
- The Development and Research of an Intelligent Sewage Trestment System Based on Cast Craft
- Monitoring System of Motion Position Platform Design Based on Wincc
- The Design and Development of Unattended Remote Measurement and Monitoring System in Steel Business
- Design of Monitoring System in Oilfield Metering Station Based on PLC
- The Sewage Treatment Plant of Langfang Development Zone Control System Analysis
- Design and Implementation on Three-dimensional Monitoring System of Data Center
- Mine Drainage Automation Monitoring System Design and Implementation
- Design and implementation of computer monitoring and control system of pumping station based on PLC