|
<p>使用MC9.0的五轴后置处理生成的是CB代码,而我现在要生成AC代码,在修改过程中不能执行望各位高手给予指点:先将过程说明如下:</p><p>MPGEN5X(自带五轴后置处理):#Assign axis address<br/>str_pri_axis "C"<br/>str_sec_axis "B"<br/>str_dum_axis "A"<br/>第一主轴旋转为C其次为BA,现在需要第一主轴旋转为A第二主轴旋转为C,B轴不旋转修改后:#Assign axis address<br/>str_pri_axis "A"<br/>str_sec_axis "C"<br/>str_dum_axis "B"因为是五联动在这里是否需要设置B呢??</p><p>选用的双转台A带动C旋转。MPGEN5X为 #Machine rotary routine settings<br/>mtype : 0 #Machine type (Define base and rotation plane below) <br/> #0 = Table/Table<br/> #1 = Tilt Head/Table<br/> #2 = Head/Head<br/> #3 = Nutator Table/Table<br/> #4 = Nutator Tilt Head/Table<br/> #5 = Nutator Head/Head</p><p>head_is_sec : 1 #Set with mtype 1 and 4 to indicate head is on secondary 修改后为:#Machine rotary routine settings<br/>mtype : 0 #Machine type (Define base and rotation plane below) <br/> #0 = Table/Table<br/> #1 = Tilt Head/Table<br/> #2 = Head/Head<br/> #3 = Nutator Table/Table<br/> #4 = Nutator Tilt Head/Table<br/> #5 = Nutator Head/Head</p><p>head_is_sec : 0 #Set with mtype 1 and 4 to indicate head is on secondary此处的疑惑是head_is_sec的凭借荷重原理来设置的问题。</p><p>还有选择平面#These plane combinations are valid:<br/>#Primary plane XY XZ YZ<br/>#Secondary or XZ XY XY<br/>#Secondary YZ YZ XZ 修改为:#These plane combinations are valid:<br/>#Primary plane YZ XY XZ <br/>#Secondary or XY YZ YZ <br/>#Secondary XZ XZ XY<br/></p><p>继续修改将g7_tilt : 3 #With mill_plus and nutating, select toolplane output<br/> #0 = Post selects G7 rotation axis<br/> #1 to 4, user selected G7 rotation axis <br/> #1 = Primary C : X zero, Secondary B<br/> #2 = Primary C : Y zero, Secondary A<br/> #3 = Primary C : -X zero, Secondary B<br/> #4 = Primary C : -Y zero, Secondary A修改为:</p><p>g7_tilt : 4 #With mill_plus and nutating, select toolplane output<br/> #0 = Post selects G7 rotation axis<br/> #1 to 4, user selected G7 rotation axis <br/> #1 = Primary C : X zero, Secondary B<br/> #2 = Primary C : Y zero, Secondary A<br/> #3 = Primary C : -X zero, Secondary B<br/> #4 = Primary C : -Y zero, Secondary A</p><p>然后在MC9.0运行会自动关闭。希望各位高手能给我指出上面修改的不对之处或者还有遗漏,先谢谢大家了……<br/><br/><br/><br/><br/><br/></p><p> </p> |
|