摘要
针对WINCC软件不能直接与FANUC数控系统网络通讯的问题,设计了一个OPC客户端软件。利用OPC技术,通过C#为编程语言,调用FANUC的FOCAS 1/2函数库采集数控系统的报警信息,读写数控系统的宏变量区,编写OPC客户端软件,实现对WINCC软件中OPC服务器的自动连接与变量更新,实现WINCC软件与FANUC数控系统的网络通讯。
OPC client software is designed for the problem that WINCC software can not directly communicate with FANUC CNC system through network. Use the OPC technology,through C# for programming language,call FANUC's FOCAS 1/2 function library to read the alarm information of NC system,read and write the macro variable area of NC system,write OPC client software,realize automatic network connection and variable update of OPC server in WINCC software,realize the network communication between WINCC software and FANUC CNC system.
引文
[1]刘典,张泽璇,陈剑.基于FANUC FOCAS的齿轮智能生产线管理系统开发与应用[J].制造技术与机床,2017(5):166-169.
[2]王帅,胡毅,何平,等.基于OPC技术实现西门子数控系统的数据采集[J].组合机床与自动化加工技术,2016(4):69-71.
[3]刘培跃,张亚寒.基于FOCAS的数控机床网络化集成系统开发[J].机床与液压,2014(22):161-167.
[4]胡开明,李跃忠,傅志坚.基于OPC与组态技术的气体流量自动检定系统的设计[J].机床与液压,2016(9):69-73.
[5]张韬,孙挪刚,郭亮,等.基于FANUC31i的多轴伺服参数同步优化技术[J].机械设计,2014(9):82-85.
[6]王宏龙. FOCAS功能在机床调试中的开发与应用[J].制造技术与机床,2017(6):188-191.
[7]张军,罗英俊,周立红,等. FANUC数控系统以太网功能的应用[J].制造技术与机床,2014(7):161-163.
[8]李亚鹏,袁建宁,欧益宝,等.基于OPC标准的数字化车间机床利用率参数采集研究[J].南京工程学院学报,2017(1):61-65.