iCAx开思网

标题: 【分享】Surfcam後處理釋義與教程 [打印本页]

作者: sinderal    时间: 2004-8-26 01:15
标题: 【分享】Surfcam後處理釋義與教程
對很多Surfcam的初學者..往往沒弄明白Surfcam的後處理怎麼設置?..怎麼改?
怎麼加上? 怎麼刪去?
現在就一一解釋..
首先到 Surfcam\surf2002plus or surf2003 or surf2004 目錄下面
找到 Surfcam.pst 這個檔案...用文本編輯器打開
作者: sinderal    时间: 2004-8-26 01:20
BeginPost EDM Default:1 ---代表是 EDM 後處理的集成菜單開始
相對於在Operation Manager裡右邊那裡 選EDM的清單
作者: sinderal    时间: 2004-8-26 01:24
現在我們以我的Surfcam.pst裡的 2 Axis 部分為例
作者: sinderal    时间: 2004-8-26 01:35
我們以第一項來看
PostItem M320 with R(Metric)
         Status M320 with R(Metric)
         ChDir   "C:\SURFCAM\Surf2004\MPOST"
         Delete "%p%N.NCC"
         Command "C:\SURFCAM\Surf2004\MPOST\MPOSTWIN" "%p%n" 14
         Task    "C:\SURFCAM\Surf2004\editNC\editNC" "%p%N.ncc"
  
PostItem --代表顯示於 Operation Manager  後處理 2 Axis第一項顯示清單
  
Status ---代表後處理釋用哪一個的狀態顯示訊息
  
ChDir "C:\SURFCAM\Surf2004\MPOST" ---代表改變目錄到此
  
Delete "%p%N.NCC" ---代表刪除原目錄下同檔名的NCC程序
  
Command "C:\SURFCAM\Surf2004\MPOST\MPOSTWIN" "%p%n" 14 ---
代表用MPostWin 選用第十四項 (Postform.m裡的第十四項) 來做後處理
  
Task    "C:\SURFCAM\Surf2004\editNC\editNC" "%p%N.ncc"
代表 用editNC這個文本編輯器 打開 剛剛處理出來的NCC程序
作者: sinderal    时间: 2004-8-26 01:44
現在 我們到Surfcam\Postlib\ 目錄下面 用文本編輯器打開 Postform.M
Postform.M ---- 銑床
Postform.L  ---- 車床
Postform.E  ---- EDM 線切割
  
找 name M320 with R(Metric) 剛好就是第十四個 以 name為起始的
  
作者: sinderal    时间: 2004-8-26 01:51
至於那個後處理機器配置文件如何加入Postform.M ...待續..
  
MPostwin的機器配置文件內容與編修 請參照https://www.icax.org/viewthread. ... %3D1&page=#pid=LPostwin的機器配置文件內容與編修 請參照https://www.icax.org/viewthread. ... %3D1&page=#pid=
作者: sinderal    时间: 2004-8-26 12:25
加入 後處理機器配置文件 於Postform.M 與命令項目於Surfcam.pst
  
開始--->程式集 ---> Surfcam2003(Surfcam2002 Plus...) --->Surfcam Tools --> Postmenu Wizard
點選
作者: sinderal    时间: 2004-8-26 12:27
選 增加後處理 --> 下一頁(Next)
作者: sinderal    时间: 2004-8-26 12:28
看你 文本編輯器 要用什麼.. 下ㄧ頁
作者: sinderal    时间: 2004-8-26 12:29
增加 銑床後處理  下ㄧ頁
作者: sinderal    时间: 2004-8-26 12:31
跳出的選單 有MPost 與SPost的 機器配置文件清單..在這裡 我們拉動MPost那邊的 Slider
作者: sinderal    时间: 2004-8-26 12:32
找到 M320 with R(Metric) 選取  ---> 下ㄧ頁
作者: sinderal    时间: 2004-8-26 12:33
出現的這個對話盒..點選 2軸 與 3軸 ---> 下ㄧ頁
作者: sinderal    时间: 2004-8-26 12:35
這樣 這個後處理機器配置文件 就被加入 Postform.M, 同時, 在Surfcam.pst裡的 2 Axis 與 3 Axis的後處理清單裡 都被加入之前所貼的命令行
作者: sinderal    时间: 2004-8-26 12:37
加好後 可以選擇 離開 或 回主選單..
因為我們將要刪除 之前所加入的 後處理機器配置文件 所以選 回主選單
作者: sinderal    时间: 2004-8-26 12:38
選擇 移除一個後處理 --> 下ㄧ頁
作者: sinderal    时间: 2004-8-26 12:39
下ㄧ頁
作者: sinderal    时间: 2004-8-26 12:40
選 2軸 找到 M320 with R(Metric) -->下ㄧ頁
作者: sinderal    时间: 2004-8-26 12:41
選 3軸 找到 M320 with R(Metric) -->下ㄧ頁
作者: sinderal    时间: 2004-8-26 12:46
已上移除的 操作 只是 移除Surfcam.pst 裡 2軸 與 3軸裡 那個
M320 with R(Metric)的命令行 ..

  
加入在 Postform.M裡的 機器配置文件
name M320 with R(Metric) 的那些 並沒有被刪除掉

  
如果要刪除...要用文本編輯器 打開Postform.M 將
name M320 with R(Metric) 以下(含) 刪除
  
我們所加入的 MPostwin後處理機器配置文件, 往往都是 自動添加在
Postform.M 裡的 最後一個
作者: sinderal    时间: 2004-8-26 12:51
至於 如何添加 SPost(GPost)的後處理機器配置文件..稍後待續..
  
有關SPost(GPost)後處理機器配置文件的 規劃與撰寫 請參考https://www.icax.org/viewthread. ... %3D1&page=#pid=
作者: dddwww    时间: 2004-8-26 20:57
老大真乃牛人,谢谢
作者: sinderal    时间: 2004-8-27 11:03
步驟按 第七樓開始到第十樓是相同的 ..
選右邊的SPost...滑動選到 HASS Highspeed CNC by Schick
下ㄧ頁
作者: sinderal    时间: 2004-8-27 11:04
選2軸 與 3軸
下ㄧ頁
作者: sinderal    时间: 2004-8-27 11:06
已經 將那個 後處理機器配置文件與命令行 加入Surfcam.pst的2軸 與 3軸的清單中
作者: sinderal    时间: 2004-8-27 11:07
按 回主選單...我們要去刪除 剛剛 加入的那個SPost(GPost)後處理
作者: sinderal    时间: 2004-8-27 11:07
移除一個後處理..
作者: sinderal    时间: 2004-8-27 11:08
選定目錄下的Surfcam.pst  
下ㄧ頁
作者: sinderal    时间: 2004-8-27 11:11
選2軸
選到 剛剛增加的那個 HASS HighSpeed CNC by Schick ...
下ㄧ頁
  
同樣步驟 選3軸  就不貼了
作者: sinderal    时间: 2004-8-27 11:13
另外..還有一個主選單的項目
修改一個後處理
作者: sinderal    时间: 2004-8-27 11:14
選定 目錄下的Surfcam.pst 偶還是選Sedit
作者: sinderal    时间: 2004-8-27 11:15
選 3軸
選那個 M320 with R(Metric)
下ㄧ頁
作者: sinderal    时间: 2004-8-27 11:18
Sedit的指令 另外介紹
點選 延伸修改 那邊
可以看到 後處理出來的NC程序 副檔名
作者: sinderal    时间: 2004-8-27 11:20
選.tap..................後處理出來的NC程序 副檔名 會被更名為TAP
作者: sinderal    时间: 2004-8-27 11:23
有空再介紹講解 修改 選到SPost機器配置文件的部份..
那部份有牽扯到 APT的一些參數..
作者: sinderal    时间: 2004-8-29 16:21
有關Surfcam.pst裡面的命令變數:
  
  Variables                Description                                       
%p                       256 character path   
256個字元的目錄路逕                              
  
%q                       8 character path
  8 個字元的目錄路逕
                                  
%n                       256 character file name  
  256個字元的檔案名稱
                        
%s                       8 character file name
  8 個字元的檔案名稱  
                            
%N                       256 character file name without extension
  256個字元的檔案名稱 不包含 副檔名
     
%S                       8 character file name without extension  
  8 個字元的檔案名稱 不包含 副檔名
作者: sinderal    时间: 2004-8-29 16:43
########################### INC2APT switches ##################################
# Switch                   Description                                        #
# -w                       Output WORLD coordinates                           #
# -m                       Output inverted MCS matrix                         #
# -5                       Output I,J,K vectors with all GOTO/ commands       #
# -op                      Output OPERTN/ commands                            #
# -b                       Output ROW/START and ROW/END commands              #
# -d                       Display INC2APT dialog                             #
# -n                       Output RAPID0 and RAPID1 commands                  #
# -x                       Output GOTO/ commands at any quadrant              #
# -c                       Check to see if existing file exists               #
# -far                     Output redundant REDRAT/ command after RAPID       #
# -f angle                 Output GOTO/ commands at a defined angle           #
# -r angle                 Output GOTO/ commands at a defined angle           #
# -Precision value         Define X,Y,Z coordinate precision                  #
# -Vprecision value        Define I,J,K vector precision                      #
# -I Input path            Define input path(e.g. ""%p%n"")                   #
# -O Ouput path            Define output path(e.g. "d:\surfcam\APT")          #
###############################################################################
作者: sinderal    时间: 2004-8-29 16:52
sinderal wrote:
有空再介紹講解 修改 選到SPost機器配置文件的部份..  
  那部份有牽扯到 APT的一些參數..

  
ㄧ樣 開始-->程式集 -->Surfcam 2003-->Surfcam Tools ---&gtostmenu Wizard
選 修改一個後處理  下ㄧ頁
作者: sinderal    时间: 2004-8-29 16:53
選定目錄下的Surfcam.pst
我用SEdit      下ㄧ頁
作者: sinderal    时间: 2004-8-29 16:55
這次我們選 5 軸
選那個 Variaxis 052004
  
下ㄧ頁
作者: sinderal    时间: 2004-8-29 16:57
出現的畫面...
前面 打勾 就是 會加 APT Switch於 命令行裡
APT Switch的解釋 請參考37樓




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3