You need a Post-Script for the CAM.I am a service guy trying to create a tool change macro to change a tools on my mill. My machine is a Makino FNC-106 with a 0mB control. We lost all the parameters and programs, including tool change. I have the machine running now but it will not go home to change tools. this is what my tool change program looks like (I created it from scratch):
09001
G80
M9
G91 G30 Z0 M5
G30 X0 Y0 M19
T#115 (this looks up the tool called up in the program [T1M6])
M6
The problem I am having is when it reads the M30 (or a M28) it will pick up the G54 offset (z-1.5) and try to overtravel in Z. If I have G54 blank it will work OK. I need the G54 to set the hight of my part. I can not change this since all my programs are like this and this is how it ran before I lost everything. I have another CNC a Max 3 with a 0mC control and in the macro it calls out the G30 Z0 and it will go home without looking at the work coordinates.
How can send this machine to the home position on Z-axis each time to do a tool change???? I need to send it home no mater what I have in the G53, g54, g55......... Is there another way to program a 0mB control to go Home?
Any help would be great.
What CAM do you use? Maybe look for a Tutorial or Guide by doing an online search.