无线模块与PLC自控系统接口通讯设计

 2022-01-30 07:01

论文总字数:23209字

摘 要

在工业生产中,常常需要实时的测量现场环境的各种指标,以便能及时的做出合适的反应,然而有时候现场环境复杂,容易对仪器造成损害,或者是需要测量的数据过多,导致现场总线复杂,抑或是测量处在偏远的地区,这时候往往需要进行远距离的数据传输,实现远程监控。

远程测控是指本地计算机通过通信网络实现对远程系统的检测和控制,能够实现远程测控功能的通信媒体、软硬件系统称为远程测控系统。本课题的最终目标是建立远程测控系统,实现模拟量的实时采集、无线传输以及数据存储。远程测控系统主要由下位机、无线传输及上位机三部分组成。

实现远程测控系统的重点是实现无线模块和测控模块的接口。围绕这个方面,本文首先比较了现在市场上比较流行的无线通讯模块,从而选择一种较为便宜且能较好的满足实时数据传输的无线通讯模块。此外,对于控制器方面,本文选择了PLC-1500作为该系统的控制器。为了能够实现数据实时监控和显示,本文采用WinCC来制作人机界面,在串口通讯中,为了使得整个的过程简单化,我们采用了MSCommon控件来打开串口,传送数据。

关键词:串口通讯、PLC、WinCC、无线传输、VB、远程测控、MSComm

Design of interface between wireless module and PLC automatic control system

Abstract

In industry, we often need to measure various indicators of the environment of the field, in order to promptly make the appropriate response, sometimes, however, because of the complex environment, the equipments are easy to be damaged. Sometimes, there are too much to be measured, resulting in complicated fieldbus, so the need for wireless transmission is urge.

Remote measurement and control means that using communication network to realize the remote system detection and control. The software and hardware equipments that can realize the remote measurement and control are called “remote measurement and control system”. The ultimate goal of this project is to establish a remote measurement and control system, which can realize the real-time collection, wireless transmission and data storage. The remote measurement and control system mainly consists of three parts, the slave computer, the wireless transmission and the upper computer.

The realization of remote measurement and control system focus on the interface of the wireless module and the measurement and control module. In this respect, firstly, this paper compares several popular wireless communication module in the market, so as to select a kind of wireless communication module which is cheaper and can better meet the need of the real-time data transmission. In addition, this paper chooses PLC-1500 as the controller of the system. In order to realize the real-time data monitoring and display, this paper adopts WinCC to make man-machine interface, in serial communication, in order to make the whole process simple, we adopt the control mscommon to open the serial port to send data..

KEYWORDS: Serial Communication, PLC, WinCC, VB, MSComm, Remote measurement and control, Remote measurement of wireless transmission.

目录

摘要 I

Abstract II

第1章 绪论 5

1.1 可编程逻辑控制器 5

1.2 远程测控 6

1.3 研究的意义及主要内容 6

第2章 总体设计 8

2.1 无线通信模块的选择 8

2.1.1 数传电台技术 8

2.1.2 GPRS方式 8

2.2 系统结构设计 9

2.2.1 系统总体结构 9

2.2.2 PLC的选择 9

2.2.3 数传电台的选择 10

2.3 接口设计 12

2.3.1 PLC与模拟量采集模块的接口 12

2.3.2 数传电台与计算机\PLC的接口 14

2.3.3 系统实物图 16

2.4 软件开发平台介绍 17

2.4.1 组态软件的选择 17

2.4.2 博图平台介绍 17

第3章 PLC程序的设计 19

3.1 硬件选型 19

3.2 通信方式的选择 19

3.3 组态设备 20

3.3.1 组态通讯模块 20

3.3.2 组态模拟量输入模块 21

3.4 程序设计 22

3.4.1 控制软件设计 22

第4章 上位机软件的设计 27

4.1 MSComm控件的介绍 27

4.2 监控系统人机界面设计 27

4.2.1 系统功能简介 27

4.2.2 启动界面 28

4.2.3 数据监控界面 29

4.2.4 用户管理 32

4.2.5 趋势曲线 33

第5章 总结与展望 34

5.1 总结 34

5.2 展望 34

参考文献 35

致谢 36

绪论

可编程逻辑控制器

可编程逻辑控制器,也就是我们平常所说的PLC,它是一种常常用于自动控制系统的控制器,相对于其他控制器件来说,由于它与计算机技术的紧密结合,使得他在具有强大的运算和控制能力,而且PLC的编程较为简单,这些优势使得它在实际生活中的运用越来越广泛。

剩余内容已隐藏,请支付后下载全文,论文总字数:23209字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;