嵌入式總線橋OEM2調(diào)試實驗系統(tǒng)手冊v2.0
聲明:您必須遵守我們的協(xié)議,如果您下載了該資源行為將被視為對《電天下賬號管理規(guī)范》全部內(nèi)容的認(rèn)可,本網(wǎng)站資源來自原創(chuàng),僅供用于學(xué)習(xí)和交流,請勿用于商業(yè)用途。如有侵權(quán)、不妥之處,請舉報本資源,我們將及時審核處理!
嵌入式總線橋OEM2調(diào)試實驗系統(tǒng)手冊v2.0
文本預(yù)覽
PROFIBUS-OEM2 調(diào)試實驗系統(tǒng)
用戶手冊
V 2.0
PROFIBUS
PROFIBUS
北京鼎實創(chuàng)新科技有限公司鼎實科技
目 錄
第一章 PROFIBUS-OEM2調(diào)試實驗系統(tǒng)概述...................................................................................................4
1. 什么是嵌入式PROFIBUS接口OEM2.....................................................................................................4
2. OEM2調(diào)試實驗系統(tǒng)主要用途....................................................................................................................4
3. 調(diào)試實驗系統(tǒng)調(diào)試模式..............................................................................................................................4
⑴ 調(diào)試模式1:實驗板調(diào)試模式..........................................................................................................4
⑵ 調(diào)試模式2:OEM2接口板調(diào)試模式...............................................................................................4
⑶ 調(diào)試模式3:PC機(jī)調(diào)試模式.............................................................................................................5
4. OEM2調(diào)試實驗系統(tǒng)主要部件及選件........................................................................................................6
⑴ 基本配置.............................................................................................................................................6
⑵ 主站部分.............................................................................................................................................6
5. 安全指南......................................................................................................................................................6
第二章 OEM2開發(fā)實驗板.................................................................................................................................7
1. PB-OEM2-SAMPLE布局圖....................................................................................................................7
2. OEM2開發(fā)實驗板原理圖...........................................................................................................................9
⑴ 原理圖-1............................................................................................................................................14
⑵ 原理圖-2............................................................................................................................................14
⑶ 原理圖-3............................................................................................................................................14
⑷ 原理圖-4............................................................................................................................................14
第三章 實驗板程序、GSD文件......................................................................................................................15
⒈ 實驗板程序...............................................................................................................................................15
⑴ 實驗板CPU......................................................................................................................................15
⑵ 實驗板程序.......................................................................................................................................15
⒉ 關(guān)于GSD文件(Electronic Data Sheet)...............................................................................................15
⒊ PB-OEM2-SE的ID號及GSD文件.......................................................................................................16
⒋ 用戶產(chǎn)品的ID號、GSD文件及產(chǎn)品認(rèn)證............................................................................................16
第四章 實驗板程序舉例.....................................................................................................................................18
例1. 簡單工作模式.......................................................................................................................................18
⑴ 技術(shù)參數(shù)...........................................................................................................................................18
⑵ SE初始化報文..................................................................................................................................18
⑶ 數(shù)據(jù)交換狀態(tài)下實驗板與SE接口的數(shù)據(jù)報文.............................................................................19
⑷ 實驗板初始化SE接口板的過程.....................................................................................................19
⑸ 數(shù)據(jù)交換狀態(tài)下實驗板簡單工作模式............................................................................................20
⑹ 實驗板程序清單...............................................................................................................................20
⑺ 例1的GSD文件.............................................................................................................................29
例2.監(jiān)測SE接口狀態(tài)的工作模式...............................................................................................................31
⑴ 技術(shù)參數(shù):.......................................................................................................................................31
⑵ SE初始化報文..................................................................................................................................31
⑶ 數(shù)據(jù)交換狀態(tài)下實驗板與SE接口的數(shù)據(jù)報文.............................................................................32
⑷ SE接口狀態(tài)信號REQ_IT與S_RTS/P17的時序圖......................................................................32
⑸ 實驗板初始化SE接口板的過程.....................................................................................................33
⑹ 數(shù)據(jù)交換狀態(tài)下實驗板帶監(jiān)測接口狀態(tài)功能工作模式................................................................34
⑺ 實驗板程序清單...............................................................................................................................35
1鼎實科技
⑻ 例2的GSD文件.............................................................................................................................44
例3. 帶用戶參數(shù)功能的工作模式...............................................................................................................46
⑴ 需要使用“用戶參數(shù)user_prm”的情況.......................................................................................46
⑵ 實驗I/O功能及實現(xiàn)方法................................................................................................................46
⑶ 具體確定“用戶參數(shù)”類型、個數(shù)、取值范圍............................................................................46
⑷ 帶有“用戶參數(shù)”描述的GSD文件..............................................................................................47
⑸ 如何在主站配置中選擇用戶參數(shù)...................................................................................................49
⑹ 更便于用戶使用的GSD文件.........................................................................................................51
⑺ 帶用戶參數(shù)功能的SE接口的初始化.............................................................................................55
⑻ 帶用戶參數(shù)功能數(shù)據(jù)交換過程.......................................................................................................56
⑼ 實驗板初始化SE接口板的過程框圖.............................................................................................58
⑽ 數(shù)據(jù)交換狀態(tài)下實驗板工作流程...................................................................................................58
⑾ 例3實驗I/O的程序清單................................................................................................................60
第五章 建立一個調(diào)試實驗系統(tǒng).........................................................................................................................72
一、介紹OEM2兩種調(diào)試實驗系統(tǒng)組成.....................................................................................................72
二、實驗調(diào)試系統(tǒng)I:PC 機(jī)+CP5611+WINCC做主站,STEP7做配置.................................................72
1. 系統(tǒng)I設(shè)備清單.................................................................................................................................72
2. 系統(tǒng)Ⅰ結(jié)構(gòu)圖....................................................................................................................................73
3. 系統(tǒng)Ⅰ安裝........................................................................................................................................73
㈠ 硬件安裝...................................................................................................................................73
㈡ 主站PC機(jī)軟件安裝.................................................................................................................73
4. 按照系統(tǒng)提供的例2實現(xiàn)系統(tǒng)連通實驗.........................................................................................74
4.1 使用Step7完成系統(tǒng)配置.......................................................................................................74
⑴ 打開Step7.........................................................................................................................74
⑵ 新建一個項目...................................................................................................................74
⑶ 添加PC Station.................................................................................................................74
⑷ 添加PB-OEM2-SE從站..................................................................................................79
4.2 Set PG-PC Interface的設(shè)置......................................................................................................80
4.3 Simatic Net的設(shè)置...................................................................................................................81
4.4 配置虛擬的PC Station............................................................................................................82
⑴ 運(yùn)行Station Configuration................................................................................................82
⑵ 下載硬件配置信息到虛擬PC Station中......................................................................84
4.5 建立WinCC項目....................................................................................................................85
(1) 創(chuàng)建WinCC項目.............................................................................................................85
(2) 添加PROFIBUS DP驅(qū)動................................................................................................86
(3) 建立標(biāo)簽(Tag)..................................................................................................................87
(4) 畫面編輯...........................................................................................................................88
4.6 運(yùn)行WinCC例程 PB-OEM2-SE...........................................................................................89
三、實驗調(diào)試系統(tǒng)Ⅱ:PLC做主站.............................................................................................................91
⑴ 系統(tǒng)Ⅱ設(shè)備清單...............................................................................................................................91
⑵ 系統(tǒng)Ⅱ結(jié)構(gòu)圖...................................................................................................................................92
⑶ 安裝實驗調(diào)試系統(tǒng)Ⅱ.......................................................................................................................92
㈠ 硬件安裝...................................................................................................................................92
㈡ 主站PC機(jī)軟件安裝.................................................................................................................92
⑷ 按照系統(tǒng)提供的例2實現(xiàn)系統(tǒng)連通實驗........................................................................................93
⑸ 在STEP 7中觀察PROFIBUS輸入輸出變化................................................................................94
2鼎實科技
⑹ PROFIBUS輸入/輸出數(shù)據(jù)地址......................................................................................................96
⑺ 自己完成例2配置實現(xiàn)系統(tǒng)連通實驗............................................................................................97
四、三種調(diào)試模式.......................................................................................................................................101
用戶手冊
V 2.0
PROFIBUS
PROFIBUS
北京鼎實創(chuàng)新科技有限公司鼎實科技
目 錄
第一章 PROFIBUS-OEM2調(diào)試實驗系統(tǒng)概述...................................................................................................4
1. 什么是嵌入式PROFIBUS接口OEM2.....................................................................................................4
2. OEM2調(diào)試實驗系統(tǒng)主要用途....................................................................................................................4
3. 調(diào)試實驗系統(tǒng)調(diào)試模式..............................................................................................................................4
⑴ 調(diào)試模式1:實驗板調(diào)試模式..........................................................................................................4
⑵ 調(diào)試模式2:OEM2接口板調(diào)試模式...............................................................................................4
⑶ 調(diào)試模式3:PC機(jī)調(diào)試模式.............................................................................................................5
4. OEM2調(diào)試實驗系統(tǒng)主要部件及選件........................................................................................................6
⑴ 基本配置.............................................................................................................................................6
⑵ 主站部分.............................................................................................................................................6
5. 安全指南......................................................................................................................................................6
第二章 OEM2開發(fā)實驗板.................................................................................................................................7
1. PB-OEM2-SAMPLE布局圖....................................................................................................................7
2. OEM2開發(fā)實驗板原理圖...........................................................................................................................9
⑴ 原理圖-1............................................................................................................................................14
⑵ 原理圖-2............................................................................................................................................14
⑶ 原理圖-3............................................................................................................................................14
⑷ 原理圖-4............................................................................................................................................14
第三章 實驗板程序、GSD文件......................................................................................................................15
⒈ 實驗板程序...............................................................................................................................................15
⑴ 實驗板CPU......................................................................................................................................15
⑵ 實驗板程序.......................................................................................................................................15
⒉ 關(guān)于GSD文件(Electronic Data Sheet)...............................................................................................15
⒊ PB-OEM2-SE的ID號及GSD文件.......................................................................................................16
⒋ 用戶產(chǎn)品的ID號、GSD文件及產(chǎn)品認(rèn)證............................................................................................16
第四章 實驗板程序舉例.....................................................................................................................................18
例1. 簡單工作模式.......................................................................................................................................18
⑴ 技術(shù)參數(shù)...........................................................................................................................................18
⑵ SE初始化報文..................................................................................................................................18
⑶ 數(shù)據(jù)交換狀態(tài)下實驗板與SE接口的數(shù)據(jù)報文.............................................................................19
⑷ 實驗板初始化SE接口板的過程.....................................................................................................19
⑸ 數(shù)據(jù)交換狀態(tài)下實驗板簡單工作模式............................................................................................20
⑹ 實驗板程序清單...............................................................................................................................20
⑺ 例1的GSD文件.............................................................................................................................29
例2.監(jiān)測SE接口狀態(tài)的工作模式...............................................................................................................31
⑴ 技術(shù)參數(shù):.......................................................................................................................................31
⑵ SE初始化報文..................................................................................................................................31
⑶ 數(shù)據(jù)交換狀態(tài)下實驗板與SE接口的數(shù)據(jù)報文.............................................................................32
⑷ SE接口狀態(tài)信號REQ_IT與S_RTS/P17的時序圖......................................................................32
⑸ 實驗板初始化SE接口板的過程.....................................................................................................33
⑹ 數(shù)據(jù)交換狀態(tài)下實驗板帶監(jiān)測接口狀態(tài)功能工作模式................................................................34
⑺ 實驗板程序清單...............................................................................................................................35
1鼎實科技
⑻ 例2的GSD文件.............................................................................................................................44
例3. 帶用戶參數(shù)功能的工作模式...............................................................................................................46
⑴ 需要使用“用戶參數(shù)user_prm”的情況.......................................................................................46
⑵ 實驗I/O功能及實現(xiàn)方法................................................................................................................46
⑶ 具體確定“用戶參數(shù)”類型、個數(shù)、取值范圍............................................................................46
⑷ 帶有“用戶參數(shù)”描述的GSD文件..............................................................................................47
⑸ 如何在主站配置中選擇用戶參數(shù)...................................................................................................49
⑹ 更便于用戶使用的GSD文件.........................................................................................................51
⑺ 帶用戶參數(shù)功能的SE接口的初始化.............................................................................................55
⑻ 帶用戶參數(shù)功能數(shù)據(jù)交換過程.......................................................................................................56
⑼ 實驗板初始化SE接口板的過程框圖.............................................................................................58
⑽ 數(shù)據(jù)交換狀態(tài)下實驗板工作流程...................................................................................................58
⑾ 例3實驗I/O的程序清單................................................................................................................60
第五章 建立一個調(diào)試實驗系統(tǒng).........................................................................................................................72
一、介紹OEM2兩種調(diào)試實驗系統(tǒng)組成.....................................................................................................72
二、實驗調(diào)試系統(tǒng)I:PC 機(jī)+CP5611+WINCC做主站,STEP7做配置.................................................72
1. 系統(tǒng)I設(shè)備清單.................................................................................................................................72
2. 系統(tǒng)Ⅰ結(jié)構(gòu)圖....................................................................................................................................73
3. 系統(tǒng)Ⅰ安裝........................................................................................................................................73
㈠ 硬件安裝...................................................................................................................................73
㈡ 主站PC機(jī)軟件安裝.................................................................................................................73
4. 按照系統(tǒng)提供的例2實現(xiàn)系統(tǒng)連通實驗.........................................................................................74
4.1 使用Step7完成系統(tǒng)配置.......................................................................................................74
⑴ 打開Step7.........................................................................................................................74
⑵ 新建一個項目...................................................................................................................74
⑶ 添加PC Station.................................................................................................................74
⑷ 添加PB-OEM2-SE從站..................................................................................................79
4.2 Set PG-PC Interface的設(shè)置......................................................................................................80
4.3 Simatic Net的設(shè)置...................................................................................................................81
4.4 配置虛擬的PC Station............................................................................................................82
⑴ 運(yùn)行Station Configuration................................................................................................82
⑵ 下載硬件配置信息到虛擬PC Station中......................................................................84
4.5 建立WinCC項目....................................................................................................................85
(1) 創(chuàng)建WinCC項目.............................................................................................................85
(2) 添加PROFIBUS DP驅(qū)動................................................................................................86
(3) 建立標(biāo)簽(Tag)..................................................................................................................87
(4) 畫面編輯...........................................................................................................................88
4.6 運(yùn)行WinCC例程 PB-OEM2-SE...........................................................................................89
三、實驗調(diào)試系統(tǒng)Ⅱ:PLC做主站.............................................................................................................91
⑴ 系統(tǒng)Ⅱ設(shè)備清單...............................................................................................................................91
⑵ 系統(tǒng)Ⅱ結(jié)構(gòu)圖...................................................................................................................................92
⑶ 安裝實驗調(diào)試系統(tǒng)Ⅱ.......................................................................................................................92
㈠ 硬件安裝...................................................................................................................................92
㈡ 主站PC機(jī)軟件安裝.................................................................................................................92
⑷ 按照系統(tǒng)提供的例2實現(xiàn)系統(tǒng)連通實驗........................................................................................93
⑸ 在STEP 7中觀察PROFIBUS輸入輸出變化................................................................................94
2鼎實科技
⑹ PROFIBUS輸入/輸出數(shù)據(jù)地址......................................................................................................96
⑺ 自己完成例2配置實現(xiàn)系統(tǒng)連通實驗............................................................................................97
四、三種調(diào)試模式.......................................................................................................................................101
AIGC
"嵌入式總線橋OEM2調(diào)試實驗系統(tǒng)手冊v2.0" 是針對一種專門設(shè)計用于嵌入式系統(tǒng)中,作為硬件與不同模塊間通信橋梁的OEM2型號產(chǎn)品所編寫的用戶指南。該手冊詳細(xì)闡述了該系統(tǒng)的技術(shù)規(guī)格、安裝配置、連接流程、功能特性、接口說明、軟件驅(qū)動及API接口使用方法等內(nèi)容,旨在幫助開發(fā)人員、工程師和維護(hù)人員進(jìn)行系統(tǒng)級集成、調(diào)試、測試以及日常操作與故障排查。版本為V2.0,表明其包含了最新的更新內(nèi)容和技術(shù)改進(jìn),以滿足不斷發(fā)展的嵌入式系統(tǒng)需求和日益嚴(yán)格的工程實踐標(biāo)準(zhǔn)。通過閱讀此手冊,讀者能夠更好地理解和掌握如何有效利用OEM2嵌入式總線橋在實際項目中的應(yīng)用與調(diào)試。
相關(guān)資源推薦