摘要
用VC开发西门子S7-300系列PLC的监控软件,首先需要解决PC上位机与PLC之间的通讯问题。在没有公开通讯协议的情况下,借助西门子提供的Prodave软件包中的库函数,用VC进行编程,实现PC通过MPI方式与PLC通讯。通过运行实例发现,利用上述方法进行通讯,能够对PLC数据存储器的不同部分进行快速准确地读写。
The monitoring software for Siemens S7-300 series PLC can be developed by using VC.First of all,the communication problem of PC and PLC needs to be resolved.In terms of no open communication protocol,library functions of the Siemens Prodave package can be used by programming with VC.And then,the MPI communications of PC and PLC can be achieved.Through the example,using above method,the different parts of the PLC data memory can be able to read and write fast and accurately.
出处
《制造技术与机床》
CSCD
北大核心
2011年第3期169-172,共4页
Manufacturing Technology & Machine Tool