Ray Henry wrote:
> On Mon, 2008-07-07 at 09:33 -0400, John Kasunich wrote:
> 
>>Jon Elson wrote:
>>
>>
>>>The other thing is I used to barely understand the G10 L2 Px 
>>>behavior before, and it seems to have changed.  I think in the 
>>>EMC1 past, all G55 - G59.3 work offsets were relative to the G54 
>>>system,
>>
>>That seems rather insane.  G54 is no different than G55 or any of the 
>>others, it isn't some special "master" coordinate system.  If all the 
>>others were based on G54, then moving 54 would move everything, which 
>>IMO would be a very unexpected result.
> 
> 
> I had similar thoughts about g54.  I know that g92 acts as a super coord
> shifter but had not seen g54 act that way.
Not sure that is true.  If other coord systems were immediately 
relative to G54, then shifting G54 would shift all others.  If 
the G10 L2 Px was made to set a coord system relative to G54 at 
the TIME it was done, then a later change to G54 would not move 
the other systems.  What the current behavior appears to be now, 
is that if you wanted to set up a new G55 system, relative to a 
part already fixtured and aligned to the G54 system, you would 
need to move to X0 Y0 in the G54 system, switch the display to 
machine coords, and read the offset between the machine and G54 
coord systems to calculate the G55 system.  If I have a block of 
CAD-generated G-code that is referenced to some feature as X0 
Y0, and I want to machine it at a location where that reference 
is at X5 Y6, this is a lot of fooling around to do.  It would be 
immensely desirable to have a way, IN THE G-CODE, of specifying 
I wanted a coord system set where G54's X5 Y6 is the X0 Y0 in 
that system.  I suppose these offsets are all present in the 
#52xx variables, I just need to learn which ones to call up and 
I can set one coord system relative to another.

I think it would look like this :

G10 L2 P2 X#5211+5.0 Y#5212+6.0
G55

Does that look right?

Jon

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to