版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、目錄3.ST基本原理..........................................................................................................................73.1語言描述................................................................................
2、.........................................73.1.1語法圖......................................................................................................................73.1.2語法圖中的塊........................................
3、..................................................................73.1.3規(guī)則的意義(語義)..............................................................................................83.2基本元素的語言..................................
4、...........................................................................83.2.1ST字符組.................................................................................................................83.2.2ST中的標(biāo)識(shí)符........
5、.................................................................................................93.2.2.1標(biāo)識(shí)符的規(guī)則............................................................................................93.2.2.2標(biāo)識(shí)符舉例....
6、..........................................................................................103.2.3預(yù)留標(biāo)識(shí)符............................................................................................................103.2.3.1保
7、護(hù)標(biāo)識(shí)符..............................................................................................113.2.4數(shù)字和布爾值........................................................................................................173.2
8、.4.1整數(shù).........................................................................................................173.2.4.2浮點(diǎn)數(shù).................................................................................................
9、.....183.2.4.3指數(shù).........................................................................................................183.2.4.4布爾值.......................................................................................
10、...............183.2.4.5數(shù)字的數(shù)據(jù)類型......................................................................................193.2.5字符串.............................................................................................
11、.......................193.3ST源文件的結(jié)構(gòu)..........................................................................................................203.3.1語句.....................................................................
12、...................................................213.3.2注釋........................................................................................................................223.4數(shù)據(jù)類型...............................
13、............................................................................................233.4.1基本數(shù)據(jù)類型........................................................................................................233.4.1.1基本
14、數(shù)據(jù)類型..........................................................................................233.4.1.2基礎(chǔ)數(shù)據(jù)類型的值的范圍限制..............................................................253.4.1.3普通的數(shù)據(jù)類型..........................
15、............................................................263.4.1.4基礎(chǔ)系統(tǒng)數(shù)據(jù)類型..................................................................................273.4.2用戶定義的數(shù)據(jù)類型.............................................
16、...............................................273.4.2.1用戶定義的數(shù)據(jù)類型..............................................................................273.4.2.2用戶定義的數(shù)據(jù)類型的語法(類型聲明)..........................................283.4.2.
17、3基礎(chǔ)派生或派生的數(shù)據(jù)類型..................................................................293.4.2.4派生數(shù)據(jù)類型ARRAY.............................................................................303.7.4WHILE語句..............................
18、...............................................................................633.7.5REPEAT語句............................................................................................................643.7.6EXIT語句.....
19、............................................................................................................643.7.7RETURN語句.................................................................................................
20、..........653.7.8WAIFCONDITION語句........................................................................................653.7.9GOTO語句.......................................................................................
21、.......................673.8數(shù)據(jù)類型轉(zhuǎn)換...............................................................................................................673.8.1基礎(chǔ)數(shù)據(jù)類型轉(zhuǎn)換............................................................
22、....................................673.8.1.1隱式數(shù)據(jù)類型轉(zhuǎn)換..................................................................................683.8.1.2顯式數(shù)據(jù)類型轉(zhuǎn)換....................................................................
23、..............703.8.2補(bǔ)充的轉(zhuǎn)換............................................................................................................714.功能,功能塊和程序.........................................................................
24、.................................714.1創(chuàng)建和調(diào)用功能和功能塊...........................................................................................724.1.1定義功能.....................................................................
25、...........................................724.1.2定義功能塊............................................................................................................734.1.3FC和FB的聲明部分........................................
26、......................................................734.1.4FB和FC部分的語句..............................................................................................754.1.5功能和功能塊的調(diào)用.......................................
27、.....................................................764.1.5.1參數(shù)轉(zhuǎn)移的原則......................................................................................764.1.5.2轉(zhuǎn)移給輸入?yún)?shù)的參數(shù)..............................................
28、............................774.1.5.3參數(shù)轉(zhuǎn)移給inout參數(shù)..........................................................................784.1.5.4參數(shù)轉(zhuǎn)移到輸出參數(shù)(僅對(duì)FB).........................................................794.1.5.5參數(shù)訪問時(shí)間.
29、.........................................................................................794.1.5.6調(diào)用一個(gè)功能..........................................................................................794.1.5.7調(diào)用功能塊(實(shí)例調(diào)用)......
30、................................................................804.1.5.8在FB外訪問FB輸出參數(shù).....................................................................814.1.5.9在FB外訪問FB輸入?yún)?shù).............................................
31、.........................824.1.5.10FB調(diào)用時(shí)的錯(cuò)誤源................................................................................824.2功能和功能塊的比較..................................................................................
32、.................834.2.1例子說明................................................................................................................834.2.2帶注釋的源文件..................................................................
33、..................................844.3程序...............................................................................................................................854.4表達(dá)式............................................
34、...............................................................................875.在SIMOTION中ST的集成.................................................................................................895.1源文件部分的使用............
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 眾賞文庫僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- simotion st編程說明書中文
- referencemanager中文說明書
- 說明書封皮中文.doc
- 說明書封皮中文.doc
- 說明書封皮中文.doc
- 說明書封皮中文.doc
- 中文說明書樣本
- man主機(jī)說明書(中文)
- 說明書封皮中文.doc
- yh線切割軟件編程說明書
- kx中文說明書.
- aktaexplorer 中文說明書
- 說明書封皮中文.doc
- 說明書封皮中文.doc
- man主機(jī)說明書(中文)
- vsi制砂機(jī)中文說明書
- 意科(iecco)sinus penta編程指南-簡(jiǎn)體中文-變頻器說明書
- 雞蛋杯中文說明書
- 臺(tái)式凍干機(jī)中文說明書
- lg變頻器說明書is5-中文說明書
評(píng)論
0/150
提交評(píng)論