节点文献
信捷PLC与计算机串口和以太网通信的VC++编程技术
Techniques of Communication VC++ programming for Xinjie PLC with PC through Serial Communication Port and Ethernet Adapter
【摘要】 信捷XC系列PLC是完全国产化的产品。若使其上位机程序能用通用高级语言而非只是该机模态软件编写,就能使XC系列PLC上位机控制程序与其它设备控制程序进行集成,有利于进一步促进PLC推广应用。本文研究了信捷XC系列PLC与计算机分别通过串口RS232和以太网进行通信的VC++编程技术,使得能在上位机VC++程序中发送与接收XC系列PLC的数据,从而实现了PC机通过VC++上位机程序对PLC的远程控制。
【Abstract】 Xinje XC series PLC is a kind of complete domestic product. If their upper PC programs can be programmed with the general high-level language, rather than their modal software, it is enabled to integrate the upper PC control programs of the PLC with the control programs of other devices, and XC series PLC can then be further widely used. This paper proposed the techniques of VC++ programming of communications between PC and XC series PLC through RS232 and Ethernet network adapter respectively, which enabled the VC++ upper programs to send data to the XC series PLC or receive the data from them. The remote controls of the XC series PLC can thus be implemented by the VC++ upper PC programs.
【Key words】 Xinjie XC series PLC; RS232; PC Ethernet adapter; Modbus protocol;
- 【文献出处】 软件 ,Computer Engineering & Software , 编辑部邮箱 ,2015年06期
- 【分类号】TP311.1;TP273.5
- 【被引频次】11
- 【下载频次】203