s7-300400 系統(tǒng)、維護(hù)與編程綜合課程a7111serv2_05c_troubleshoot_第1頁
s7-300400 系統(tǒng)、維護(hù)與編程綜合課程a7111serv2_05c_troubleshoot_第2頁
s7-300400 系統(tǒng)、維護(hù)與編程綜合課程a7111serv2_05c_troubleshoot_第3頁
s7-300400 系統(tǒng)、維護(hù)與編程綜合課程a7111serv2_05c_troubleshoot_第4頁
s7-300400 系統(tǒng)、維護(hù)與編程綜合課程a7111serv2_05c_troubleshoot_第5頁
已閱讀5頁,還剩39頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡介

1、SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.1故障診斷SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.2故障診斷SIMATIC S7Siemens AG 2003. All rights reserved

2、.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.3目標(biāo)學(xué)習(xí)了本章之后,你將 .能夠?qū)Τ霈F(xiàn)的故障分類為“系統(tǒng)識別的故障”和“功能故障”.熟悉“顯示CPU信息”功能.能夠讀出診斷緩沖區(qū),解釋它并用它排故.能夠讀出I STACK、 B STACK 和 L STACK并解釋它們.能夠讀出硬件診斷.能夠使用“Monitor / Modify Variable ”功能并用它們排故.能夠解釋LAD/STL/FBD編輯器中“Monitor ”功能的顯示.能夠讀出參考數(shù)據(jù),解釋它們并用它們排故.了解“Forc

3、e ”功能SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.4故障的級別由系統(tǒng)檢測出的故障 PLC 內(nèi)部記錄、評估和指示故障(作為規(guī)則: CPU STOP) 模板故障 信號電纜短路 掃描時間超出 程序錯誤 (訪問不存在的塊)功能故障 要求的功能或者不執(zhí)行或者不正確地執(zhí)行 過程故障 (傳感器/執(zhí)行器、 電纜故障) 邏輯編程錯誤 (在生成和啟動時未發(fā)現(xiàn))SIMATIC S7Siemens AG 2003.

4、All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.5STEP7 調(diào)試工具, 概述故障由系統(tǒng)檢測出的故障:功能故障:基本規(guī)則: CPU 處于 STOP基本規(guī)則: CPU 處于 RUN(例如訪問不存在的 DB)(過程故障,例如斷線)(信號模板的診斷中斷)(邏輯編程錯誤,象雙重賦值)調(diào)試工具:調(diào)試工具: 模板信息使能外設(shè)輸出 (修改輸出)- 診斷緩沖區(qū)監(jiān)視 / 修改變量- 中斷堆棧監(jiān)視塊 (塊狀態(tài))- 塊堆棧參考數(shù)據(jù)- 局部堆棧-交叉參考 硬件診斷-I/Q/M/

5、T/C分配表- 程序結(jié)構(gòu)- 無符號的地址- 未使用的符號不論故障的原因是什么你都可以使用: 強(qiáng)制 設(shè)置斷點(diǎn)SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.6系統(tǒng)診斷 - 概述CPU 診斷檢查系統(tǒng)錯誤CPUI/Q 模塊程序診斷檢查錯誤可診斷的模板檢查錯誤診斷中斷并產(chǎn)生一個診斷中斷錯誤診斷緩沖區(qū)系統(tǒng)狀態(tài)表OB診斷信息SIMATIC S7Siemens AG 2003. All rights reserve

6、d.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.7顯示CPU信息SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.8調(diào)用“模塊信息”工具M(jìn)odule InformationLAD/STL/FBD EditorSIMATIC ManagerSIMATIC S7Siemens AG 2003. All

7、rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.9模塊信息選項(xiàng):“診斷緩沖器”SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.10解釋診斷緩沖器中的錯誤信息SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Tr

8、aining for Automation and DrivesDate: File:2018/10/3Troubleshoot.11打開一個有錯誤的塊SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.12利用堆棧中斷堆棧,塊堆棧,局部堆棧診斷在 I Stack (中斷堆棧)中可以看到當(dāng)中斷發(fā)生時,累加器、寄存器、狀態(tài)字等的內(nèi)容看到容錯誤位置在 LStack (局部堆棧)中可以當(dāng)中斷發(fā)生時,臨時變量的內(nèi)

9、錯誤位置通過 B Stack(塊堆棧)可以看到發(fā)生錯誤之前曾執(zhí)行過的塊程序結(jié)構(gòu)包含錯誤的塊SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.13塊堆棧的內(nèi)容SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.14中

10、斷堆棧的內(nèi)容SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.15局部堆棧的內(nèi)容SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.16顯示硬件診斷twiceSIMATIC S7Siemens AG 2003. A

11、ll rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.17練習(xí): 發(fā)現(xiàn)并排除故障執(zhí)行一次CPU存儲器復(fù)位并把CPU設(shè)置為 STOPCPU中的用戶程序被刪除從項(xiàng)目 “SERV2”將S7程序“ERROR_32” 作為與硬件無關(guān)的程序拷貝到你的項(xiàng)目“My_Project”中你的項(xiàng)目“My_Project”中與硬件無關(guān)的S7程序“ERROR_32”存在從對應(yīng)CPU的S7程序“My_Program” 的塊文件夾把系統(tǒng)數(shù)據(jù)下裝到CPU中PLC的硬件再次分配如以前的參數(shù)以至于

12、甚至閃爍時鐘存儲器也再次有效將S7程序“ERROR_32” 中的所有塊下裝到CPU中并執(zhí)行一次冷啟動包含故障的程序被下裝冷啟動之后CPU進(jìn)入STOP狀態(tài)發(fā)現(xiàn)并排除所有導(dǎo)致停機(jī)的錯誤 做的時候回答下列關(guān)于錯誤的問題CPU保持在RUN狀態(tài)12345做什么結(jié)果步驟SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.18啟動“Monitor/Modify Variables”工具SIMATIC S7Siemens

13、 AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.19設(shè)定“Monitor/Modify Variables”觸發(fā)點(diǎn)循環(huán)程序執(zhí)行的開始設(shè)定觸發(fā)點(diǎn)Monitor / ModifyUpdate Status /根據(jù)觸發(fā)點(diǎn)Modify Values(一次monitor / modify)轉(zhuǎn)換:RUN - STOP循環(huán)程序的結(jié)束PIQ循環(huán)程序執(zhí)行PII打開變量表并建立與CPU的連接可訪問的 CPU組態(tài)的CPU直接連接的CPU(從硬件站“Stat

14、ion 2”SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.20PG來的VAT)Station 3Station 2Station 1SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.21用“Monitor”測

15、試程序SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.22程序狀態(tài)顯示信息的選擇LAD/STL/FBD 編輯器 - Options -Customize. 或在運(yùn)行狀態(tài):在下面的位置點(diǎn)擊鼠標(biāo)右鍵SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/

16、10/3Troubleshoot.23顯示參考數(shù)據(jù)SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.24顯示程序結(jié)構(gòu)SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.25顯示交叉參考表SIMATIC S7Siem

17、ens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.26過濾交叉參考表SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.27利用交叉參考表修改塊SIMATIC S7Siemens AG 2003. All rights reserved.SI

18、TRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.28地址定位功能1x右鍵SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.29練習(xí): 測試電機(jī)點(diǎn)動SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation an

19、d DrivesDate: File:2018/10/3Troubleshoot.30練習(xí): 測試數(shù)量的顯示SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.31查找參考數(shù)據(jù)SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Trouble

20、shoot.32I,Q,M,T,C分配表SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.33未使用的符號 / 無符號的地址SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.34塊的比較 (1).見下頁SIMAT

21、IC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.35塊的比較 (2)SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.36在停止模式修改輸出SIMATIC S7Siemens AG 2003. All rights re

22、served.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.37強(qiáng)制功能SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and DrivesDate: File:2018/10/3Troubleshoot.38如果你想知道更多SIMATIC S7Siemens AG 2003. All rights reserved.SITRAIN Training for Automation and

溫馨提示

  • 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)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論