PLC200300400最全語句表
|
資料類別
|
電子電工教案 |
|
課程(專業(yè))
|
PLC軟件 |
關(guān)鍵詞
|
PLC|語句|200|300|400 |
適用年級(jí)
|
大學(xué)和軟件編程 |
身份要求
|
普通會(huì)員 |
金 幣
|
40 (金幣如何獲得?) |
文件格式
|
word文檔 |
文件大小
|
271K |
發(fā)布時(shí)間
|
2011-11-25 07:34:00 |
預(yù)覽文件
|
無 |
下載次數(shù)
|
0 |
發(fā)布人 |
chengyeyuan |
內(nèi)容簡介:
目錄
前言................................................................................................................iii
目錄................................................................................................................vii
1 位邏輯指令..................................................................................................1-1
1.1 位邏輯指令概述 ......................................................................................1-1
1.2 A “與” .................................................................................................1-3
1.3 AN “與非” ...........................................................................................1-4
1.4 O “或”.................................................................................................1-5
1.5 ON “或非”...........................................................................................1-6
1.6 X “異或” ...........................................................................................1-7
1.7 XN “異或非” ........................................................................................1-8
1.8 O 先“與”后“或”...................................................................................1-9
1.9 A( “與”運(yùn)算嵌套開始.......................................................................... 1-10
1.10 AN( “與非”運(yùn)算嵌套開始.................................................................... 1-11
1.11 O( “或”運(yùn)算嵌套開始............................................................................ 1-11
1.12 ON( “或非”運(yùn)算嵌套開始.................................................................... 1-12
1.13 X( “異或”運(yùn)算嵌套開始...................................................................... 1-12
1.14 XN( “異或非”運(yùn)算嵌套開始................................................................. 1-13
1.15 ) 嵌套結(jié)束.......................................................................................... 1-14
1.16 = 賦值................................................................................................ 1-15
1.17 R 復(fù)位................................................................................................ 1-16
1.18 S 置位................................................................................................. 1-17
1.19 NOT RLO 取反................................................................................. 1-18
1.20 SET RLO 置位(=1) ........................................................................ 1-18
1.21 CLR RLO 清零(=0) ....................................................................... 1-19
1.22 SAVE 把 RLO 存入 BR 寄存器........................................................... 1-20
1.23 FN 下降沿.......................................................................................... 1-21
1.24 FP 上升沿.......................................................................................... 1-23
2 比較指令.................................................................................................2-1
2.1 比較指令概述..........................................................................................2-1
2.2 ? I 整數(shù)比較(16 位) ...........................................................................2-2
2.3 ? D 雙整數(shù)比較(32 位) ......................................................................2-3
2.4 ? R 浮點(diǎn)數(shù)比較(32 位) ......................................................................2-4
3 轉(zhuǎn)換指令.................................................................................................3-1
3.1 轉(zhuǎn)換指令概述..........................................................................................3-1
3.2 BTI BCD 轉(zhuǎn)成整數(shù)(16 位) .................................................................3-2
3.3 ITB 整數(shù)(16 位)轉(zhuǎn)成 BCD .................................................................3-3
3.4 BTD BCD 轉(zhuǎn)成整數(shù)(32 位) ..............................................................3-4
目錄
viii
3.5 ITD 整數(shù)(16 位)轉(zhuǎn)成雙整數(shù)(32 位) ...............................................3-5
3.6 DTB 雙整數(shù)(32 位)轉(zhuǎn)成 BCD ............................................................3-6
3.7 DTR 雙整數(shù)(32 位)轉(zhuǎn)成浮點(diǎn)數(shù)(32 位,IEEE-FP) ...........................3-7
3.8 INVI 對(duì)整數(shù)(16 位)求反碼.................................................................3-8
3.9 INVD 對(duì)雙整數(shù)(32 位)求反碼............................................................3-9
3.10 NEGI 對(duì)整數(shù)(16 位)求補(bǔ)碼.............................................................. 3-10
3.11 NEGD 對(duì)雙整數(shù)(32 位)求補(bǔ)碼......................................................... 3-11
3.12 NEGR 對(duì)浮點(diǎn)數(shù)(32 位,IEEE-FP)求反............................................. 3-12
3.13 CAW 交換累加器 1 低字(16 位)中的字節(jié)順序................................. 3-13
3.14 CAD 交換累加器 1 (32 位)中的字節(jié)順序........................................ 3-14
3.15 RND 取整........................................................................................... 3-15
3.16 TRUNC 截尾取整................................................................................ 3-16
3.17 RND+ 向上取整為雙整數(shù)..................................................................... 3-17
3.18 RND- 向下取整為雙整數(shù)...................................................................... 3-18
4 計(jì)數(shù)器指令.................................................................................................4-1
4.1 計(jì)數(shù)器指令概述 ......................................................................................4-1
4.2 FR 使能計(jì)數(shù)器(任意) ........................................................................4-2
4.3 L 將當(dāng)前計(jì)數(shù)器值裝入累加器 1 ...........................................................4-3
4.4 LC 將當(dāng)前計(jì)數(shù)器值以 BCD 碼形式裝入累加器 1 ...................................4-4
4.5 R 計(jì)數(shù)器復(fù)位........................................................................................4-5
4.6 S 設(shè)置計(jì)數(shù)器預(yù)設(shè)值..............................................................................4-6
4.7 CU 加計(jì)數(shù)器........................................................................................4-7
4.8 CD 減計(jì)數(shù)器........................................................................................4-8
5 數(shù)據(jù)塊指令.................................................................................................5-1
5.1 數(shù)據(jù)塊指令概述 ......................................................................................5-1
5.2 OPN 打開數(shù)據(jù)塊...................................................................................5-2
5.3 CDB 交換共享數(shù)據(jù)塊和背景數(shù)據(jù)塊.......................................................5-3
5.4 L DBLG 將共享數(shù)據(jù)塊的長度裝入累加器 1 中......................................5-3
5.5 L DBNO 將共享數(shù)據(jù)塊的編號(hào)裝入累加器 1 中.......................................5-4
5.6 L DILG 將背景數(shù)據(jù)塊的長度裝入累加器 1 中.........................................5-4
5.7 L DINO 將背景數(shù)據(jù)塊的編號(hào)裝入累加器 1 中........................................5-5
6 邏輯控制指令.................................................................................................6-1
6.1 邏輯控制指令概述 ...................................................................................6-1
6.2 JU 無條件跳轉(zhuǎn)......................................................................................6-3
6.3 JL 跳轉(zhuǎn)到標(biāo)號(hào)......................................................................................6-4
6.4 JC 若 RLO = 1,則跳轉(zhuǎn)........................................................................6-5
6.5 JCN 若 RLO = 0,則跳轉(zhuǎn).....................................................................6-6
6.6 JCB 若 RLO = 1 則跳轉(zhuǎn),同時(shí)對(duì) BR 置位............................................6-7
6.7 JNB 若 RLO = 0 則跳轉(zhuǎn),同時(shí)對(duì) BR 復(fù)位...........................................6-8
6.8 JBI 若 BR = 1,則跳轉(zhuǎn).........................................................................6-9
6.9 JNBI 若 BR = 0,則跳轉(zhuǎn)..................................................................... 6-10
6.10 JO 若 OV = 1,則跳轉(zhuǎn)....................................................................... 6-11
目錄
ix
6.11 JOS 若 OS = 1,則跳轉(zhuǎn)..................................................................... 6-12
6.12 JZ 若零,則跳轉(zhuǎn)................................................................................. 6-13
6.13 JN 若非零,則跳轉(zhuǎn)............................................................................. 6-14
6.14 JP 若正,則跳轉(zhuǎn)................................................................................. 6-15
6.15 JM 若負(fù),則跳轉(zhuǎn)................................................................................ 6-16
6.16 JPZ 若大于或等于零,則跳轉(zhuǎn).............................................................. 6-17
6.17 JMZ 若小于或等于零,則跳轉(zhuǎn)........................................................... 6-18
6.18 JUO 若運(yùn)算無效,則跳轉(zhuǎn).................................................................... 6-19
6.19 LOOP 循環(huán)控制..................................................................................6-20
7 整數(shù)算術(shù)運(yùn)算指令.................................................................................................7-1
7.1 整數(shù)算術(shù)運(yùn)算指令概述 ............................................................................7-1
7.2 判斷整數(shù)算術(shù)運(yùn)算指令后狀態(tài)字的位 ........................................................7-2
7.3 +I 將累加器1 和累加器2 中的內(nèi)容相加(16 位整數(shù)運(yùn)算)...........................7-3
7.4 –I 將累加器2 的內(nèi)容減累加器1 的內(nèi)容(16 位整數(shù)運(yùn)算) ...........................7-4
7.5 *I 將累加器1 和累加器2 中的內(nèi)容相乘(16 位整數(shù)運(yùn)算) ...........................7-5
7.6 /I 將累加器2 的內(nèi)容除以累加器1 的內(nèi)容(16 位整數(shù)運(yùn)算) .......................7-6
7.7 + 加整型常數(shù)(16 位,32 位)...........................................................7-7
7.8 +D 將累加器1 和累加器2 的內(nèi)容相加(32 位雙整數(shù)運(yùn)算) .........................7-9
7.9 –D 累加器2 的內(nèi)容減累加器1 的內(nèi)容(32 位雙整數(shù)運(yùn)算)........................ 7-10
7.10 *D 將累加器1 和累加器2 的內(nèi)容相乘(32 位雙整數(shù)運(yùn)算) ....................... 7-11
7.11 /D 累加器2 的內(nèi)容除以累加器1 的內(nèi)容(32 位雙整數(shù)運(yùn)算) ..................... 7-12
7.12 MOD 雙整數(shù)除法的余數(shù)(32 位) ....................................................... 7-13
8 浮點(diǎn)數(shù)運(yùn)算指令.................................................................................................8-1
8.1 浮點(diǎn)數(shù)運(yùn)算指令概述................................................................................8-1
8.2 判斷浮點(diǎn)數(shù)運(yùn)算指令后狀態(tài)字的位............................................................8-2
8.3 浮點(diǎn)數(shù)運(yùn)算指令:基本指令......................................................................8-3
8.3.1 +R 將累加器1 和累加器2 中的內(nèi)容相加(32 位浮點(diǎn)數(shù),IEEE-FP) ................... 8-3
8.3.2 –R 將累加器2 中的內(nèi)容減去累加器1 中的內(nèi)容(32 位浮點(diǎn)數(shù),IEEE-FP) ......... 8-4
8.3.3 *R 將累加器1 和累加器2 中的內(nèi)容相乘(32 位浮點(diǎn)數(shù),IEEE-FP).................... 8-5
8.3.4 /R 累加器2 的內(nèi)容除以累加器1 的內(nèi)容(32 位浮點(diǎn)數(shù),IEEE-FP)..................... 8-6
8.3.5 ABS 取絕對(duì)值(32 位浮點(diǎn)數(shù),IEEE-FP)....................................................... 8-7
8.4 浮點(diǎn)數(shù)運(yùn)算指令:擴(kuò)展指令......................................................................8-8
8.4.1 SQR 平方運(yùn)算(32 位) ................................................................................. 8-8
8.4.2 SQRT 開方運(yùn)算(32 位)................................................................................ 8-9
8.4.3 EXP 指數(shù)運(yùn)算(32 位) .................................................................................8-10
8.4.4 LN 自然對(duì)數(shù)運(yùn)算(32 位)............................................................................8-11
8.4.5 SIN 正弦運(yùn)算(32 位)..................................................................................8-12
8.4.6 COS 余弦運(yùn)算(32 位) ................................................................................8-13
8.4.7 TAN 正切運(yùn)算(32 位).................................................................................8-14
8.4.8 ASIN 反正弦運(yùn)算(32 位)............................................................................8-15
8.4.9 ACOS 反余弦運(yùn)算(32 位).........................................................................8-16
8.4.10 ATAN 反正切運(yùn)算(32 位) ...........................................................................8-17
目錄
x
9 裝載和傳送指令.................................................................................................9-1
9.1 裝載和傳送指令概述................................................................................9-1
9.2 L 裝載................................................................................................9-2
9.3 L STW 將狀態(tài)字裝入累加器 1...............................................................9-4
9.4 LAR1 將累加器 1 中的內(nèi)容裝入地址寄存器 1........................................9-5
9.5 LAR1 ﹤D﹥ 將雙整數(shù)(32 位指針)裝入地址寄存器1...................................9-6
9.6 LAR1 AR2 將地址寄存器 2 的內(nèi)容裝入地址寄存器 1 .............................9-7
9.7 LAR2 將累加器 1 中的內(nèi)容裝入地址寄存器 2........................................9-7
9.8 LAR2 ﹤D﹥ 將雙整數(shù)(32 位指針)裝入地址寄存器2...................................9-8
9.9 T 傳送................................................................................................9-9
9.10 T STW 將累加器 1 中的內(nèi)容傳送到狀態(tài)字........................................... 9-10
9.11 CAR 交換地址寄存器 1 和地址寄存器 2 的內(nèi)容................................ 9-11
9.12 TAR1 將地址寄存器 1 中的內(nèi)容傳送到累加器 1 .................................. 9-11
9.13 TAR1 ﹤D﹥將地址寄存器1 的內(nèi)容傳送到目的地(32 位指針) ...................... 9-12
9.14 TAR1 AR2 將地址寄存器1 的內(nèi)容傳送到地址寄存器2 .......................... 9-13
9.15 TAR2 將地址寄存器 2 中的內(nèi)容傳送到累加器 1 .................................. 9-13
9.16 TAR2 ﹤D﹥將地址寄存器2 的內(nèi)容傳送到目的地(32 位指針) ...................... 9-14
10 程序控制指令.................................................................................................10-1
10.1 程序控制指令概述 ................................................................................. 10-1
10.2 BE 塊結(jié)束.......................................................................................... 10-2
10.3 BEC 塊有條件結(jié)束.............................................................................. 10-3
10.4 BEU 塊無條件結(jié)束.............................................................................. 10-4
10.5 CALL 塊調(diào)用...................................................................................... 10-5
10.6 調(diào)用功能塊 ........................................................................................... 10-8
10.7 調(diào)用功能 ............................................................................................ 10-10
10.8 調(diào)用系統(tǒng)功能塊 ...................................................................................10-11
10.9 調(diào)用系統(tǒng)功能...................................................................................... 10-13
10.10 調(diào)用多背景塊...................................................................................... 10-14
10.11 從庫中調(diào)用塊...................................................................................... 10-14
10.12 CC 條件調(diào)用..................................................................................... 10-15
10.13 UC 無條件調(diào)用................................................................................. 10-16
10.14 MCR(主控繼電器)............................................................................10-17
10.15 使用 MCR 功能的重要注意事項(xiàng).......................................................... 10-19
10.16 MCR( 將 RLO 存入 MCR 堆棧,開始 MCR ..................................... 10-20
10.17 )MCR 結(jié)束 MCR.............................................................................. 10-22
10.18 MCRA 激活 MCR 程序段................................................................. 10-23
10.19 MCRD 取消激活 MCR 程序段.......................................................... 10-24
11 移位和循環(huán)移位指令.................................................................................................11-1
11.1 移位指令 .............................................................................................. 11-1
11.1.1 移位指令概述.....................................................................................................11-1
11.1.2 SSI 移位有符號(hào)整數(shù)(16 位)........................................................................11-2
11.1.3 SSD 移位有符號(hào)雙整數(shù)(32 位) ..................................................................11-3
目錄
xi
11.1.4 SLW 字(16 位)左移....................................................................................11-5
11.1.5 SRW 字(16 位)右移...................................................................................11-6
11.1.6 SLD 雙字(32 位)左移.................................................................................11-7
11.1.7 SRD 雙字(32 位)右移.................................................................................11-8
11.2 循環(huán)移位指令.......................................................................................11-10
11.2.1 循環(huán)移位指令概述............................................................................................ 11-10
11.2.2 RLD 雙字(32 位)循環(huán)左移........................................................................ 11-10
11.2.3 RRD 雙字(32 位)循環(huán)右移....................................................................... 11-12
11.2.4 RLDA 通過 CC 1(32 位)對(duì)累加器 1 循環(huán)左移........................................ 11-13
11.2.5 RRDA 通過 CC 1(32 位)對(duì)累加器 1 循環(huán)右移....................................... 11-14
12 定時(shí)器指令.................................................................................................12-1
12.1 定時(shí)器指令概述 .................................................................................... 12-1
12.2 存儲(chǔ)器中定時(shí)器的位置和定時(shí)器的組件 ................................................... 12-2
12.3 FR 使能定時(shí)器(任意) ...................................................................... 12-5
12.4 L 將當(dāng)前定時(shí)值作為整數(shù)裝入累加器 1 ................................................. 12-7
12.5 LC 將當(dāng)前定時(shí)器值作為 BCD 碼裝入累加器 1..................................... 12-8
12.6 R 復(fù)位定時(shí)器...................................................................................... 12-9
12.7 SP 脈沖定時(shí)器.................................................................................. 12-10
12.8 SE 擴(kuò)展脈沖定時(shí)器............................................................................12-11
12.9 SD 延時(shí)接通定時(shí)器........................................................................... 12-13
12.10 SS 保持型延時(shí)接通定時(shí)器................................................................. 12-14
12.11 SF 延時(shí)斷開定時(shí)器........................................................................... 12-16
13 字邏輯指令.................................................................................................13-1
13.1 字邏輯指令概述 .................................................................................... 13-1
13.2 AW 字“與”(16 位).......................................................................... 13-2
13.3 OW 字“或”(16 位) ......................................................................... 13-3
13.4 XOW 字“異或”(16 位)..................................................................... 13-4
13.5 AD 雙字“與”(32 位) ....................................................................... 13-6
13.6 OD 雙字“或”(32 位)...................................................................... 13-7
13.7 XOD 雙字“異或”(32 位)................................................................. 13-8
14 累加器操作指令.................................................................................................14-1
14.1 累加器和地址寄存器操作指令概述.......................................................... 14-1
14.2 TAK 累加器 1 與累加器 2 進(jìn)行互換.................................................... 14-2
14.3 POP 帶有兩個(gè)累加器的 CPU............................................................... 14-3
14.4 POP 帶有四個(gè)累加器的 CPU............................................................... 14-4
14.5 PUSH 帶有兩個(gè)累加器的 CPU............................................................. 14-5
14.6 PUSH 帶有四個(gè)累加器的 CPU............................................................. 14-6
14.7 ENT 進(jìn)入累加器堆棧........................................................................... 14-7
14.8 LEAVE 離開累加器堆棧....................................................................... 14-7
14.9 INC 增加累加器 1 低字的低字節(jié)內(nèi)容.................................................. 14-8
14.10 DEC 減少累加器 1 低字的低字節(jié)內(nèi)容................................................. 14-9
14.11 +AR1 將累加器 1 加到地址寄存器 1................................................. 14-10
目錄
xii
14.12 +AR2 將累加器 1 加到地址寄存器 2..................................................14-11
14.13 BLD 程序顯示指令(空) .................................................................. 14-12
14.14 NOP 0 空操作指令............................................................................ 14-13
14.15 NOP 1 空操作指令............................................................................ 14-13
A 所有語句表指令一覽.................................................................................................A-1
A.1 按德文助記符分類的語句表指令 .............................................................. A-1
A.2 按英文助記符分類的語句表指令(國際)................................................. A-6
B 編程舉例.................................................................................................B-1
B.1 編程舉例概述......................................................................................... B-1
B.2 例如:位邏輯指令 .................................................................................. B-2
B.3 例如:定時(shí)器指令 .................................................................................. B-5
B.4 例如:計(jì)數(shù)器和比較指令 ........................................................................ B-8
B.5 例如:整數(shù)算術(shù)運(yùn)算指令 .......................................................................B-10
B.6 例如:字邏輯指令 .................................................................................B-11
C 參數(shù)傳遞.................................................................................................C-1
位邏輯指令
相關(guān)說明:
1. 如您下載的資料不止一份,建議您注冊成為本站會(huì)員。會(huì)員請登錄后下載。
2. 會(huì)員購買金幣50元以下,0.7元/個(gè),50元以上,0.5元/個(gè)。具體請看:下載與付款。
3. 會(huì)員48小時(shí)內(nèi)下載同一文件,不重復(fù)扣金幣。
4. 下載后請用WinRAR或 WinZIP解壓縮后使用。
5. 如仍有其他下載問題,請看常見問題解答。
下載地址:
|
|
|