检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:张世友[1]
机构地区:[1]安徽马鞍山钢铁股份有限公司马钢控制技术有限责任公司,安徽马鞍山243000
出 处:《控制工程》2013年第S1期99-100,103,共3页Control Engineering of China
摘 要:介绍了利用Visual C++,通过TCP/IP协议,采用重叠I/O方式,编写计算机程序,在西门子S7-400 PLC中调用FC50/FC60发送/接受功能块,实现计算机和S7-400PLC之间大批量数据的快速稳定的交换,实现网络断线恢复正常后,通讯程序自动恢复正常功能;该程序模块可以作为一个中间件,在各种项目中使用,减少西门子OPC通讯中间件的使用,节约工程成本。This article describes how to write computer programs using of Visual C + +,through TCP /IP protocol,using overlapped I / O mode,call FC50 / FC60 send / receive function block in the Siemens S7-400 PLC,rapidly and stably exchange large amounts of data between the computer and S7-400 PLC;when network disconnection returns to normal,the communication program automatically restore normal function;the program modules can be used as a middleware in a variety of projects to reduce the use of the Siemens OPC communication middleware,saving the cost of the project.
关 键 词:S7-400PLC 功能块 TCP/IP 套字节 重叠I/O
分 类 号:TP273.5[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7