摘要
为了解决组态软件MCGS与所用特殊硬件设备通信的问题,利用MCGS的高级开发工具包生成源程序框架,根据所要实现的通信功能完成了源程序框架中方法接口和属性接口的设计,并详细叙述了各方法接口和属性接口的实现过程,完成了与所用单片机相匹配的子设备驱动构件的开发。通过测试与挂接,实现了MCGS与AT89S51单片机的通信。
to solve the matching problem of configuration software MCGS and its special hardware driver, a framework of source program is built from advanced development wizard of MCGS, and the design of attribute interface and method interface in the source program is accomplished in accordance .with intended communication function. The thesis elaborates the design of attribute interface and method interface, and completes the development of SCM driver - component. The communication between MCGS and SCM - 51 microcontroller is achieved trough testing and articulation of custom single - chip components.
出处
《微计算机应用》
2009年第11期76-80,共5页
Microcomputer Applications
关键词
MCGS
组态软件
驱动构件
单片机
MCGS, configuration software, drive components, microcontroller