Re: Send machine Home
Originally Posted by
ScottEagle
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.
It's probably a typo, but you have G30 in your home line, not G28. Or maybe that's correct on a Makino. I mostly run Haas, so I could be wrong. On a Haas, you can use G53 to work in machine coordinates for one line (so G0 G90 G53 Z0 would send you to machine Z0 home, even if G54 was active, and then G54 goes back to active on the next line). If something like that isn't available, could you use one work offset solely for tool change position, and call that in your sub-routine?
____________________________
My blog: http://www.fletch1.com