摘要为提高船舶机舱自动化程度,需要对船舶机舱内设备的运行状态进行实时监控。机舱内的设备种类繁多,采集到的数据是包括温度、压力、转速、液位等,需要对这些开关量以及连续变化的模拟量进行处理。86020
本文研究的主要内容是采用S7-200PLC可编程控制器对机舱进行自动化数据采集处理。论文首先主要介绍了可编程控制器的结构功能,在此基础上介绍STEP7-Micro/WIN软件的使用,以及相应的仿真软件的使用。其次在了解船舶机舱内所要采集的各类数据的基础上具体分析采集系统的硬件和软件设计。然后通过PLC进行程序编写,对采集的开关量数据实现集中报警处理;对采集的模拟量信号实现数据转换。本文中对于开关量数据和模拟量数据处理的程序采用模块化编程,通过子函数的调用实现处理功能,通用性好,修改以及维护方便。
本文最后通过仿真软件对程序进行调试,调试结果表明设计的程序可以完成对所采集的数据进行处理,满足开关量和模拟量数据处理的要求。
毕业论文关键词:船舶机舱;数据采集;可编程控制器;报警
Abstract In order to improve the automation degree of the marine engine room, the operation status of the equipment in the engine room should be monitored in real time。 There are many kinds of equipment in the engine room。 The collected data include temperature, pressure, rotational speed, liquid level and so on。 And need to deal with the amount of these switches and the simulation of continuous change。
The main content of this paper is to use the S7-200PLC programmable controller to carry out the automatic data acquisition and processing of the engine room。 First of all, the paper introduces the structure and function of the programmable controller, introduces the use of STEP7-Micro/WIN software, and the use of the corresponding simulation software。 Secondly, the hardware and software design of the acquisition system based on the detailed analysis of all kinds of data to be collected in the marine engine room。 And then through the PLC programming, to switch data acquisition centralized alarm processing; acquisition of analog signal data conversion。 In this paper, the process of switching data and analog data processing using modular programming, through the sub function calls to achieve the processing function, good versatility, modify, and easy to maintain。
Finally, the simulation software program for debugging, debugging results show that the design process can be completed on the data collected are processed, meet the requirements of switching and analog data processing。
Keywords: Ship engine room; data acquisition; programmable controller; alarm
目 录
第一章 绪 论 1
1。1课题研究的目的及意义 1
1。2数据采集处理发展现状及展望 2
1。3 本文内容 3
第二章 可编程控制器的介绍 4
2。1 S7-200的介绍以及结构 4
2。1。1 西门子S7-200的特点 4
2。1。2 可编程控制器的结构 4
2。2 S7-200的基本工作原理 6
2。2。1 S7-200的工作过程 6
2。2。2 S7-200PLC的工作原理 7
2。3 STEP7-Micro/WIN V4。0 SP9的使用 8
2。3。1 STEP7-Micro/WIN V4。0 SP9的编程方式