On Friday 01 August 2014 08:51:39 John Thornton did opine And Gene did reply: > 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?
Top surfce of a pcb, and bottom surface of a pcb when saud pcb has been rotated 180 degrees on either axis to as to present that face to the cutting tools. > > I'm not sure what your doing with top and bottom offsets... and there > is no #5023 numbered parameter. Thats possible, I was typing from memory. #5063 was the correct one. > 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. No it doesn't. but in my tests yesterday, both G10 L2 and G10 L20 were accumulating, so reruns of the code were resulting in huge accumulated errors. So to set an identical Y offset in both the G55 map and the G56 map, I had to pass Y0.0000 to the G10 L20 p3 while setting G56, whereas I had to pass the determined #101 value to the P2 version setting G55. I didn't try reversing the order to see if it worked the other way by setting G56 first. I also note that no one has commented to the total lockup a limit switch trip now causes. Its forcing one to reboot the machine after powering down the motor and cranking it off the limit switch by hand. > 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 Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS ------------------------------------------------------------------------------ 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