On 7/31/2014 10:14 AM, Gene Heskett wrote:
> On Thursday 31 July 2014 08:22:34 John Thornton did opine
> And Gene did reply:
>> G10 L20 P1 Z0 calculates the value needed to make the current location
>> of G54 Z0
> Now, if L20 p2 does that for G55, and L20 P3 does that for G56, its
> exactly what I want.  Because I want to replace, not modify, what is there
> in the co-ordinate system p3 represents.  So it seems I should be in G54
> mode when making my measurements intended to update the G55 and G56 co-
> ordinates, right?
 From the manual, which may not be as clear as I'd like:

G10 L2 offsets the origin of the axes in the coordinate system specified 
to the value of the axis word. The offset is from the machine origin 
established during homing. The offset value will replace any current 
offsets in effect for the coordinate system specified. Axis words not 
used will not be changed.

Program P0 to P9 to specify which coordinate system to change.

Important Concepts:

  *

    G10 L2 Pn does not change from the current coordinate system to the
    one specified by P, you have to use G54-59.3 to select a coordinate
    system.

  *

    When a rotation is in effect jogging an axis will only move that
    axis in a positive or negative direction and not along the rotated
    axis.

  *

    If a /G92/ origin offset was in effect before /G10 L2/, it will
    continue to be in effect afterwards.

  *

    The coordinate system whose origin is set by a /G10/ command may be
    active or inactive at the time the /G10/ is executed. If it is
    currently active, the new coordinates take effect immediately.

G10 L20 is similar to G10 L2 except that instead of setting the 
offset/entry to the given value, it is set to a calculated value that 
makes the current coordinates become the given value.

> But one last question, what co-ord system should I be in when I do it?
> IOW, it won't be #5023, so perhaps I need to repeat, copying my code so it
> only effects the top or bottom offsets?
>   
I'm not sure what your doing with top and bottom offsets... and there is 
no #5023 numbered parameter.

G10 offsets are based on machine coordinates so it doesn't matter which 
coordinate system your in. Just note that G10 does not change the coordinate 
system.

JT

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to