Hello Guest it is November 20, 2019, 09:11:32 AM

Author Topic: another tool change question , g32 g25 g28 ???  (Read 8355 times)

0 Members and 1 Guest are viewing this topic.

another tool change question , g32 g25 g28 ???
« on: September 09, 2008, 09:53:14 PM »
Just curios how to easily get the z axis to return to a preset point , pref z home , when I call out m6 T** ?

My Milltronics uses g32 to return the head  to the tool change position  which can be defined in setup as z** relative to the home switch , I believe the Centroid my Dad has been using uses g25 Z H0 to return the z axis to the home switch when m6 is called out . We have been playing with g28 z0 but it first plunges the tool to the part zero then retracts to the home switch which in some situations will cause tool or part breakage .

Is there a simple line that could be easily added to the m6 macro that will cause the z axis to retract to the home position everytime m6 is called out?  The machine is a fullsize bridgeport clone and we need it to retract the z axis to the same point everytime for a tool change so the drawbar will be in the correct position for the power drawbar.

Thanks Richard
« Last Edit: September 09, 2008, 09:55:06 PM by panaceabeachbum »

Offline Chaoticone

*
  • *
  •  5,628 5,628
  • Precision Chaos
    • View Profile
Re: another tool change question , g32 g25 g28 ???
« Reply #1 on: September 09, 2008, 10:15:22 PM »
Richard, look on the settings page and you should see the tool change dros there. Put the value in there that you want to use for tool change posotion and give it a go.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Chaoticone

*
  • *
  •  5,628 5,628
  • Precision Chaos
    • View Profile
Re: another tool change question , g32 g25 g28 ???
« Reply #2 on: September 09, 2008, 10:21:21 PM »
Can't remember if I had to do a custom macro for that to work or not though.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: another tool change question , g32 g25 g28 ???
« Reply #3 on: September 09, 2008, 10:32:02 PM »
Brett,
  Is it true, that when you have a family Reunion, the whole State shows up ?
Your family tree is a forest?   ;D

I'll give Britt a kiss for you.   :P   But then, may be I won't.

Ed
Ed VanEss
Re: another tool change question , g32 g25 g28 ???
« Reply #4 on: September 09, 2008, 10:41:34 PM »
I think the problem is if I enter z zero on the settings page it brings the z axis to the z zero of the tool thats in the spindle and we need to to go up to absolute machine zero against the home switch  ( or some set distance from the home switch) regardless of what the tool offset is
Re: another tool change question , g32 g25 g28 ???
« Reply #5 on: September 09, 2008, 10:51:29 PM »
Just a guess here.
What if you put:

code"G53 Z0"
while is moving
wend

at the begining of the macro ?
RC

Offline Chaoticone

*
  • *
  •  5,628 5,628
  • Precision Chaos
    • View Profile
Re: another tool change question , g32 g25 g28 ???
« Reply #6 on: September 09, 2008, 10:52:25 PM »
Richard, paste this in your M6Start macro and save. This will move the z first in machine coord. to what you have set in tool change posotion DRO then the x and y at the same time to machine coord you have set in tool change posotion DROs.  Let me know how it does.

'Get the tool change pos from the settings page
  ChangeX = GetOEMDRO(1200)
  ChangeY = GetOEMDRO(1201)
  ChangeZ = GetOEMDRO(1202)
 
 
  Code "G00 G54 Z" & ChangeZ
  Code "G00 G53 X" & ChangeX & "Y" & ChangeY

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: another tool change question , g32 g25 g28 ???
« Reply #7 on: September 09, 2008, 10:58:32 PM »
Hi Brett,
If we just wanted the Z to go to mach. coord 0.000 before anything else moved, would what I posted work ?
Aside of the syntax of course.
RC

Offline Chaoticone

*
  • *
  •  5,628 5,628
  • Precision Chaos
    • View Profile
Re: another tool change question , g32 g25 g28 ???
« Reply #8 on: September 09, 2008, 11:02:52 PM »
Ed, you seem to be slightly confused again. My family is pretty small. You should know this. After all the fighting you had to do to win my sister you should know we are in high demand.  ;D   If there were so many of us why would you tolerate the daily beatings she gives you? You know what I say. Women, Can't live with them, can't live without them........... or their sister............... or their cousin. Point is, you have to have one.  ;D 

Oh yeah, don't worry about giving out a kiss, she will take it if she wants it and you will do exactly as she said either before or after the beating. Make it easy on yourself.  ;D

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: another tool change question , g32 g25 g28 ???
« Reply #9 on: September 09, 2008, 11:06:04 PM »
I am pretty sure my dad tryed g53 and it moved the z axis to a point called out relative to the tool offset in the spindle not the home switch