MCGS组态环境下的MSP430单片机驱动开发  被引量:3

Development of the Drivers of MSP430 Microcontroller in MCGS Configuration Environment

在线阅读下载全文

作  者:许萌 李斌[1] 姚骏[1] 

机构地区:[1]上海大学机电工程与自动化学院,上海200072

出  处:《自动化仪表》2017年第12期50-53,58,共5页Process Automation Instrumentation

摘  要:MCGS是一款基于Windows平台的上位机监控组态软件系统,其包含了多种通用设备驱动程序。但在实际项目中,有时MCGS组态软件所提供的设备驱动程序也无法满足用户的需求。因此,MCGS提供了一款脚本驱动开发工具。用户可通过该工具便捷地创建符合项目需求的设备驱动构件。脚本驱动开发工具内含大量的库函数,能够在充分满足用户需求的同时,使得驱动的开发更加便捷。基于MCGS组态软件的MSP430单片机的驱动构件,根据自助洗车机的实际需求进行开发。首先,制定了通信协议;然后,根据项目需求设置相应的设备通道,编写了所需的设备命令;最后,通过驱动的安装和挂接,实现了设备驱动的开发。实际运行结果表明了该驱动构件的高效性、便捷性。该研究为常规的驱动程序设计提供了思路。MCGS is a Windows based host computer monitoring configuration software system, which contains a variety of universal device drivers. But in the actual projects, the device drivers provided by MCGS configuration software are sometimes unable to meet the needs of users,so a set of script driven development tools is provided in MCGS,through which the user can conveniently create the device driver component needed. Script driven development tools contain a large number of library functions, which can fully meet the needs of users ; in addition, it also makes the development of drivers more convenient and efficient. The driving component of MSP430 microcontroller based on MCGS configuration software is developed with the background of the actual needs of self - service car washing machine. Firstly, the communication protocol is setup. Then the corresponding equipment channel is set according to the requirements of the project, and the required device commands are written. Finally,through the installation and connection of driver,the development of device drivers is implemented. The results of actual operation demonstrate the efficiency and convenience of the driver development. The study provides a new idea for the general driver design.

关 键 词:监控系统 触摸屏 单片机 上位机 人机界面 MCGS组态软件 脚本驱动 通信 

分 类 号:TH-39[机械工程] TP273.5[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象