Delphi开发西门子S7-1200/1500 PLC以太网心跳通信组件
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:Delphi develops Siemens S7-1200/1500 PLC Etnernet heart rate communication module
  • 作者:张毅
  • 英文作者:ZHANG Yi;Cutting & Measuring Tool Plant of DongFeng Motor Go.,Ltd;
  • 关键词:Delphi7 ; S7-1200/1500 ; TCP协议 ; DLL窗口封装
  • 英文关键词:Delphi7;;S7-1200/1500;;TCP protocol;;DLL window encapsulation
  • 中文刊名:DLXZ
  • 英文刊名:Intelligent Computer and Applications
  • 机构:东风汽车有限公司刃量具厂刀量具制造管理部;
  • 出版日期:2019-01-01
  • 出版单位:智能计算机与应用
  • 年:2019
  • 期:v.9
  • 语种:中文;
  • 页:DLXZ201901064
  • 页数:3
  • CN:01
  • ISSN:23-1573/TN
  • 分类号:267-269
摘要
采用Delphi编译器开发西门子S7-1200/1500系列PLC客户端DLL,组件通过S7系列TCP通信协议与PLC建立连接并保持心跳通信,上位机EXE通过接口调用组件,定时读取PLC寄存器数据,并支持实时写寄存器值,实现PC与PLC实时通信。
        In this paper,using Delphi compiler to develop Siemens S7-1200/1500 series PLC client DLL,components connect with PLC through S7 series TCP communication protocol and maintain heartbeat communication,The upper computer EXE calls components through interface,reads PLC register value regularly,and supports real-time write register values. The research realizes real-time communication between PC and PLC.
引文
[1]龙启明,刘斌,程捷,等. Delphi 7高级编程范例[M].北京:清华大学出版社,2004.
    [2]刘艺. Delphi模式编程[M].北京:机械工业出版社,2004.
    [3]刘华波.西门子S7-1200 PLC编程与应用[M].北京:机械工业出版社,2011.
    [4]SIEMENS AG 2009. S7-1200&STEP7 Basic V10.5[K]. Berlin&M unich:SIEM ENS,2009.
    [5]SIEMENS. S7-1500 PLC手册[Z].北京:西门子(中国)有限公司,2018.
    [6]SIEMENS. S7-1500做服务器端与第三方设备的TCP通信[K]. Berlin&Munich:SIEMENS,2015.