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

                西門子STL程序中使用UC調(diào)用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ù)清零嗎?在調(diào)用TON功能塊前后這兩個地址偏移之和是8192.0,我看其它調(diào)用的時候也說這樣,這樣做是如何實現(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

                網(wǎng)址:http://www.nabaiqian.cn

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

                用手機掃描二維碼關(guān)閉
                主站蜘蛛池模板: 九九热精品视频在线免费| 国产最新进精品视频| 久久精品第九区免费观看| 日日躁狠狠躁狠狠爱| 亚洲AV无码不卡一区二区三区| 少妇人妻综合久久中文字幕| 公天天吃我奶躁我的在| 色图网免费视频在线观看十八禁 | 国产三级精品三级在线区| 亚洲伊人成色综合网| 999国产精品一区二区| 亚洲av日韩av永久无码电影| 久久国产乱子精品免费女| 又黄又爽又色视频| 中文字幕无线码在线观看| 亚洲国产成人久久77| аⅴ天堂中文在线网| 精品久久久久久无码中文字幕| 亚洲最大av免费观看| 真人无码作爱免费视频| 2020aa一级毛片免费高清| 成人午夜av在线播放| 老司机免费的精品视频| 日韩午夜福利片段在线观看| 欧美亚洲综合成人A∨在线| 搡老女人老妇女老熟女o在线阅读 国产成人精品视频一区二区三 | 高清美女视频一区二区三区| 亚洲精品天堂在线观看| 亚洲欧美人成电影在线观看| 亚洲av永久无码精品天堂久久| 亚洲av产在线精品亚洲第一站| 精品久久人人做爽综合| 在线无码免费的毛片视频| 久久狠狠一本精品综合网| 人妻少妇中文字幕久久| 人妻精品动漫h无码| 国产精品美女久久久久久麻豆 | 久久99久国产精品66| 成人午夜激情在线观看 | 亚洲熟妇av一区二区三区宅男| 人人入人人爱|