摘要
采用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.
作者
张毅
ZHANG Yi(Cutting&Measuring Tool Plant of DongFeng Motor Go.,Ltd Shiyan 422002,China)
出处
《智能计算机与应用》
2019年第1期264-266,共3页
Intelligent Computer and Applications