摘要
随着工业的不断发展,自动化程度也在逐步提高。工业系统中设备数量逐渐增加,动作逻辑不断复杂,但由于PLC(可编程逻辑控制器)本身的局限性,无法对数据进行大规模的存储且不能提供友好的人机交互界面。随着对现场信息交互与共享能力的需求的不断提高,上位机调度系统变得不可缺少。OPC(OLE for process control)协议是专门为工业自动化提供的一个标准,主要用于解决数据源控制系统和数据源之间的数据交互问题。该文主要研究OPC协议在智能仓储系统中的应用。上位机上运行仓库控制系统(WCS),作为OPC的客户端,而OPC服务器设在PLC或上位机上。介绍了WCS和OPC服务器之间3种通信方式:同步、异步和订阅。设计实现了OPC服务器以及OPC接口,实现了WCS和PLC之间的通信,提升了WCS下指令的速度以及智能仓储系统的工作效率。
With the continuous development of industry,the degree of automation is also gradually improving.In the industrial system,the number of devices is gradually increasing,and the action logic is continuously complicated.However,due to the limitations of the PLC(programmable logic controller)itself,data cannot be stored on a large scale and a friendly human-computer interaction interface cannot be provided.With the increasing demand for the ability of field information exchange and sharing,the upper computer scheduling system becomes indispensable.OPC(OLE for process control)protocol is a standard specially provided for industrial automation,and mainly used to solve the data interaction problem between the data source control system and the data source.We mainly study the application of OPC protocol in intelligent warehousing system.The warehouse control system(WCS)runs on the upper computer and acts as an OPC client,while the OPC server runs on the PLC or the upper computer.Three communication methods between WCS and OPC server,synchronous,asynchronous and subscription,are described.The OPC server and the OPC interface are designed and implemented,and the communication between WCS and PLC implemented improves the speed of WCS issuing instructions and the working efficiency of the intelligent warehousing system.
作者
吴晗
成卫青
WU Han;CHENG Wei-qing(School of Computer,Nanjing University of Posts and Telecommunications,Nanjing 210023,China)
出处
《计算机技术与发展》
2021年第7期158-163,170,共7页
Computer Technology and Development
基金
江苏省研究生教育教学改革课题(JGZZ19_038)。