臥式加工中心在加工零件時(shí),由于零件加工部位的需求,通常要求工作臺旋轉恣意視點(diǎn)。
當工件坐標系原點(diǎn)與工作臺旋轉中心重合時(shí),工作臺的旋轉不會(huì )給加工帶來(lái)影響??墒怯捎诠ぜ鴺讼翟c(diǎn)的選擇是根據零件結構特色、編程的需求而確定的,通常被加工零件無(wú)法與工作臺的旋轉中心重合,工件坐標系原點(diǎn)的方位跟著(zhù)工作臺的旋轉,在機床坐標系中發(fā)生變化。
因而,要重新設定工件坐標系原點(diǎn)。每一臺臥式加工中心z軸主軸端面與B軸反轉中心有個(gè)固定值,由于臥加B軸旋轉時(shí)分,用宏程序換算坐標系時(shí)分需求用到這個(gè)值,下面是一個(gè)簡(jiǎn)單可行的方法。
一個(gè)面的工件坐標系原點(diǎn)設定好之后,根據補償值,人工核算其他面的工件坐標系原點(diǎn)并輸入到相應的工件坐標系中,容易犯錯,且只能核算工作臺旋轉90度、180度、270度方位的工件坐標系原點(diǎn),不能核算恣意旋轉視點(diǎn)的坐標系原點(diǎn)。
該程序可根據初始工件坐標系原點(diǎn)設定值,實(shí)現工作臺旋轉恣意視點(diǎn)的工件坐標系原點(diǎn)自動(dòng)補償核算,并設定新的工件坐標系原點(diǎn),自動(dòng)輸入到相應的工件坐標系中,減少了工件坐標系設定時(shí)刻和犯錯的概率,提高了出產(chǎn)效率和精確性。
丈量原理:
找出工作臺反轉中心到Z向機床原點(diǎn)的距離Z0即為Z向工作臺反轉中心的方位。工作臺反轉中心的方位如圖1c所示。
丈量方法:當工作臺分別在0度和180度時(shí),移動(dòng)工作臺以調整Z向坐標,使百分表的讀數相同,則:
Z向反轉中心=CRT顯示的Z向坐標值
Z向反轉中心的精確性,影響機床調頭加工工件時(shí)兩端面之間的距離尺寸精度(在刀具長(cháng)度丈量精確的前提下)。反之,它也可批改刀具長(cháng)度丈量誤差。