在线不卡日本ⅴ一区v二区_精品一区二区中文字幕_天堂v在线视频_亚洲五月天婷婷中文网站

  • <menu id="lky3g"></menu>
  • <style id="lky3g"></style>
    <pre id="lky3g"><tt id="lky3g"></tt></pre>

    Mastercam后處理命令塊傳遞參數(shù)用法

    Mastercam后處理命令塊傳遞參數(shù)用法,新版中新加入的功能,此方法的用法非常接近VB.NET的用法,可同時(shí)傳遞多個(gè)參數(shù)。

    后處理頭數(shù)據(jù),請(qǐng)勿更改

    [POST_VERSION] #DO NOT MOVE OR ALTER THIS LINE# V24.00 P0 E1 W24.00 T1614093555 M24.00 I0 O1scncpost_revision := “22.81” # Internal revision number for use by CNC Software only. Please do not change this number.scustpost_revision := “0” # Revision number for use by Resellers or customers.

    首先定義需要傳遞的數(shù)據(jù)

    num1 : 2num2 : 3

    定義接受傳遞的數(shù)據(jù):

    key1 : 0key2 : 0

    定義保存輸出的數(shù)據(jù)

    skey : 0

    定義數(shù)據(jù)輸出格式

    fs2 990 9 0 9 0fmt 990 skey

    對(duì)傳遞的數(shù)據(jù)進(jìn)行處理,下面的代碼乘法運(yùn)算;

    pencrypt_key(key1,key2) skey = key1 * key2

    輸出結(jié)果: 6

    傳遞參數(shù)并調(diào)用計(jì)算過程

    pheader$ #Call before start of file pencrypt_key(num1,num2) *skey, e$

    傳遞參數(shù)過程采用后處理最新技術(shù),參數(shù)傳遞的方法把目標(biāo)數(shù)據(jù)傳遞到 過程命令塊。

    該方法具體可參考相關(guān)視頻

    鄭重聲明:本文內(nèi)容及圖片均整理自互聯(lián)網(wǎng),不代表本站立場(chǎng),版權(quán)歸原作者所有,如有侵權(quán)請(qǐng)聯(lián)系管理員(admin#wlmqw.com)刪除。
    上一篇 2022年7月4日 06:38
    下一篇 2022年7月4日 06:38

    相關(guān)推薦

    聯(lián)系我們

    聯(lián)系郵箱:admin#wlmqw.com
    工作時(shí)間:周一至周五,10:30-18:30,節(jié)假日休息