日韩专区国产精品|av婷婷在线播放|超碰欧美激情在线观看|91成人在线视频网站|国产无码A∨片成人有码|亚洲九九九久熟女内射色综合|亚洲在线久久特级A级无码光|操一操在线视欧美a网站|激情文学综合在线|国产精品香蕉国产

歡迎光臨瑞昌明盛進出口貿(mào)易有限公司官網(wǎng)!
主營業(yè)務(wù)|產(chǎn)品PLC系統(tǒng) DCS系統(tǒng) 伺服系統(tǒng) 機器人系統(tǒng)(模塊 備件)
全國咨詢熱線:+86 15270269218
聯(lián)系我們
瑞昌明盛進出口貿(mào)易有限公司
手機:+86 15270269218
QQ:3136378118
郵箱:stodcdcs@gmail.com
地址 :江西省九江市瑞昌市東益路23號賽湖農(nóng)商城401號
聯(lián)系人:麥女士
您的位置: 首頁>>產(chǎn)品展示 >
產(chǎn)品展示 》 ABB 》 3HNM07686-1模塊備件產(chǎn)品尺寸

3HNM07686-1模塊備件產(chǎn)品尺寸

型號:3HNM07686-1

聯(lián)系人:肖經(jīng)理
公司名稱:瑞昌明盛進出口貿(mào)易有限公司
公司地址:廈門市思明區(qū)呂嶺路1733號創(chuàng)想中心2009-2010單元
手機:+86 15270269218
QQ:3136378118
郵箱:stodcdcs@gmail.com

用法
ClearRawBytes用于將rawbytes變量的所有內(nèi)容設(shè)置為0。
基本示例
該指令的基本示例如下所示。
示例1
VAR rawbytes raw_數(shù)據(jù);
VAR num整數(shù):=8
VAR num float:=13.4;
PackRawBytes integer,raw\u data,1\IntX:=力;
PackRawBytes float,raw\u data,(RawBytesLen(raw\u data)+1)\Float4;
ClearRawBytes raw\u data\FromIndex:=5;
在前4個字節(jié)中放置整數(shù)的值(從索引1開始),在接下來的4個字節(jié)中放置整數(shù)的值
從索引5開始計算浮點值。
示例中的后一條指令從索引5開始清除原始_數(shù)據(jù)的內(nèi)容,即。
浮點將被清除,但整數(shù)保留在raw_數(shù)據(jù)中。中有效字節(jié)的當前長度
3HNM07686-1模塊備件產(chǎn)品尺寸 3HNM07686-1模塊備件產(chǎn)品尺寸
Usage
ClearRawBytes is used to set all the contents of a rawbytes variable to 0.
Basic examples
A basic example of the instruction is illustrated below.
Example 1
VAR rawbytes raw_data;
VAR num integer := 8
VAR num float := 13.4;
PackRawBytes integer, raw_data, 1 \IntX := DINT;
PackRawBytes float, raw_data, (RawBytesLen(raw_data)+1) \Float4;
ClearRawBytes raw_data \FromIndex := 5;
In the first 4 bytes the value of integer is placed (from index 1) and in the next 4 bytes
starting from index 5 the value of float.
The last instruction in the example clears the contents of raw_data, starting at index 5, i.e.
float will be cleared, but integer is kept in raw_data. Current length of valid bytes in
在線客服
聯(lián)系方式

熱線電話

+86 15270269218

上班時間

周一到周五

公司電話

+86 15270269218

二維碼