摘要
阐述了基于Visual studio 2005的pc与PLC间的串口通信方法。该方法根据西门子S7-200PLC的特点,通过串口通信实现了pc和PLC之间的数据传输,在工业自动化控制具有很重要的意义。这种方法与单个数据中断的通信方式相比,实时通信简单快捷。保证了通信的实时性,并具有开发周期短、可靠性高等特点。
The method of serial-communication based on visual basic 2005 and the freeport mode of S7-200PLC is introduced in the paper. According to the feature of S7-200PLC, the method realizes the data transmission between pc and PLC through a string of correspondence, so it has the very important meaning in industry automate control, which is more simple and fast than the corre- sponding mode for odd date intermit. The development cycle of system can be reduced and the reliability of the system can be improved.
出处
《山西电子技术》
2008年第4期11-13,共3页
Shanxi Electronic Technology