目錄
1 案例說(shuō)明 1
2 VFBOX網(wǎng)關(guān)工作原理 1
3 測(cè)試數(shù)采儀的串口數(shù)據(jù) 2
4 配置網(wǎng)關(guān)采集212設(shè)備數(shù)據(jù) 4
5 用PROFINET IO協(xié)議轉(zhuǎn)發(fā)數(shù)據(jù) 5
6 案例總結(jié) 8
1 案例說(shuō)明
- 數(shù)采儀通過(guò)串口輸出環(huán)保212的數(shù)據(jù),網(wǎng)關(guān)通過(guò)串口采集數(shù)采儀的數(shù)據(jù)。
- 網(wǎng)關(guān)把采集的數(shù)據(jù)轉(zhuǎn)換成profinet IO從站數(shù)據(jù)。
2 VFBOX網(wǎng)關(guān)工作原理
VFBOX網(wǎng)關(guān)是協(xié)議轉(zhuǎn)換網(wǎng)關(guān),是把一種協(xié)議轉(zhuǎn)換成另外一種協(xié)議。網(wǎng)關(guān)可以采集西門(mén)子,歐姆龍,三菱,AB PLC,DLT645,DLT698電表,modbus rtu tcp,環(huán)保的HJ212協(xié)議,opc ua和opc da,電力的IEC103 IEC104, IEC61850等,以及EthernetIP,Profinet IO,CCLink,EtherCAT現(xiàn)場(chǎng)總線協(xié)議,bacnet,MQTT,mysql,sqlserver數(shù)據(jù)庫(kù)。不同型號(hào)的網(wǎng)關(guān)支持不同的協(xié)議,具體支持的協(xié)議參考網(wǎng)關(guān)側(cè)面標(biāo)簽上的型號(hào)。依托500多種型號(hào)的網(wǎng)關(guān)產(chǎn)品,可以實(shí)現(xiàn)多種不同協(xié)議之間的互聯(lián)互通。
網(wǎng)關(guān)連接在不同協(xié)議的設(shè)備之間,就像一個(gè)“翻譯”,把一種設(shè)備支持的協(xié)議,轉(zhuǎn)換成另一種設(shè)備支持的協(xié)議,從而實(shí)現(xiàn)兩個(gè)不同協(xié)議的設(shè)備之間的數(shù)據(jù)交換。工作架構(gòu)如下:
3 測(cè)試數(shù)采儀的串口數(shù)據(jù)
- 測(cè)試數(shù)采儀的串口有數(shù)據(jù)輸出,并且需要知道輸出的數(shù)據(jù)內(nèi)容。
- 把數(shù)采儀的串口(232或者485)通過(guò)“串口轉(zhuǎn)usb線”接到電腦上。“串口轉(zhuǎn)usb線”可以在淘寶上采購(gòu)。
- 在電腦上打開(kāi)串口調(diào)試工具軟件sscom(或者其他串口調(diào)試軟件)。Sscom可以在百度搜索下載。
- 打開(kāi)sscom串口,配置和數(shù)采儀相同的串口參數(shù)。如果不清楚相關(guān)參數(shù),請(qǐng)聯(lián)系數(shù)采儀廠家。
- 需要在sscom上收到如下的數(shù)據(jù)。如果不能收到數(shù)采儀發(fā)出來(lái)的數(shù)據(jù),請(qǐng)聯(lián)系數(shù)采儀廠家進(jìn)行測(cè)試。
- 完成以上操作后,在進(jìn)行下面的操作。
4 配置網(wǎng)關(guān)采集212設(shè)備數(shù)據(jù)
- vfbox網(wǎng)關(guān)通過(guò)網(wǎng)線連接到電腦。數(shù)采儀的串口連接到網(wǎng)關(guān)的COM1,接線方式請(qǐng)根據(jù)信號(hào)線的定義連接。
- 在電腦上打開(kāi)vfbox studio配置軟件,新建一個(gè)工程。相關(guān)操作可參考0011文檔,文檔可到onker.cn下載中心下載。可選的型號(hào)有:VB301-1100,VB301-1200,VB301-1400,VB302-2400,VB303-2400.
- 新建設(shè)備,選擇HJ212驅(qū)動(dòng)。
- 連接類型選擇“Serial Port”
- 串口參數(shù)和數(shù)采儀保持一致。選擇COM1
- 添加要采集的數(shù)據(jù)。比如要采集“a21001-Rtd”的數(shù)據(jù),則在地址處填寫(xiě)“a21001-Rtd”
- “a21001-Rtd”是從數(shù)采儀獲取的數(shù)據(jù)中查看。至于“a21001-Rtd”代表的是什么變量,需要查看環(huán)保協(xié)議,或者詢問(wèn)數(shù)采儀廠家、或者和實(shí)際數(shù)據(jù)對(duì)比查看。
5 用profinet IO協(xié)議轉(zhuǎn)發(fā)數(shù)據(jù)
- 點(diǎn)擊菜單 Profinet IO。啟用設(shè)置成Yes。
- 把數(shù)據(jù)分別加到Input Module和Output Module下。Input Module是網(wǎng)關(guān)發(fā)送給PLC的數(shù)據(jù)。Output是PLC發(fā)送給網(wǎng)關(guān)的數(shù)據(jù)。
- 設(shè)置完成后,點(diǎn)擊“下載”,把工程下載到網(wǎng)關(guān)中,則網(wǎng)關(guān)啟動(dòng)了Profinet IO功能。
- 下載完成后,點(diǎn)擊“Generate GSDML File”生成GSD文件,導(dǎo)入到其他設(shè)備中組態(tài)。先點(diǎn)擊下載工程,再生成GSD文件。
- 導(dǎo)入到博途時(shí),需要把下面兩個(gè)地方的時(shí)間設(shè)置成如下的值,或者比圖中的設(shè)置值更大。
- 博途中要“手動(dòng)”設(shè)置網(wǎng)關(guān)IP地址和網(wǎng)關(guān)的名稱。取消選中“自動(dòng)生成profinet設(shè)備名稱”
- 加了設(shè)備后,要添加Input Module,Output Module
6 案例總結(jié)
使用協(xié)議轉(zhuǎn)換網(wǎng)關(guān)可以很方便的實(shí)現(xiàn)不同協(xié)議的設(shè)備之間的數(shù)據(jù)轉(zhuǎn)換。大量節(jié)省了項(xiàng)目實(shí)施過(guò)程的時(shí)間成本,人力成本。VFBOX網(wǎng)關(guān)產(chǎn)品都是工業(yè)級(jí)品質(zhì),符合工業(yè)應(yīng)用的場(chǎng)景。只需要簡(jiǎn)單的參數(shù)配置,可以很快完成設(shè)備和系統(tǒng)之間的連接。方案優(yōu)點(diǎn):
- 不需要修改設(shè)備里的程序。
- 不影響設(shè)備原有的工作方式和功能。
- 只需要簡(jiǎn)單的配置就可以實(shí)現(xiàn)功能需求。
- 設(shè)備長(zhǎng)期穩(wěn)定工作。
- 網(wǎng)關(guān)運(yùn)行架構(gòu)如下
審核編輯 黃宇
-
網(wǎng)關(guān)
+關(guān)注
關(guān)注
9文章
4586瀏覽量
51494 -
協(xié)議轉(zhuǎn)換
+關(guān)注
關(guān)注
1文章
159瀏覽量
9627 -
Profinet
+關(guān)注
關(guān)注
6文章
1217瀏覽量
23571
發(fā)布評(píng)論請(qǐng)先 登錄
相關(guān)推薦
網(wǎng)口環(huán)保212設(shè)備數(shù)據(jù) 轉(zhuǎn) EtherCAT項(xiàng)目案例
![網(wǎng)口<b class='flag-5'>環(huán)保</b><b class='flag-5'>212</b><b class='flag-5'>設(shè)備</b><b class='flag-5'>數(shù)據(jù)</b> <b class='flag-5'>轉(zhuǎn)</b> EtherCAT<b class='flag-5'>項(xiàng)目</b>案例](https://file1.elecfans.com/web3/M00/05/80/wKgZPGeAsEuAPkIXAAE4PhJ_9ec044.png)
網(wǎng)口環(huán)保212設(shè)備數(shù)據(jù) 轉(zhuǎn) opc ua項(xiàng)目案例
![網(wǎng)口<b class='flag-5'>環(huán)保</b><b class='flag-5'>212</b><b class='flag-5'>設(shè)備</b><b class='flag-5'>數(shù)據(jù)</b> <b class='flag-5'>轉(zhuǎn)</b> opc ua<b class='flag-5'>項(xiàng)目</b>案例](https://file1.elecfans.com/web3/M00/00/DE/wKgZO2dOnN6Aa8LYAAE4PjLQ7dA605.png)
串口環(huán)保212設(shè)備數(shù)據(jù) 轉(zhuǎn) opc ua項(xiàng)目案例
![<b class='flag-5'>串口</b><b class='flag-5'>環(huán)保</b><b class='flag-5'>212</b><b class='flag-5'>設(shè)備</b><b class='flag-5'>數(shù)據(jù)</b> <b class='flag-5'>轉(zhuǎn)</b> opc ua<b class='flag-5'>項(xiàng)目</b>案例](https://file1.elecfans.com/web3/M00/00/C5/wKgZO2dNgTCAc4mNAAE4Pg8B_ok447.png)
串口環(huán)保212設(shè)備數(shù)據(jù)轉(zhuǎn)CCLink IE Field Basic項(xiàng)目案例
![<b class='flag-5'>串口</b><b class='flag-5'>環(huán)保</b><b class='flag-5'>212</b><b class='flag-5'>設(shè)備</b><b class='flag-5'>數(shù)據(jù)</b><b class='flag-5'>轉(zhuǎn)</b>CCLink IE Field Basic<b class='flag-5'>項(xiàng)目</b>案例](https://file1.elecfans.com//web3/M00/00/4C/wKgZO2dIEzyASdmDAAByBVDdWR4517.jpg)
采集opc da 轉(zhuǎn) profinet IO項(xiàng)目案例
![采集opc da <b class='flag-5'>轉(zhuǎn)</b> <b class='flag-5'>profinet</b> <b class='flag-5'>IO</b><b class='flag-5'>項(xiàng)目</b>案例](https://file1.elecfans.com/web2/M00/0C/5E/wKgaomc0DqGAccfDAAE45m29Ba4343.png)
機(jī)床 發(fā)那科 轉(zhuǎn) profinet IO 項(xiàng)目案例
![機(jī)床 發(fā)那科 <b class='flag-5'>轉(zhuǎn)</b> <b class='flag-5'>profinet</b> <b class='flag-5'>IO</b> <b class='flag-5'>項(xiàng)目</b>案例](https://file1.elecfans.com/web2/M00/0A/2E/wKgZomcbGViAeM0JAAE45kI4pzA740.png)
EthernetIP IO從站設(shè)備數(shù)據(jù) 轉(zhuǎn)profinet IO項(xiàng)目案例
![EthernetIP <b class='flag-5'>IO</b>從站<b class='flag-5'>設(shè)備</b><b class='flag-5'>數(shù)據(jù)</b> <b class='flag-5'>轉(zhuǎn)</b><b class='flag-5'>profinet</b> <b class='flag-5'>IO</b><b class='flag-5'>項(xiàng)目</b>案例](https://file1.elecfans.com/web2/M00/08/C0/wKgZomb6U2-ACmHTAABH3HmyoTE360.png)
歐姆龍PLC數(shù)據(jù) 轉(zhuǎn) profinet IO項(xiàng)目案例
![歐姆龍PLC<b class='flag-5'>數(shù)據(jù)</b> <b class='flag-5'>轉(zhuǎn)</b> <b class='flag-5'>profinet</b> <b class='flag-5'>IO</b><b class='flag-5'>項(xiàng)目</b>案例](https://file1.elecfans.com/web2/M00/08/33/wKgZomb2EqSAKEXuAAE45mENwRE016.png)
三菱PLC數(shù)據(jù) 轉(zhuǎn) profinet IO項(xiàng)目案例
![三菱PLC<b class='flag-5'>數(shù)據(jù)</b> <b class='flag-5'>轉(zhuǎn)</b> <b class='flag-5'>profinet</b> <b class='flag-5'>IO</b><b class='flag-5'>項(xiàng)目</b>案例](https://file1.elecfans.com/web2/M00/08/0E/wKgZomb0vfSAQjWPAAE45mL2EM8153.png)
CClink IEF Basic設(shè)備數(shù)據(jù) 轉(zhuǎn) profinet IO項(xiàng)目案例
![CClink IEF Basic<b class='flag-5'>設(shè)備</b><b class='flag-5'>數(shù)據(jù)</b> <b class='flag-5'>轉(zhuǎn)</b> <b class='flag-5'>profinet</b> <b class='flag-5'>IO</b><b class='flag-5'>項(xiàng)目</b>案例](https://file1.elecfans.com/web2/M00/07/F5/wKgZombz0KmALph7AAE45s7Dl_Y366.png)
網(wǎng)口環(huán)保212設(shè)備數(shù)據(jù) 轉(zhuǎn) profinet IO項(xiàng)目案例
![網(wǎng)口<b class='flag-5'>環(huán)保</b><b class='flag-5'>212</b><b class='flag-5'>設(shè)備</b><b class='flag-5'>數(shù)據(jù)</b> <b class='flag-5'>轉(zhuǎn)</b> <b class='flag-5'>profinet</b> <b class='flag-5'>IO</b><b class='flag-5'>項(xiàng)目</b>案例](https://file1.elecfans.com/web2/M00/08/88/wKgaombyHRyABS-7AAE45lPcvaY354.png)
網(wǎng)口環(huán)保212設(shè)備數(shù)據(jù) 轉(zhuǎn) IEC61850項(xiàng)目案例
![網(wǎng)口<b class='flag-5'>環(huán)保</b><b class='flag-5'>212</b><b class='flag-5'>設(shè)備</b><b class='flag-5'>數(shù)據(jù)</b> <b class='flag-5'>轉(zhuǎn)</b> IEC61850<b class='flag-5'>項(xiàng)目</b>案例](https://file1.elecfans.com/web2/M00/04/86/wKgaombFQlOAUSdvAAE4Bx13h6c173.png)
opc da 服務(wù)器數(shù)據(jù) 轉(zhuǎn) profinet IO項(xiàng)目案例
![opc da 服務(wù)器<b class='flag-5'>數(shù)據(jù)</b> <b class='flag-5'>轉(zhuǎn)</b> <b class='flag-5'>profinet</b> <b class='flag-5'>IO</b><b class='flag-5'>項(xiàng)目</b>案例](https://file1.elecfans.com/web2/M00/FE/69/wKgZomah_FiAXiieAAASYu75NbQ849.jpg)
Profinet IO從站數(shù)據(jù) 轉(zhuǎn)EthernetIP項(xiàng)目案例
![<b class='flag-5'>Profinet</b> <b class='flag-5'>IO</b>從站<b class='flag-5'>數(shù)據(jù)</b> <b class='flag-5'>轉(zhuǎn)</b>EthernetIP<b class='flag-5'>項(xiàng)目</b>案例](https://file1.elecfans.com/web2/M00/F3/17/wKgZomZ71AqAatg_AAF3UDm__Z8678.png)
Profinet IO從站數(shù)據(jù) 轉(zhuǎn)EtherCAT項(xiàng)目案例
![<b class='flag-5'>Profinet</b> <b class='flag-5'>IO</b>從站<b class='flag-5'>數(shù)據(jù)</b> <b class='flag-5'>轉(zhuǎn)</b>EtherCAT<b class='flag-5'>項(xiàng)目</b>案例](https://file1.elecfans.com//web2/M00/F5/83/wKgZomZ_fz2ATT8YAABXGU5CoFQ531.jpg)
評(píng)論