1、 I 摘 要 基于 VB 的沥青浸渍程序是针对沥青浸渍工业现场的软件编程,它可以有效地对 工业现场中的各个物理量进行监视和控制,实现 PLC 与计算机之间的串口通信,使整个 工业过程能合理有序的工作。为了使调度人员使用方便,系统全部采用视窗操作,可在 主工艺窗体、浸渍沥青加热窗体、浸渍沥青冷却窗体、实时报警窗体、历史报警窗体、 实时曲线窗体、历史曲线窗体、实时数据窗体之间切换。此系统结构紧凑,便于维护。 本次毕业设计实现以下几项功能: 1.模拟沥青浸渍工业现场的工业环境,对实时物理量进行监控,确保工业过程正 常进行。 2.系统具有自诊断功能.当数据出现异常时,浸渍工艺界面会有动画效果,可进 行
2、报警显示, 此时沥青会呈现红色状, 来提醒工作人员采取紧急措施, 避免事故的发生。 3.可随时查询工业过程中实时数据或者历史数据,系统能自动保存历史数据到硬 盘。 利用 VB 串口通讯功能,建立了个站点数据监测主机与现场数据采集上位 PLC 之间 的数据通讯。 利用 VB 自身提供的 MSComm 控件实现串口通讯功能, MSComm 控件提供了两 种控制串口的方法,事件驱动方式和查询方式。本系统客户端的串口通讯采用的是查询 方式。 关键字:VB;动画;界面效果;串口通信 II Abstract VB-based asphalt impregnation procedures is the s
3、cene for the asphalt impregnated industrial software programming. It can effectively monitor and control the various physical quantities in the industrial field, the serial communication between the PLC and the computer, so that the entire industrial process to a reasonable and orderly work. To make
4、 the dispatchers easy to use, the system used in all Windows operation, in the main process form, impregnated with asphalt heated form, impregnated with asphalt cooling form, real-time alarm form the historical alarm form, real-time curve of the form, historical curve windowbody, to switch between real-time data form. This system is compact, easy to maintain. The graduation project is to achieve the following functions: 1.The industrial scene of simulated asphalt impregnated industrial enviro