3 s7培訓(xùn)教材24 通過mpi的通訊_第1頁
3 s7培訓(xùn)教材24 通過mpi的通訊_第2頁
3 s7培訓(xùn)教材24 通過mpi的通訊_第3頁
3 s7培訓(xùn)教材24 通過mpi的通訊_第4頁
3 s7培訓(xùn)教材24 通過mpi的通訊_第5頁
已閱讀5頁,還剩16頁未讀, 繼續(xù)免費閱讀

下載本文檔

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

文檔簡介

1、SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.1通過MPI的通訊PG 720SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.2SIMATIC的網(wǎng)絡(luò)PG 720OPsP

2、Cs, OSPGsMPI network Industrial EthernetPROFIBUSPoint-to-Point單元層-SINUMERIK, RCMSIMATIC S5S7-400M7-400S7-300-TI 505-Other PLCPROFIBUS-DPDP/AS-I link 現(xiàn)場層ET 200B/LAS-I層AS-IAS-I power supplysubmodulesField device with AS-I ASICSensors and ActuatorsET 200CASI (Actuator Sensor Interface)SIMATIC S7Siemens

3、 AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.3S7 的通訊S7 通訊同源通訊非同源通訊S7 協(xié)議非西門子的協(xié)議(MPI)如 FDL, FMS 和 MAPSIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C

4、.4作為系統(tǒng)功能的通訊PG 功能(如裝載, 監(jiān)視/修改變量)WinCC 功能PG 連接總是可行的通訊所占用的循環(huán)時間可以限制(CPU 參數(shù))S7 通訊的方法通過MPI的循環(huán)或驅(qū)動通過MPI, Profibus 或通過MPI或K總線的驅(qū)動Industrial Ethernet的驅(qū)動SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.5SFBSFBSFCSFC擴展通訊(配置的通訊 )基本通

5、訊( 非配置的連接 )CPU的操作系統(tǒng)CPU的操作系統(tǒng)全局數(shù)據(jù)SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.6通過MPI組成的網(wǎng)絡(luò)S7-300 或 S7- 400S7-300 或 S7- 400CPU 1CPU 22通過MPI連接PG通過MPI的PLC連接0通過MPI連接OP1PG 720n缺省的 MPI 地址MPI連接器的選擇終端電阻開關(guān)SIMATIC S7Siemens AG

6、 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.7接CPU的MPI接口連接PG/HMI接CPU的MPI接口總線連接器終端電阻帶有Profibus-DP 接口的CPU需要終端電阻N= Profibus-DP節(jié)點NNN帶有Profibus-DP 接口的CPU需要終端電阻需要終端電阻N=Profibus-DP節(jié)點NNSIMATIC S7Siemens AG 2000. All rights reserved.Informati

7、on and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.8NNNNSIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.9全局數(shù)據(jù)綜述CPU 1CPU 2CPU 3MW 10MW 20MW 30全局數(shù)據(jù)SIMATIC S7Siemens AG 2000. All rights reserved

8、.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.10全局數(shù)據(jù)組全局數(shù)據(jù)組S=發(fā)送; R=接收; GD x.y=全局數(shù)據(jù)包y 位于全局數(shù)據(jù)組 x中CPU5CPU4CPU3CPU2CPU11S GD 1.1R GD 1.1R GD 1.2S GD 1.22R GD 2.1S GD 2.1R GD 2.1R GD 2.1R GD 2.13S GD 3.1R GD 3.2R GD 3.1S GD 3.24R GD 4.1S GD 4.1R GD 4.15S GD 5.1R GD

9、5.1R GD 5.16R GD 6.1S GD 6.1R GD 6.1全局數(shù)據(jù):配置步驟SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.11q 在項目中生成硬件站 使用“SIMATIC 管理器q 為每個CPU指定MPI地址并下裝組態(tài) 使用“硬件組態(tài)” 工具q 配置全局數(shù)據(jù)表 使用“定義全局數(shù)據(jù)表” 工具SIMATIC S7Siemens AG 2000. All rights r

10、eserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.12全局數(shù)據(jù): 配置硬件Accessible NodesCPU所連的網(wǎng)絡(luò)設(shè)定 MPI 地址生成站SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.13編輯全局數(shù)據(jù)表重復(fù)系數(shù)定義全局數(shù)據(jù)選擇CPU打開全

11、局數(shù)據(jù)表SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.14編譯全局數(shù)據(jù)表定義掃描率和狀態(tài)信息編譯全局數(shù)據(jù)表SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.15下裝全局

12、通訊的配置數(shù)據(jù)下裝全局通訊的配置數(shù)據(jù)SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.16全局數(shù)據(jù)通訊的狀態(tài)信息發(fā)送方長度錯誤發(fā)送方的DB不存在全局數(shù)據(jù)包丟失在全局數(shù)據(jù)包里語法錯誤在全局數(shù)據(jù)包中對象缺少接收方和發(fā)送方的全局數(shù)據(jù)長度不一致接收方長度錯誤接收方的DB不存在接收方已收到新的數(shù)據(jù)發(fā)送方執(zhí)行了一次重啟動MD 120MB 120MB 121MB 122MB 12376545432

13、107654321076543210SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.17練習(xí)12.1: 通訊的準(zhǔn)備培訓(xùn)設(shè)備1培訓(xùn)設(shè)備2站 2SIEMENS節(jié)點號:.CPU-MPI 地址:.PG 740站 1SIEMENS節(jié)點號:.CPU-MPI 地址:.PG 740SIMATIC S7Siemens AG 2000. All rights reserved.Information

14、and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.18練習(xí)12.2: 配置全局數(shù)據(jù)通訊0815471108154711PLC2 站PLC1 站SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.19練習(xí)12.3: 在幾個站中監(jiān)視變量SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge

溫馨提示

  • 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. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論