Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Aeroshade on December 20, 2011, 12:58:51 PM

Title: Switching from offsets (G54, G55... etc)
Post by: Aeroshade on December 20, 2011, 12:58:51 PM
Hello all, I tried searching for this since it has to be something brought up on the forums, but I couldn't find anything :P

I'm running the same part on different offsets. When the machine moves to the next offset to start the program over the Z-axis drops .100 between moves.


Here is a sample of my program:

N1 G00 G40 G80 G90
T01 M06 (3/8 3 FLUTE CRB EM)
M08
S3250 M03
G54 X.23 Y-2.1525
G43 Z.1 H01
G01 Z-.385 F50.
G41 D01 X.23 Y-1.8405 F30.

Blah blah blah

G01 X-.03 Y-1.6355
G03 X-.23 Y-1.8355 I0 J-.2 F30.
G40 G01 X-.23 Y-2.1475
G00 Z1.
G55 X.23 Y-2.1525
Z.1
G01 Z-.385 F50.
G41 D01 X.23 Y-1.8405 F30.


I have the Z-axis move "G00 Z1." to clear any clamps, but when the next line "G55 X.23 Y-2.1525" the Z drops .100 then while moving to the new offset it will raise back to 1in. I have no height comp on any of the offsets (AKA Z's are set to 0).


Any help would be great!!!


Thanks,

Aero
Title: Re: Switching from offsets (G54, G55... etc)
Post by: derekbpcnc on December 20, 2011, 02:03:03 PM
Hi Aero,

I'd write this way I don't know if it would make any difference to your problem, but I use work offsets all the time and I don't get the moves you are seeing.

G01 X-.03 Y-1.6355
G03 X-.23 Y-1.8355 I0 J-.2 F30.
G40 G01 X-.23 Y-2.1475
G00 Z1.
G55
G00 X.23 Y-2.1525
G00 Z.1
G01 Z-.385 F50.
G41 D01 X.23 Y-1.8405 F30

ATB
Derek
Title: Re: Switching from offsets (G54, G55... etc)
Post by: Aeroshade on December 20, 2011, 05:17:35 PM
I tried that and got the same results :(
Title: Re: Switching from offsets (G54, G55... etc)
Post by: Hood on December 20, 2011, 05:59:54 PM
Attach your xml, your fixtures.dat, tools3.dat and your code and maybe the problem can be found.
Hood
Title: Re: Switching from offsets (G54, G55... etc)
Post by: Aeroshade on December 21, 2011, 10:51:34 AM
OK here are the files, zipped.



Thanks for the help :)

Aero
Title: Re: Switching from offsets (G54, G55... etc)
Post by: Hood on December 21, 2011, 01:27:05 PM
I see you are using the DSPMC, possibly the issue relates to that?
Hood
Title: Re: Switching from offsets (G54, G55... etc)
Post by: Aeroshade on December 21, 2011, 01:58:23 PM
I will talk to Rufi and see what he thinks.
Title: Re: Switching from offsets (G54, G55... etc)
Post by: Hood on December 21, 2011, 02:49:41 PM
Let us know either way please.
Hood
Title: Re: Switching from offsets (G54, G55... etc)
Post by: Aeroshade on December 22, 2011, 12:34:21 PM
I will once I talk to Rufi.


Thanks,

Aero