西门子S7-400PLC利用TCP/IP和计算机直接通讯  被引量:5

Realization of Direct Communication of Siemnes s7-400 PLC with PC

在线阅读下载全文

作  者:张世友[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[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象