你還在為配置網(wǎng)關(guān)的ETHERNET/IP從站和CANOPEN主站發(fā)愁嗎?今天來(lái)教你解決辦法!
一,首先,配置網(wǎng)關(guān)的ETHERNET/IP從站,需要使用AB系統(tǒng)的配置方法,具體步驟如下
1,使用 AB 系統(tǒng)配置網(wǎng)關(guān)的 ETHERNET/IP 從站加載EDS文件:運(yùn)行RSLogix5000程序,選擇“RegisteranEDSfile”,點(diǎn)擊下一步:通過“Browse”選擇要安裝的eds文件:
2,點(diǎn)擊下一步,直到安裝過程完畢。
新建工程:運(yùn)行RSLogix5000程序,選擇菜單File->New,彈出對(duì)話框:在“Type”中選擇控制器的型號(hào),在“Name”中填寫項(xiàng)目的名稱,點(diǎn)擊OK完成創(chuàng)建。
3,添加網(wǎng)關(guān):在ControllerOrganizer欄中,右鍵點(diǎn)擊“1769-L23EthernetPortLocalENB”,選擇“NewModule”選擇要添加的設(shè)備,點(diǎn)擊“Create”:
4,填入網(wǎng)關(guān)的名稱,在“IPAddress”中填入網(wǎng)關(guān)的IP地址,點(diǎn)擊“Change”設(shè)置網(wǎng)關(guān)的輸入輸出數(shù)據(jù)長(zhǎng)度。
5,設(shè)置工程路徑:點(diǎn)擊菜單Communications->WhoActive,在掃描到的設(shè)備中,選擇00,CompactLogixProcessor,eip選項(xiàng),點(diǎn)擊右下角的SetProjectPath。然后點(diǎn)擊Close,完成設(shè)置。點(diǎn)擊菜單Communications->Download,下載工程到PLC中:點(diǎn)擊“ControllerTags”,在彈出的畫面中可以檢測(cè)到網(wǎng)關(guān)上傳的數(shù)據(jù)。
二,配置 CANOPEN 主站
1,選擇相應(yīng)的EDS文件,點(diǎn)擊打開。導(dǎo)入成功后,可以在右側(cè)設(shè)備列表中找到從站設(shè)備。然后,使用GW CANOPEN Builder軟件進(jìn)行網(wǎng)關(guān)的CANOPEN配置,
2,首先添加一個(gè)CANOPEN主站,
3,根據(jù)需要添加 CANOPEN 從站
4,右鍵單擊主站圖標(biāo),選擇屬性頁(yè)面,設(shè)置主站波特率、定時(shí)發(fā)送間隔和主站心跳時(shí)間。雙擊主站圖標(biāo),從所有節(jié)點(diǎn)列表里選擇需要添加到心跳監(jiān)控列表里的從站。
5,接下來(lái),我們還需要進(jìn)行PDO和SDO的配置。雙擊從站的圖標(biāo),配置該從站的參數(shù)。
6,選中RXPDO,點(diǎn)擊“PDO映射”按鈕,在彈出的對(duì)話框中,選擇添加上6040控制字和6060運(yùn)行模式,
7,然后點(diǎn)擊確定。選中TXPDO,點(diǎn)擊“PDO映射”按鈕,在彈出的對(duì)話框中,選擇添加上6041狀態(tài)字,然后點(diǎn)擊確定。
8,選中TXPDO,點(diǎn)擊“屬性”按鈕,輸入TXPDO定時(shí)發(fā)送時(shí)間,例如100ms,點(diǎn)確定。
三,地址映射表
點(diǎn)擊軟件的菜單欄“工具——地址映射表”,可以查看網(wǎng)關(guān)的地址排列,如下圖:
四,啟動(dòng) Canopen 通訊
1,啟動(dòng) PDO 通訊
2,啟動(dòng) SDO 通訊如上圖,以 2 號(hào)從站為例。
然后就可以把數(shù)據(jù)讀取了
審核編輯:湯梓紅
-
網(wǎng)關(guān)
+關(guān)注
關(guān)注
9文章
4528瀏覽量
51223 -
通訊
+關(guān)注
關(guān)注
9文章
908瀏覽量
34961 -
CANopen
+關(guān)注
關(guān)注
8文章
267瀏覽量
43615
發(fā)布評(píng)論請(qǐng)先 登錄
相關(guān)推薦
EtherNet/IP轉(zhuǎn)PROFINET網(wǎng)關(guān)連接AB PLC配置案例
![<b class='flag-5'>EtherNet</b>/<b class='flag-5'>IP</b><b class='flag-5'>轉(zhuǎn)</b>PROFINET網(wǎng)關(guān)<b class='flag-5'>連接</b><b class='flag-5'>AB</b> PLC<b class='flag-5'>配置</b>案例](https://file.elecfans.com//web2/M00/37/70/poYBAGI70PGAchm1AAIHJaLMcwA786.png)
MODBUS轉(zhuǎn)EtherNet/IP網(wǎng)關(guān)配置案例
![MODBUS<b class='flag-5'>轉(zhuǎn)</b><b class='flag-5'>EtherNet</b>/<b class='flag-5'>IP</b>網(wǎng)關(guān)<b class='flag-5'>配置</b>案例](https://file.elecfans.com//web2/M00/3A/71/pYYBAGJDzpCABG5NAAA4UW4ROmM201.png)
EtherNet/IP轉(zhuǎn)Modbus網(wǎng)關(guān)實(shí)現(xiàn)AB PLC控制變頻器案例
![<b class='flag-5'>EtherNet</b>/<b class='flag-5'>IP</b><b class='flag-5'>轉(zhuǎn)</b>Modbus網(wǎng)關(guān)實(shí)現(xiàn)<b class='flag-5'>AB</b> PLC控制變頻器案例](https://file1.elecfans.com//web2/M00/8B/CB/wKgaomSek8OAZrdGAAA9lML9ONM642.png)
EtherNet/IP轉(zhuǎn) Modbus網(wǎng)關(guān)實(shí)現(xiàn)AB PLC控制變頻器案例
![<b class='flag-5'>EtherNet</b>/<b class='flag-5'>IP</b><b class='flag-5'>轉(zhuǎn)</b> Modbus網(wǎng)關(guān)實(shí)現(xiàn)<b class='flag-5'>AB</b> PLC控制變頻器案例](https://file1.elecfans.com//web2/M00/8D/E4/wKgZomTBFuSAe-nxAAA4GMz7gHs781.png)
ETHERNET IP站轉(zhuǎn)CCLKIE協(xié)議網(wǎng)關(guān)
![<b class='flag-5'>ETHERNET</b> <b class='flag-5'>IP</b><b class='flag-5'>站</b><b class='flag-5'>轉(zhuǎn)</b>CCLKIE協(xié)議網(wǎng)關(guān)](https://file1.elecfans.com//web2/M00/A7/64/wKgZomUM8DyAGahMAAB14pDOLR007.webp)
EtherNET轉(zhuǎn)Profibus網(wǎng)關(guān)使用AB PLC的配置方法
![<b class='flag-5'>EtherNET</b><b class='flag-5'>轉(zhuǎn)</b>Profibus網(wǎng)關(guān)使用<b class='flag-5'>AB</b> PLC的<b class='flag-5'>配置</b><b class='flag-5'>方法</b>](https://file1.elecfans.com//web2/M00/B0/8F/wKgZomVWzfWAHDwhAABsXZpA7CE142.png)
Profinet主站轉(zhuǎn)Ethernet/IP網(wǎng)關(guān)
![Profinet<b class='flag-5'>主</b><b class='flag-5'>站</b><b class='flag-5'>轉(zhuǎn)</b><b class='flag-5'>Ethernet</b>/<b class='flag-5'>IP</b>網(wǎng)關(guān)](https://file1.elecfans.com//web2/M00/C2/0E/wKgaomXckkWAKGvwAACONun0mTc03.webp)
EtherCAT主站轉(zhuǎn)Ethernet/IP網(wǎng)關(guān)
![EtherCAT<b class='flag-5'>主</b><b class='flag-5'>站</b><b class='flag-5'>轉(zhuǎn)</b><b class='flag-5'>Ethernet</b>/<b class='flag-5'>IP</b>網(wǎng)關(guān)](https://file1.elecfans.com//web2/M00/C1/5E/wKgZomXdl82AFs43AACA2t3r1tE26.webp)
Profinet主站轉(zhuǎn)EtherNet/IP從站總線協(xié)議轉(zhuǎn)換網(wǎng)關(guān)
![Profinet<b class='flag-5'>主</b><b class='flag-5'>站</b><b class='flag-5'>轉(zhuǎn)</b><b class='flag-5'>EtherNet</b>/<b class='flag-5'>IP</b><b class='flag-5'>從</b><b class='flag-5'>站</b>總線協(xié)議轉(zhuǎn)換網(wǎng)關(guān)](https://file1.elecfans.com/web2/M00/00/06/wKgaomanPNSATq6bAAX1Srootgg232.png)
EtherNet/IP轉(zhuǎn)CANopen協(xié)議網(wǎng)關(guān)模塊的配置及應(yīng)用詳解
![<b class='flag-5'>EtherNet</b>/<b class='flag-5'>IP</b><b class='flag-5'>轉(zhuǎn)</b><b class='flag-5'>CANopen</b>協(xié)議網(wǎng)關(guān)模塊的<b class='flag-5'>配置</b>及應(yīng)用詳解](https://file1.elecfans.com/web2/M00/FE/5D/wKgZomahzoGANX7VAAB-bhgDuBQ343.png)
EtherCAT從站轉(zhuǎn)EtherNet/IP從站協(xié)議網(wǎng)關(guān)(JM-EIP-ECAT)
![EtherCAT<b class='flag-5'>從</b><b class='flag-5'>站</b><b class='flag-5'>轉(zhuǎn)</b><b class='flag-5'>EtherNet</b>/<b class='flag-5'>IP</b><b class='flag-5'>從</b><b class='flag-5'>站</b>協(xié)議網(wǎng)關(guān)(JM-EIP-ECAT)](https://file1.elecfans.com/web2/M00/02/C8/wKgZoma9yoSAemQzAAQp1SAaiNw137.png)
EtherCAT從站轉(zhuǎn)CANopen主站協(xié)議網(wǎng)關(guān)(JM-ECT-COP)
![EtherCAT<b class='flag-5'>從</b><b class='flag-5'>站</b><b class='flag-5'>轉(zhuǎn)</b><b class='flag-5'>CANopen</b><b class='flag-5'>主</b><b class='flag-5'>站</b>協(xié)議網(wǎng)關(guān)(JM-ECT-COP)](https://file1.elecfans.com/web2/M00/02/C8/wKgZoma9yoyABunTAAaz3E2enmI577.png)
EtherNet/IP從站轉(zhuǎn)Profinet主站總線協(xié)議轉(zhuǎn)換網(wǎng)關(guān)(JM-PNM-EIP)
![<b class='flag-5'>EtherNet</b>/<b class='flag-5'>IP</b><b class='flag-5'>從</b><b class='flag-5'>站</b><b class='flag-5'>轉(zhuǎn)</b>Profinet<b class='flag-5'>主</b><b class='flag-5'>站</b>總線協(xié)議轉(zhuǎn)換網(wǎng)關(guān)(JM-PNM-EIP)](https://file1.elecfans.com/web2/M00/02/EA/wKgZoma-t_mAd38oAARN7yf6MDE584.png)
EtherNet/IP從站轉(zhuǎn)Profinet主站協(xié)議網(wǎng)關(guān)(JM-PNM-EIP)
![<b class='flag-5'>EtherNet</b>/<b class='flag-5'>IP</b><b class='flag-5'>從</b><b class='flag-5'>站</b><b class='flag-5'>轉(zhuǎn)</b>Profinet<b class='flag-5'>主</b><b class='flag-5'>站</b>協(xié)議網(wǎng)關(guān)(JM-PNM-EIP)](https://file1.elecfans.com//web2/M00/03/7B/wKgZombEE_eAVH_KAAC4MHy9kN0243.jpg)
EtherNet/IP轉(zhuǎn)CANopen主站協(xié)議轉(zhuǎn)換網(wǎng)關(guān)
![<b class='flag-5'>EtherNet</b>/<b class='flag-5'>IP</b><b class='flag-5'>轉(zhuǎn)</b><b class='flag-5'>CANopen</b><b class='flag-5'>主</b><b class='flag-5'>站</b>協(xié)議轉(zhuǎn)換網(wǎng)關(guān)](https://file1.elecfans.com/web2/M00/05/1F/wKgaombMJkyACJddAAKqa8sqIXM558.png)
評(píng)論