老熟妇乱子交视频一区,99RE6在线视频精品免费下载,国产精品一二三区久久狼,深夜精品免费在线观看,亚洲av天堂天天天堂色,波多野结系列18部无码观看AV ,少妇av一区二区三区无码,一区二区在线观看成人午夜
                歡迎光臨昆侖通態(tài)觸摸屏系統(tǒng)集成商
                當前位置
                首頁 > 新聞中心
                西門子STL程序中使用UC調用FB塊的地址寄存器2問題
                2020/11/11 21:16:36

                西門子STL程序中使用UC調用FB塊的地址寄存器2問題

                +AR2  P#168.0      UC    "TON"      +AR2  P#8024.0    這段程序中, +AR2  P#168.0在地址寄存器2為0的情況下,將指針地址指向了TON功能塊的多重背景數(shù)據(jù)塊的起始地址,那么+AR2  P#8024.0是將地址寄存器2中的數(shù)據(jù)清零嗎?在調用TON功能塊前后這兩個地址偏移之和是8192.0,我看其它調用的時候也說這樣,這樣做是如何實現(xiàn)地址寄存器2清零的?

                不會清零,
                LAR2 loads address register AR2 with the contents ACCU 1 (32-bit pointer).
                ACCU 1 and ACCU 2 remain unchanged. The instruction is executed without regard to, and without affecting, the status bits.
                Status word 

                 BR CC 1 CC 0 OV OS OR STA RLO /FC 

                TAR2 transfers the contents of address register AR2 into ACCU 1 (32-bit pointer). The contents of ACCU 1 were previously saved into ACCU 2. The instruction is executed without regard to, and without affecting, the status bits.
                Status word 

                 BR CC 1 CC 0 OV OS OR STA RLO /FC 

                +AR2 (add to AR2) adds an offset specified either in the instructionor in ACCU 1-L to the contents of AR. The integer (16 bit) is initially expanded to 2 bits with its correct sign and then added to the least significant 24 bits of AR2 (part of the relative address in AR2). The part of the area ID in AR2 (bits 24, 25, and 26) remains unchanged. The instruction is executed without regard to, and without affecting, the status bits.
                +AR2: The integer (16 bit) to be added to the contents of AR2 is specified by the value in ACCU 1-L. Values from -32768 to +32767 are permissible.
                +AR2 : The offset to be added is specified by the  address.
                Status word 

                 BR CC 1 CC 0 OV OS OR STA RLO /FC 

                writes: - - - - - - - - - 


                Example 1 

                STL Explanation 

                L  +300 //Load the value in ACCU 1-L. 

                +AR1  //Add ACCU 1-L (integer, 16 bit) to AR2. 


                Example 2 

                STL Explanation 

                +AR1 P#300.0 //Add the offset 30.0 to AR2.

                聯(lián)系方式
                CONTACT US

                電話:13916183699

                郵箱:13916183699@139.com

                網址:http://m.nabaiqian.cn

                地址:中國上海市青浦區(qū)北青公路7171號111-112室

                用手機掃描二維碼關閉
                主站蜘蛛池模板: 四虎永久在线精品无码视频| 黑森林av导航| 国内少妇人妻丰满av| 最新的国产成人精品2020| 国产精品人妇一区二区三区| 性一交一乱一伦| 巨胸不知火舞露双奶头无遮挡| av无码小缝喷白浆在线观看| 国产欧美日韩专区发布| 国产欧美va欧美va在线| 国产一区二区三区精品综合| 四川丰满少妇无套内谢| 亚洲精品久综合蜜| 精品av国产一区二区三区| 国产精品人成视频免费播放| 国产亚洲综合区成人国产| 无码国内精品久久人妻蜜桃| 日韩亚洲欧美中文高清| 国产午夜视频免费观看| 国产尤物AV尤物在线看| 四虎成人精品在永久免费| 欧美人妻在线一区二区| 免费久久人人爽人人爽AV| 久久久亚洲av成人网站| 婷婷六月天在线| 无套内射视频囯产| 国产日韩在线亚洲色视频| 天堂网亚洲综合在线| 色偷偷亚洲av男人的天堂| 亚洲综合色网一区二区三区| 偷炮少妇宾馆半推半就激情| 成在线人永久免费视频播放 | 国产极品嫩模在线观看91| 国产成人精品一区二区秒拍1o| 国产精品网红尤物福利在线观看| 国内熟妇人妻色在线三级| 亚洲av成人无码天堂| 18禁国产一区二区三区| 国产三区二区| 亚洲综合国产成人丁香五| 少妇无套内谢免费视频|