




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1、Date:2022-3-6File:SSP2_03C.1SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.2SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation立即尋址的例子立即尋址的例子Date:2022-3-6File:SSP2_03C
2、.3SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation直接尋址的例子直接尋址的例子Date:2022-3-6File:SSP2_03C.4SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.5SIMATIC S7Siemens AG 200
3、0. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.6SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.7SIMATIC S7Siemens AG 2000. All rights reserved.Information and T
4、raining CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.8SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation存儲器間接尋址的例子存儲器間接尋址的例子L QBDBD 10 /將輸出字節(jié)裝入累加器1,輸出字節(jié)的地址指針在數據雙字DBD10 中/如果DBD10 的值為20000 0000 0000 0000 0000 0000 00100000,裝入的是QB4A MLD 4
5、/對存儲器位作“與”運算,地址指針在數據雙字LD4 中/如果LD4 的值為20000 0000 0000 0000 0000 0000 0010 0011,則是對M4.3 進行操作Date:2022-3-6File:SSP2_03C.9SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.10SIMATIC S7Siemens AG 2000. All rights reserved.Info
6、rmation and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.11SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.12SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge f
7、or Automation00Date:2022-3-6File:SSP2_03C.13SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.14SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation地址寄存器的裝入與傳送指令地址寄存器的裝入與傳
8、送指令可以不經過累加器1,與地址寄存器AR1 和AR2 交換數據。下面是應用實例:LAR1 DBD20 /將數據雙字DBD20 中的指針裝入AR1LAR2 LD180 /將局域數據雙字LD180 中的指針裝入AR2LAR1 P#M10.2 /將帶存儲區(qū)標識符的32 位指針常數裝入AR1LAR2 P#24.0 /將不帶存儲區(qū)標識符32 位指針常數裝入AR2TAR1 DBD20 /AR1 中的內容傳送到數據雙字DBD20TAR2 MD24 /AR2 中的內容傳送到存儲器雙字MD24Date:2022-3-6File:SSP2_03C.15SIMATIC S7Siemens AG 2000. All
9、 rights reserved.Information and Training CenterKnowledge for Automation寄存器間接尋址的例子寄存器間接尋址的例子指針常數P5.0 對應的二進制數為20000 0000 0000 0000 00000000 0010 1000。L P#5.0 /將間接尋址的指針裝入累加器1LAR1 /將累加器1 中的內容送到地址寄存器1A MAR1, P#2.3 /AR1 中的P#5.0 加偏移量P#2.3, 實際上是對M7.3 進行操作= QAR1, P#0.2 /邏輯運算的結果送Q5.2L DBWAR1, P#18.0 /將DBW23
10、裝入累加器1區(qū)域間間接尋址L P#M6.0 /將存儲器位M6.0 的雙字指針裝入累加器1LAR1 /將累加器1 中的內容送到地址寄存器1T WAR1, P#50.0 /將累加器1 的內容傳送到存儲器字MW56P#M6.0 對應的二進制數為2#1000 0011 0000 0000 0000 000000110000。因為地址指針P#M6.0 中已經包含有區(qū)域信息,使用間接尋址的指令T WAR1, P#50中沒有必要再用地址標識符M。Date:2022-3-6File:SSP2_03C.16SIMATIC S7Siemens AG 2000. All rights reserved.Inform
11、ation and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.17SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.18SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for
12、 AutomationDate:2022-3-6File:SSP2_03C.19SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.20SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.
13、21SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.22SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.23SIMATIC S7Siemens AG 2000. All right
14、s reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.24SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.25SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Ce
15、nterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.26SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.27SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-
16、3-6File:SSP2_03C.28SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.29SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.30SIMATIC S7Siemens A
17、G 2000. All rights reserved.Information and Training CenterKnowledge for AutomationDate:2022-3-6File:SSP2_03C.31SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation雙指針使用實例雙指針使用實例配方號配方號數據長度數據長度配方源區(qū)數據塊配方源區(qū)數據塊目標目標起始地址起始地址讀出配方目標區(qū)數據塊讀出配方目標區(qū)數據塊Date:2022-3-
18、6File:SSP2_03C.32SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation雙指針使用實例雙指針使用實例Date:2022-3-6File:SSP2_03C.33SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation雙指針使用實例雙指針使用實例進棧數據進棧數據堆棧區(qū)長度堆棧區(qū)長度堆棧區(qū)數
19、據塊堆棧區(qū)數據塊堆棧區(qū)清零標志堆棧區(qū)清零標志堆棧區(qū)數據塊堆棧區(qū)數據塊執(zhí)行條件執(zhí)行條件Date:2022-3-6File:SSP2_03C.34SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation雙指針使用實例雙指針使用實例Date:2022-3-6File:SSP2_03C.35SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation雙指針使用實例雙指針使用實例Date:2022-3-6File:SSP2_03C.36SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training CenterKnowledge for Automation實驗題實驗題要要求編制數據判斷查詢功能,輸入數據變量求編制數據判斷查詢功能
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 滌綸纖維在防霉地毯材料中的應用考核試卷
- 塑料鞋制造過程廢料處理與回收利用考核試卷
- 生物制藥過程中的質量控制實驗室建設與管理考核試卷
- 電視廣播信號加密與解密技術考核試卷
- 玻璃屋頂搭建考核試卷
- 電視芯片原理與系統(tǒng)集成考核試卷
- 皮革護理技能競賽策劃與實施考核試卷
- 陽泉職業(yè)技術學院《單片機技術與應用》2023-2024學年第二學期期末試卷
- 四川托普信息技術職業(yè)學院《建設用地管理》2023-2024學年第二學期期末試卷
- 徐州市九里區(qū)2024-2025學年四下數學期末復習檢測試題含解析
- 刑偵工作調研報告
- 火力發(fā)電廠鍋爐智能燃燒控制技術導則
- 國家開放大學《社會心理學》形考任務1-4參考答案
- 國家開放大學《現代漢語專題》章節(jié)自測參考答案
- 《工程制圖》期末考試試卷附答案
- 防溺水家長會ppt(共34張PPT)
- 用乘法分配律進行簡便計算市公開課一等獎省名師優(yōu)質課賽課一等獎課件
- 框架結構-畢業(yè)設計外文文獻翻譯-外文原文中文翻譯-
- A04044《納稅人稅種認定表》
- 脫鹽水反滲透膜技術協(xié)議
- 城市社區(qū)建設與管理課件
評論
0/150
提交評論