On Wednesday 09 March 2016 05:03:59 andy pugh wrote:

> On 9 March 2016 at 00:24, Gene Heskett <ghesk...@wdtv.com> wrote:
> > Just one problem, the limit box in the backplot says the tool tip is
> > only about 150 thou below the z axis upper limit!, and my code
> > refuses to run because it runs up 4" to a tool change height, which
> > there are 3 of in the code..
> >
> > This does not make sense, the machine, when at the material top
> > surface, is almost 5" below the upper limit/home switch.
>
> What I think has happened here is that you have filled the tool table
> with tool-lengths that are approximately the full travel of the
> machine (and negative)
> What numbers do you see in the tool table?
>
> That shouldn't be a problem, but you need to then set up the G54
> offsets too to pull everything down again by touching-off to the work
> with a tool in the spindle and with the tool offsets (G43) enabled so
> that the system knows to factor the tool-length into the calculations.
>
> Starting with a blank canvas, you have a situation where Z=0 is at the
> top of machine travel.
> You then inserted a tool and jogged down several inches, and told the
> system that Z was now at zero. The system still thinks that Z=0 is at
> the top of machine travel, so the tool offset end up being negative
> (imagine a virtual tool pointing back up the spindle to the top home
> switch location :-)
>
> As long as the tool table is consistent, this is probably OK. But I
> prefer to work a slightly different way.
>
> I have my T99 which is a touch-probe. I have decided that that tool is
> of zero length. Every other tool has a Z-offset above or below that
> nominal zero.
> (On the lathe the reference tool is the turn/face T1). I know that
> both these tools should have zero offset, and if I mess up and put an
> offset in them then I can clear it with G10.
>
> If you had jogged a reference tool down to the PCB then touched-off
> the G54 to that  position before touching-off the rest of the tools
> you would have ended up with a tool table of offsets relative to the
> reference tool, rather than referenced to the Z-axis home position.

And that I believe explains it, I put the measured offset into all 3 
tools in the tool table. I have also rewrote the homing to put z=0 at 
50% of the Z travel.  I think I am good now if I can get my code to 
behave itself.

thank you 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>

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to