Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: angel tech on June 18, 2011, 01:21:29 PM

Title: z axis movement in machine coords.
Post by: angel tech on June 18, 2011, 01:21:29 PM
Got an odd one here, i need to move the z axis to -32 relative to the machine coords regardless of what offsets are in force. It's going in a toolchange macro to set the z height for the toolchange. Is there a G code to do this.?
Title: Re: z axis movement in machine coords.
Post by: Overloaded on June 18, 2011, 01:28:31 PM
G53 Z-32
Could it be this simple ?
Russ
Title: Re: z axis movement in machine coords.
Post by: Overloaded on June 18, 2011, 01:32:40 PM
 :),

Russ
Title: Re: z axis movement in machine coords.
Post by: angel tech on June 18, 2011, 01:37:34 PM
i tried that and it just added the 32 to the current z offset
Title: Re: z axis movement in machine coords.
Post by: angel tech on June 18, 2011, 01:51:14 PM
ah, i know why my try didn't work.
Title: Re: z axis movement in machine coords.
Post by: angel tech on June 18, 2011, 01:55:04 PM
to get a fast feedrate should i use a G0,

G53 G0z-32.00

or use a feedrate value

G53 Z-32 F1000
Title: Re: z axis movement in machine coords.
Post by: angel tech on June 18, 2011, 02:04:04 PM
the G0 does the trick.

Thanks.