摘要
针对组态王不具备DSP设备驱动的问题,提出了组态王和VB 6.0混合编程的开发思路,完成DSP与组态王的数据通信,间接扩展了组态王的驱动程序库。借助VB编程实现了工控机与DSP 2407的串口通信,然后通过OPC接口实现VB与组态王动态数据交换,最终实现DSP与组态王的实时数据通信,且能借助RS232/485转换器将此方案应用于DSP网络群控。
This paper introduces a method of using VB6.0 and Kingview to realize data communication between the Kingview and DSP, because Kingview has no driver to DSP. VB6.0 is used to realize the serial port correspondence between the computer and DSP, OPC interface makes the data exchange between VB and Kingview possible. Besides those, this method can be used in DSP cluster control with RS232/485.
出处
《机械工程与自动化》
2010年第5期28-29,32,共3页
Mechanical Engineering & Automation