MC后处理修改技巧
1、 让钻孔、攻丝的程式F值输出两位以上小数点: 查找
fs2 15 0.2 0.1
输出2位改为
fs2 15 0.2 0.2
输出3位
fs2 15 0.3 0.3
以此类推即可达到你想要的效果
说明.你的后处理不一定是fs2 15 查看
方法
快递客服问题件处理详细方法山木方法pdf计算方法pdf华与华方法下载八字理论方法下载
fmt F 15 feed
2、 攻丝时,默认后处理输出的程式可能没有Q值,可以手动修改,找到以下字段,如下图
所示:
图1
图2 3、加入余量显示设置如下图: 图1
fmt "T=" 4 tnote #Note format fmt " D.OFF=" 4 toffnote #Note format fmt " L=" 4 tlngnote #Note format fmt "Dia=" 1 tldia #Note format fmt " R=" 1 tcr #Note format fmt "XY=" 2 xy_stock # Assign an output format fmt "Z=" 2 z_stock # Assign an output format
图2
comment
"(STOCK:",~xy_stock,")",e
"(STOCK:",~z_stock,")",e pcan if stagetool >= zero, pbld, n, *t, "M6", e
图3
1500. Chook to execute from 'Misc. values' button?
1501. Insert parameter information in the ascii NCI? y
1502. Write operation information to binary file (.ops)? y
4、是否输出A0,找到以下字段:
vmc : 1 #0 = Horizontal Machine, 1 = Vertical Mill rot_on_x : 1 #Default Rotary Axis Orientation, See ques. 164.
#0 = Off, 1 = About X, 2 = About Y, 3 = About Z rot_ccw_pos : 1 #Axis signed dir, 0 = CW positive, 1 = CCW positive index : 0 #Use index positioning, 0 = Full Rotary, 1 = Index only ctable : 5 #Degrees for each index step with indexing spindle 更改蓝色字段0或1就可以。
5、是否输出N码, 找到以下字段:
omitseq : yes #Omit sequence numbers?
seqmax : 9999 #Max. sequence number
stagetool : 0 #0 = Do not pre-stage tools, 1 = Stage tools use_gear : 0 #Output gear selection code, 0=no, 1=no 更改蓝色字段yes或no就可以。
6、输出备刀设定,找到以下字段:
stagetool : 1 #0 = Do not pre-stage tools, 1 = Stage tools use_gear : 0 #Output gear selection code, 0=no, 1=no max_speed : 10000 #Maximum spindle speed
min_speed : 50 #Minimum spindle speed
更改蓝色字段0或1就可以。
以下字段增加蓝色部分,有2处。
pcan1, pbld, n, *sgcode, *sgabsinc, pwcs, pfxout, pfyout,
pfcout, *speed, *spindle, pgear, strcantext, e
pbld, n, "G43", *tlngno, pfzout, scoolant, e
pbld, n, next_tool, e
pbld, n, "/M8", e
absinc = sav_absinc
7:输出角度超过360?的问题:
有人说把MasterCAM后置处理文件 ctol : 225 #Tolerance in deg. before rev flag changes
改为 ctol : 359 #Tolerance in deg. before rev flag changes
这样该后后置处理出的程序的确A的数值不会超过360度,但是我试过程序是错误的。三维|cad