姹俢odesys 搴撳嚱鏁 SysMemMove(var1,var2,var3) 渚嬬▼-CODESYS璧勬簮涓嬭浇鍖-閰峰痉缃 - CoDeSys杞欢鏁欑▼涓嬭浇,CoDeSys宸ユ帶璧勮闂ㄦ埛
HSC6150鍙戝竷锝
鏌ョ湅: 556|鍥炲: 2

姹俢odesys 搴撳嚱鏁 SysMemMove(var1,var2,var3) 渚嬬▼

[澶嶅埗閾炬帴]

璇ョ敤鎴蜂粠鏈鍒

鍙戣〃浜 2017-4-8 15:17:10 | 鏄剧ず鍏ㄩ儴妤煎眰 |闃呰妯″紡
鎴戜娇鐢   SysMemMove(var1,var2,var3) 鍑芥暟锛屽皢涓涓暟缁勫唴鎸囧畾鍦板潃鐨勪竴缁勬暟锛屽鍒跺埌鍙︿竴涓暟缁勫唴鎸囧畾鍦板潃鐨勪竴缁勬暟锛屽鍒朵笉杩囨潵锛屼笉鐭ヤ粈涔堝師鍥犮
IF save3 THEN
rtn:=SysMemMove(ADR(d[0,0]),ADR(a[0,0]), 10);
END_IF

鎵撹祻榧撳姳涓涓嬶紒
+10
鍥炲

浣跨敤閬撳叿 涓炬姤

  • TA鐨勬瘡鏃ュ績鎯
    鎱垫噿
    2017-11-9 20:49
  • 绛惧埌澶╂暟: 2 澶

    [LV.1]鍒濇潵涔嶅埌

    鍙戣〃浜 2017-4-10 10:40:02 | 鏄剧ず鍏ㄩ儴妤煎眰
    ADR()鏄彇鍦板潃锛岃屼笉鏄彇鍊硷紝鍙栧肩敤"^"
    鎵撹祻榧撳姳涓涓嬶紒
    +10
  • TA鐨勬瘡鏃ュ績鎯
    鎱垫噿
    2017-11-9 20:49
  • 绛惧埌澶╂暟: 2 澶

    [LV.1]鍒濇潵涔嶅埌

    鍙戣〃浜 2017-4-10 10:46:16 | 鏄剧ず鍏ㄩ儴妤煎眰
    鏈笘鏈鍚庣敱 tt99166 浜 2017-4-10 10:52 缂栬緫

    [C] 绾枃鏈煡鐪 澶嶅埗浠g爜
    test:POINTER TO d;
    test1:POINTER TO a;
    ----------------------------------------------------------------------
    IF save3 THEN
    rtn:=SysMemMove(test^[0,0],test1^[0,0], 10);
    END_IF


    璇曡瘯杩欐牱鍐欙紝鐪嬪涓嶅锛
    鎵撹祻榧撳姳涓涓嬶紒
    +10
    鎮ㄩ渶瑕佺櫥褰曞悗鎵嶅彲浠ュ洖甯 鐧诲綍 | 绔嬪嵆娉ㄥ唽 鏂版氮寰崥鐧婚檰

    鏈増绉垎瑙勫垯

    椤堕儴qrcode搴曢儴
    鍏虫敞閰峰痉缃戣闃呭彿锛岃幏鍙栨洿澶氳祫璁紒

    QQ|灏忛粦灞|鎵嬫満鐗|Archiver|閰峰痉璁哄潧 ( 鑻廔CP澶16065247鍙 )|缃戠珯鍦板浘

    GMT+8, 2020-10-29 18:29 , Processed in 0.180178 second(s), 62 queries .

    閰峰痉缃

    © 2001-2013 Hicodesys. 鎶鏈敮鎸 by 閰峰痉缃

    蹇熷洖澶 杩斿洖椤堕儴 杩斿洖鍒楄〃