《電子技術(shù)應(yīng)用》
您所在的位置:首頁 > 通信与网络 > 设计应用 > 基于EtherCAT总线的Modbus-RTU主站网关设计
基于EtherCAT总线的Modbus-RTU主站网关设计
网络安全与数据治理
王永峰,康晋菊,胡啸,张彪,封成玉
中电智能科技有限公司
摘要: EtherCAT在国内工控领域被广泛应用,国内许多工业现场采用EtherCAT总线作为控制系统总线。Modbus也是一种标准开放的通信协议,许多仪器仪表、传感器、变频器支持Modbus协议,作为Modbus从设备被大量地应用于工控现场。为了解决工控现场EtherCAT总线与Modbus设备通信问题,设计了一种基于EtherCAT总线的Modbus-RTU主站网关模块,实现EtherCAT总线与Modbus协议的转化。该模块对外支持2路RJ45接口和1路DB9接口,其中RJ45接口支持EtherCAT协议,DB9接口支持Modbus-RTU主协议。模块通过2路RJ45接口灵活应用于EtherCAT网络中,可以配置链型和环型拓扑结构。
中圖分類號:TP273文獻(xiàn)標(biāo)識碼:ADOI:10.19358/j.issn.2097-1788.2024.06.006
引用格式:王永峰,康晉菊,胡嘯,等.基于EtherCAT總線的Modbus-RTU主站網(wǎng)關(guān)設(shè)計(jì)[J].網(wǎng)絡(luò)安全與數(shù)據(jù)治理,2024,43(6):42-46,52.
Design of Modbus-RTU master station gateway based on EtherCAT bus
Wang Yongfeng, Kang Jinju, Hu Xiao, Zhang Biao, Feng Chengyu
Intelligence Technology of CEC Co.,Ltd.
Abstract: EtherCAT is widely used in the field of industrial control in China, and many industry fields use it as the control system bus. Modbus is also a standard and open communication protocol, many instruments, sensors, and frequency converters support the Modbus protocol, as Modbus slave device is widely used in industrial control sites. In order to solve the communication problem between EtherCAT bus and Modbus equipment in industrial control field, a Modbus-RTU master station gateway module based on EtherCAT bus is designed, which realizes the conversion between EtherCAT bus and Modbus protocol. The design supports two RJ45 interfaces and one DB9 interface, the RJ45 interface supports the EtherCAT interface protocol, and the DB9 interface supports the Modbus-RTU main protocol. The design can be configured with chain and ring topologies structure through two RJ45 interfaces, so it can be flexibly applied in EtherCAT networks.
Key words : EtherCAT; Modbus-RTU master station ;protocol conversion; topological structure

引言

隨著現(xiàn)場總線技術(shù)的不斷發(fā)展,各種總線協(xié)議層出不窮,目前已經(jīng)有20多種總線協(xié)議被納入IEC61158標(biāo)準(zhǔn)[1]。由于不同的廠商設(shè)備采用不同的標(biāo)準(zhǔn)協(xié)議,因此用戶會遇到設(shè)備總線不配套不兼容的問題[2]。本文針對EtherCAT和Modbus總線進(jìn)行研究,設(shè)計(jì)了一種EtherCAT和Modbus總線協(xié)議轉(zhuǎn)換的網(wǎng)關(guān)模塊,解決工控現(xiàn)場EtherCAT總線與Modbus設(shè)備通信問題 [3]。

目前市面上有許多關(guān)于EtherCAT與Modbus總線轉(zhuǎn)化的網(wǎng)關(guān)模塊,但模塊的EtherCAT大都采用E-BUS接口,主要適配定制的系統(tǒng)中,其物理接口為專用的背板總線接口,不具備通用性;或者是模塊性能不能滿足工控領(lǐng)域,如波特率、延遲時間、尋址范圍、帶從站的能力等指標(biāo)。針對此問題,本文設(shè)計(jì)一種基于EtherCAT總線的Modbus-RTU主站網(wǎng)關(guān)模塊,實(shí)現(xiàn)EtherCAT總線與Modbus協(xié)議的轉(zhuǎn)化,模塊支持標(biāo)準(zhǔn)Modbus尋址范圍和功能碼,支持診斷功能,可以通過在線診斷數(shù)據(jù)判斷通信正常、響應(yīng)超時、地址錯誤、CRC校驗(yàn)錯誤等狀態(tài),通信波特率支持1 200~115 200 b/s配置,輸入輸出區(qū)大小各為1 KB,最多可以支持32個Modbus從站,尋址范圍為1~247子節(jié)點(diǎn)。模塊對外接口包含2路RJ45和1路DB9接口,其中RJ45接口支持EtherCAT協(xié)議,可以靈活適配各種系統(tǒng)和場景,配置鏈型和環(huán)型拓?fù)浣Y(jié)構(gòu),提高了模塊應(yīng)用性;1路DB9接口為Modbus-RTU接口,支持Modbus-RTU主協(xié)議,與Modbus從站設(shè)備相連接。


本文詳細(xì)內(nèi)容請下載:

http://m.tom3567.com/resource/share/2000006046


作者信息:

王永峰,康晉菊,胡嘯,張彪,封成玉

(中電智能科技有限公司,北京100083)


Magazine.Subscription.jpg

此內(nèi)容為AET網(wǎng)站原創(chuàng),未經(jīng)授權(quán)禁止轉(zhuǎn)載。
主站蜘蛛池模板: 中文字幕免费在线不卡| 国产一区二区在线免费| 国产精品91久久久| 色综合久久久久久久久五月| 国产日韩精品在线观看| 久久精品国亚洲| 欧美一区三区二区在线观看| 777午夜精品福利在线观看| 精品91免费| 久久伊人色综合| 欧美日韩国产va另类| 日韩中文字幕二区| 国产成人精品a视频一区www| 久久99精品国产99久久6尤物| 欧美亚洲日本网站| 国产成人精品午夜| 国产精品高清在线| 国产精品二区在线观看| 国产精品免费观看高清| 国产精品黄视频| 国产欧美精品在线| 欧美亚洲另类制服自拍| 日本最新高清不卡中文字幕V| 国产亚洲一区二区三区在线播放| 久久精品99久久久久久久久| 久久精品亚洲热| 精品国产乱码久久久久| 国产一区二区三区高清视频| 精品国内产的精品视频在线观看| 精品国产中文字幕| 久久精品美女| 国产美女久久精品| 国产美女被下药99| 国产精品视频中文字幕91 | 国产成人亚洲综合91| www黄色在线| 性高潮久久久久久久久| 亚州成人av在线| 日本三级久久久| 久久久久北条麻妃免费看| 国产日产欧美精品|