摘要
对于某些特殊型号PLC或者某些特殊型号仪表,现有驱动无法很好的支持其与Inouch等上位机软件的通信,因此介绍Visual Basic通过DDE和串口通信编程实现Intouch与PLC通信的方法,应用该法能够将PLC从现场采集的数据传送到上位机进行显示,也能从上位机向下位机发送控制指令,并保证上下位机的稳定通信。
To some particular model of PLC or some particular model of instrument,the existing driver can support them to communicate with some upper computers,such as Intouch.In this article,the way that Visual Basic achieves the communication between Intouch and PLC via DDE and serial port correspondence programming will be introduced.With this method,the data gathered via PLC on the spot can be sent to upper computer for monitoring.And sending control commands to lower computer from upper computer is also available.What's more,the stability of the correspondence between upper computer and lower computer will be guaranteed.
出处
《江西科学》
2010年第6期814-816,827,共4页
Jiangxi Science