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

Request the full text

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

  1. Design and Implementation of Integrated Charging System without Parking Based on PLC
  2. Research on Ground Control Software for UAV Based on Digital Map Technology
  3. Development of a Measurement and Control System of the Sliding Bearing Test Bench for the Fuel Pump
    ZhangWenMing ·Hefei University of Technology ·2013 ·Master's thesis
  4. Study on the Construction of Agricultural Information Service System
    YangBoZuo ·Hunan Agricultural University ·2013 ·Master's thesis
  5. Study on the Integration and Application of the Second Land Survey Data
    WanKai ·Inner Mongolia Normal ·2012 ·Master's thesis
  6. Study on Database Construction and Application Research of Township Overall Land Use Planning
    LiRongLin ·Jiangxi Agricultural University, ·2012 ·Master's thesis
  7. Countermeasure Research on the Development of Digital Library Integrated Retrieval System in China
    WangXu ·Xiangtan University ·2013 ·Master's thesis
  8. Design and Implementation of Hydrological Information Telemetry System Based on GSM
  9. Reseach and Design of Automated Production Line of the New Prefabricated Exhaust for Residential Ketchen
  10. Development of Automated Production Line Teaching Experiment Platform Based on Profibus
    HuYa ·Dalian University of Technology ·2013 ·Master's thesis
  11. Development and Application about Data Management System of PVC Glove Production Line
  12. Based on PLC Street-lamps Romote Monitoring System Research and Implementation
    JiangYang ·Dalian Polytechnic University ·2011 ·Master's thesis
  13. The Development and Research of an Intelligent Sewage Trestment System Based on Cast Craft
  14. Monitoring System of Motion Position Platform Design Based on Wincc
  15. The Design and Development of Unattended Remote Measurement and Monitoring System in Steel Business
    HanXiao ·Yanshan University ·2012 ·Master's thesis
  16. Design of Monitoring System in Oilfield Metering Station Based on PLC
  17. The Sewage Treatment Plant of Langfang Development Zone Control System Analysis
    SunChenZuo ·Yanshan University ·2012 ·Master's thesis
  18. Design and Implementation on Three-dimensional Monitoring System of Data Center
    WangZhenYong ·Yanshan University ·2012 ·Master's thesis
  19. Mine Drainage Automation Monitoring System Design and Implementation
  20. Design and implementation of computer monitoring and control system of pumping station based on PLC
    XieZhengHua ·Jiangxi University of Technology ·2013 ·Master's thesis