检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《工业控制计算机》2024年第11期34-36,共3页Industrial Control Computer
摘 要:简要介绍了Modbus TCP协议。研究了基于Modbus TCP协议实现上位机和PLC通信的方法。PLC选用台达DVP-12SE型机,上位机采用Visual C++6.0编程,向PLC发送Modbus TCP命令,与PLC进行信息交换。给出端口初始化、发送数据和接收数据等各部分程序代码。该方法为进一步开发PLC监控系统提供了有价值的参考。Principles of Modbus TCP protocol are introduced briefly.The communication method between master computer and PLC based on Modbus TCP protocol is investigated.Delta DVP-12SE PLC is chosen as a slave.The program in master computer used Visual C++6.0 is introduced and message exchange is realized by sending Modbus TCP command to PLC.This method provides a valuable reference for the further development of PLC monitoring system.
关 键 词:VC++ PLC Modbus TCP协议 以太网通信
分 类 号:TP273[自动化与计算机技术—检测技术与自动化装置]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.38