基于Modbus TCP协议的计算机与PLC的通信  

Communication Between Computer and PLC Based on Modbus TCP Protocol

在线阅读下载全文

作  者:吕琳[1] 王凤杰[1] 

机构地区:[1]莱芜职业技术学院,山东济南271100

出  处:《工业控制计算机》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[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象