摘要
采用自动售货机和EM2002串口网关相结合的方式实现自动售货机与远程PC的以太网通信,其中串口通信采用RS232接口标准.同时介绍了EM2002串口网关的网络功能和设置方法,并给出如何利用VB6.0中的winsock控件编写通信程序来实现对自动售货机的工作状态的监控和售卖信息的采集功能.
By the method of linking vending machine and EM2002 together, vending machine can enter Intemet, and realize the communication with the remote PC. The standard of serial communication is RS232. This paper also introduces the function and settings of EM2002--the serial gateway, and the compiling of communication software between vending machine and remote client by using the winseck in Visual Basic 6.0. Though the communications software, user can monitor the working state and gather the sales information of vending machine.
出处
《哈尔滨商业大学学报(自然科学版)》
CAS
2005年第6期768-771,共4页
Journal of Harbin University of Commerce:Natural Sciences Edition
基金
哈尔滨留学回国人员基金项目(0181218006)
黑龙江省教育厅基金项目(10511806)