20 檢測偶發(fā)的錯誤_第1頁
20 檢測偶發(fā)的錯誤_第2頁
20 檢測偶發(fā)的錯誤_第3頁
20 檢測偶發(fā)的錯誤_第4頁
20 檢測偶發(fā)的錯誤_第5頁
已閱讀5頁,還剩8頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、檢測偶發(fā)的錯誤SIMATIC S7Siemens AG 2000. All rights reserved.Date:2018/10/9File:SSP2_8C.1Information and Training Center Knowledge for Automation顯示CPU信息SIMATIC S7Siemens AG 2000. All rights reserved.Date:2018/10/9File:SSP2_8C.2Information and Training Center Knowledge for Automation在診斷緩沖器中寫入用戶信息CPU節(jié)點SFC 52

2、 SEND = TRUE發(fā)送緩沖器12異步地向用戶程序發(fā)送 如:PG, OP診斷緩沖器SIMATIC S7Siemens AG 2000. All rights reserved.Date:2018/10/9File:SSP2_8C.3Information and Training Center Knowledge for Automation配置用戶自己的文本信息SIMATIC S7Siemens AG 2000. All rights reserved.Date:2018/10/9File:SSP2_8C.4Information and Training Center Knowledg

3、e for Automation調(diào)用SFC 52Network 2: User message when limit value exceededCMPR#analog value_ normalizedIN1M 90.1PSFC 52M 0.1=1M 0.1SENDW#16#A901EVENTNRET_VAL#error_sfc52INFO 1#dummy#analog value_ normalizedENIN25.000000e+003SIMATIC S7Siemens AG 2000. All rights reserved.Date:2018/10/9File:SSP2_8C.5EN

4、OINFO 2Information and Training Center Knowledge for AutomationSFC 52 中EVENTN 參數(shù)的結(jié)構(gòu)EVENTN0123456789101112131415種類特征號種類保留以備將來擴展C.F利用信息配置功能定義的自由文本A.B的標準文本(見標準和系統(tǒng)功能手冊)1.9號特征號可以連續(xù)從1 到 255到來的離去的內(nèi)部錯誤外部錯誤的特征,例如:Bit 8= “1” -Bit 8= “0” -Bit 10= “1” -Bit 11= “1” -針對不同定義在一個種類中,SIMATIC S7Siemens AG 2000. All ri

5、ghts reserved.Date:2018/10/9File:SSP2_8C.6Information and Training Center Knowledge for Automation具有診斷功能的模塊具有診斷功能模塊的參數(shù)配置:. 當(dāng)錯誤出現(xiàn)時,觸發(fā)一個診斷中斷 OB 82SIMATIC S7Siemens AG 2000. All rights reserved.Date:2018/10/9File:SSP2_8C.7Information and Training Center Knowledge for Automation在SIMATIC管理器中顯示硬件診斷信息2xSIM

6、ATIC S7Siemens AG 2000. All rights reserved.Date:2018/10/9File:SSP2_8C.8Information and Training Center Knowledge for Automation練習(xí)8.1: 顯示診斷信息SIMATIC S7Siemens AG 2000. All rights reserved.Date:2018/10/9File:SSP2_8C.9Information and Training Center Knowledge for Automation練習(xí)8.2: 輸出用戶信息*EN*SENDRET_VAL

7、EVENTNINFO1INFO2SFC 52?TRUE W#16#9101MW 54MD 56MW 52*在LAD方式下在 EN 端必須連接一個觸點SIMATIC S7Siemens AG 2000. All rights reserved.Date:2018/10/9File:SSP2_8C.10Information and Training Center Knowledge for Automation練習(xí)8.3: 使能診斷中斷并仿真硬件錯誤序號步驟結(jié)果12345 利用硬件組態(tài)工具在一個模擬量模塊上使能診斷中斷允許硬件診斷將組態(tài)下裝到CPU拆除模擬量模塊的前連接器“SF”燈點亮指示硬件故

8、障打開硬件診斷工具顯示在線的系統(tǒng)配置確定故障原因顯示信息“Power supply failure”,表明故障原因為電源故障。SIMATIC S7Siemens AG 2000. All rights reserved.Date:2018/10/9File:SSP2_8C.11Information and Training Center Knowledge for Automation練習(xí)8.4: 評價錯誤處理OB的啟動信息OB 122 中評價啟動信息的示例LOB122_SW_FLT/Identifier read-only or write-only accessLB#16#42/Iden

9、tifier for read-only access=I/Compare for sameness=M 122.0/Auxiliary memory markerLOB122_MEM_ADDR/Address of module, that triggered the errorL352/Address of analog module (Version A)=I/Evaluation, if error from analog module=M 122.1/Auxiliary memory markerSIMATIC S7Siemens AG 2000. All rights reserved.Date:2018/10/9File:SSP2_8C.12Information and Training Center Knowledge for Automation練習(xí)8.5: 評價一個電池錯誤步驟操作結(jié)果321 從CPU上取下后備電池錯誤處理塊 OB 81被調(diào)用檢查輸出Q 5.7是否閃爍它可能不閃爍發(fā)

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論