电子测试
電子測試
전자측시
ELECTRONIC TEST
2015年
7期
125-126,89
,共3页
PLC通信%Modbus TCP协议%以太网
PLC通信%Modbus TCP協議%以太網
PLC통신%Modbus TCP협의%이태망
PLC%Modbus TCP protocol%Ethernet
在工业控制中,可编程控制器(PLC)作为工业控制装置已得到广泛的应用。采用高度实时性、高可靠性的PLC通信技术,就成为构成性能优异的自动控制系统的关键所在。Modbus协议是应用于电子控制器的一种通用语言。通过此协议,可实现控制器与其他设备(上位机)之间的远程通信。本设计就是以实验室现有的PLC为对象,实现基于Modbus协议的上位机对PLC的远程控制。实现上位机对PLC的远程控制,最理想的通信媒介就是通常所用的网线,即非屏蔽双绞线(UTP)。这就需要建立在以太网之上,即TCP/IP协议之上的Modbus通信协议。本次设计主要完成了完成了硬件连接及梯形图程序的编写,实现了控制器对输出线圈的控制,在建立PLC与上位机网络通信时,完成了对PLC通信模块的配置和PC机与PLC基于以太网的连接,采用Modbus TCP调试软件进行通信测试,测试结果表明上位机与台达PLC两个从站均可建立稳定的Modbus通信。
在工業控製中,可編程控製器(PLC)作為工業控製裝置已得到廣汎的應用。採用高度實時性、高可靠性的PLC通信技術,就成為構成性能優異的自動控製繫統的關鍵所在。Modbus協議是應用于電子控製器的一種通用語言。通過此協議,可實現控製器與其他設備(上位機)之間的遠程通信。本設計就是以實驗室現有的PLC為對象,實現基于Modbus協議的上位機對PLC的遠程控製。實現上位機對PLC的遠程控製,最理想的通信媒介就是通常所用的網線,即非屏蔽雙絞線(UTP)。這就需要建立在以太網之上,即TCP/IP協議之上的Modbus通信協議。本次設計主要完成瞭完成瞭硬件連接及梯形圖程序的編寫,實現瞭控製器對輸齣線圈的控製,在建立PLC與上位機網絡通信時,完成瞭對PLC通信模塊的配置和PC機與PLC基于以太網的連接,採用Modbus TCP調試軟件進行通信測試,測試結果錶明上位機與檯達PLC兩箇從站均可建立穩定的Modbus通信。
재공업공제중,가편정공제기(PLC)작위공업공제장치이득도엄범적응용。채용고도실시성、고가고성적PLC통신기술,취성위구성성능우이적자동공제계통적관건소재。Modbus협의시응용우전자공제기적일충통용어언。통과차협의,가실현공제기여기타설비(상위궤)지간적원정통신。본설계취시이실험실현유적PLC위대상,실현기우Modbus협의적상위궤대PLC적원정공제。실현상위궤대PLC적원정공제,최이상적통신매개취시통상소용적망선,즉비병폐쌍교선(UTP)。저취수요건립재이태망지상,즉TCP/IP협의지상적Modbus통신협의。본차설계주요완성료완성료경건련접급제형도정서적편사,실현료공제기대수출선권적공제,재건립PLC여상위궤망락통신시,완성료대PLC통신모괴적배치화PC궤여PLC기우이태망적련접,채용Modbus TCP조시연건진행통신측시,측시결과표명상위궤여태체PLC량개종참균가건립은정적Modbus통신。
In the industrial control, programmable logic controller(PLC)as an industrial control device has been widely used.With a high real-time, high reliability of PLC communication technology, has become a key automatic control system with excellent performance.Modbus protocol is a common language used in the electronic controller.Through this agreement,can realize the controller and other equipment(PC)remote communication between.This design is based on PLC's existing laboratory as the object,to achieve remote control of computer of Modbus protocol based on PLC.To realize the remote control host computer on the PLC,the communication media the most ideal is commonly used network,namely the unshielded twisted pair (UTP).It is necessary to establish on the Ethernet, Modbus communication protocol is TCP/IP protocol. The design of the main completed completed the hardware connection and the ladder diagram program,realized the control of the output coil,in the establishment of the PLC and computer network communication,to complete the configuration and the PC and PLC of PLC communication module based on Ethernet connection,debugging software to communicate with Modbus TCP test,test the results show that the host computer and delta PLC two from the station can establish stable Modbus communication.