On Thursday 24 September 2015 15:32:02 andy pugh wrote:

> On 24 September 2015 at 20:12, Gene Heskett <ghesk...@wdtv.com> wrote:
> > So any diddling of maps will be done with a G10 L2 P2 axis's which
> > will adjust G55, leaving G54 in the as homed condition. IOW do the
> > probing while G54 is in effect, but modify G55 with the results of
> > the probing.
>
> It might help to note that G30.1 stores the current absolute position
> into #5181 et. seq.
> http://www.linuxcnc.org/docs/html/gcode/gcode.html#sec:G30-G30_1

I'll have to look at that.  What I do know from todays hacking so far, is 
that starting at homed, followed by an immediate G53 G1 X0 y0 z0, g10 L2 
P2 x0 y0 z0 which is what the display says after being homed (which is 
45mm's from the top of the post, and z home is parked at the instant the 
switch opens.

But when my code runs, doing that same G53 G0 x0 y0 z0, the display says 
z is at -1.9 something inches when it stops!

I can touch it off to zero it, but it comes right back (to 4 decimal 
places right of the dot) on the next run.

It is also yelping about program exceeds z axis limits, making me do a 
run anyway, single step by single step until I can see that it has 
screwed up or is about to.

What it is, is frustrating.  Nothing in a z move in this program takes it 
within 1/2" of the z home switch, or below the nominally 10" of down 
travel (270mm's) allowed in the ini file.

FWIW, there is an A axis defined in the .ini so it will be there when and 
if I cobble up a separate driver for my nearly worthless but motorized 
4" table.  Is there an interaction between the A axis even when there 
are no A axis moves in the gcode?  ISTR someone once claimed there 
was...

This is a dog and pony show that I've hit way to many times, and its an 
old enough squawk it seems to me like it should at least report the 
erronious line of code so we might stand a snowballs chance in hell of 
finding it in a 500 line program.  What debug= will enable that tracing?
Preferably tracing and reporting only the Z affecting code bits in this 
case.

Make me ask no one in particular if its 5 o-clock yet, someplace.  Since 
its past 17:00 here, I'll take a diabetic near (2.3%) beer and the 
manual for its debug info.

Thanks Andy.

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>

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to