摘要
可以用DLL(动态链接库)实现PC与PLC之间的通信。这种方法的主要问题是速率慢,效率低。讨论一种直接使用PC串口实现通信的方法,旨在调高通信速率。采用VB编程并且按照ActiveX控件标准封装,具有很好的移植性。
It is feasible to communicate with PC and PLC through DLL.The central problem of this method is the slow speed and the low efficiency.The article discusses that realization of communication between PC and PLC directly through PC's serial port in order to improve the speed of communication.This method is programmed by VB and encapsulated according to the standard of ActiveX control,so it is easy to be used in other programs.
出处
《工业控制计算机》
2009年第5期33-34,共2页
Industrial Control Computer
关键词
PLC串行通信
通信效率
ACTIVEX控件
可移植性
serial communication between PC and PLC,efficiency for communication,ActiveX control,transplant