检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《微计算机信息》2010年第5期104-106,115,共4页Control & Automation
摘 要:文章对欧姆龙CS系列PLC的HostLink通信协议进行了介绍,并提出了使用c#利用Visual Studio2005中的SerialPort控件实现PLC与上位机通信的方法,给出了实现通信的具体步骤以及优化的通信方案,这种通信方案保证了通信的准确性,提高了通信的实时性。通过上位机对PLC的读写,实现了对工业现场数据的自动采集,可以有效地对工业现场设备进行监控和管理。编写的串口通信软件在实际项目中得到了成功应用,验证了它的可靠性和稳定性。The HostLink communication protocol of OMRON CS series PLC is introduced in this paper. The method for realizing the communication between PLC and the host computer is presented by means of c# and a control named SerialPort in Visual Studio 2005. The communacation procedure and program is also introduced in detail in the paper. This method ensures that the communication is real-time and accurate. Through reading and writing of the host computer from or to the PLC, automatic collection of field data is realized, and the device can be monitored and controlled effectively. The serial communication software is proved to be reli- able and stable through the successful application in actual project.
关 键 词:C# PLC HostLink协议 串口通信 数据采集
分 类 号:TP273.5[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.78