Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: RNC on October 06, 2015, 02:08:39 PM

Title: Sanity check, tool offsets, home, probing, etc.
Post by: RNC on October 06, 2015, 02:08:39 PM
Setup:

I have a Sieg KX3 running off of an Ethernet SmoothStepper, have control of all axes in jog and spindle control, everything seems to work.
I have a registered copy of Mach 3 running on XP 32 bit, version recommended by Warp9 (03.xx.62 iirc)
I have the Calypso MSM screenset for probing functionality, and a Tormach 'passive' probe that is set up properly and can probe faces/edges/etc
I have Tormach repeatable height tool holders for all of my tooling, and have verified that the spindle bottom face is dead level so that I can reference from the spindle bottom face
I have home limit switches which are by default... Z fully raised, X fully deflected one way, and Y fully extended forward away from the machine

I have yet to cut anything in anger, I'm completely new to CNC ;).

Now, beginning with the probe (also in a repeatable height holder), I bottomed my spindle out on the vice I use, zero'ing the Z axis there.  Then I raised Z, mounted the probe, and touched it off of the same vice location, and that leaves me with a positive tool offset for the height of the probe, that I can reference from 'home' detailed above.  I put the probe in the tool database with a positive offset value that was measured from the touching off of the vice.

For the rest of my tooling, I intend to repeat the same process as I did with the probe, zero my Z on my vice, mount a tool, touch it off of the vice, and set a positive tool offset value.

So that for tool changes, I can add G code to return to 'home' for a tool change and prompt me, I swap the tool, and the program can continue from 'home' knowing its tool height for each tool.  I'll be free to change vices, fixtures, clamps, hold-downs, whatever, and since my tool height is referenced from Z home none of that will matter, yes?

And for starting any job, my first order of business in any program is to 'home' all 3 axes, and zero them as a starting point, correct?

And if I start this way each time, my MSM probing routines will also return positive values on each axis for the work offset, correct?  So that my probing routines should spit out sane offsets to start with, and Mach knows precisely where to start from based on the MSM probe routines and each positive tool offset, yes?

Am I missing anything here?

Title: Re: Sanity check, tool offsets, home, probing, etc.
Post by: RNC on October 06, 2015, 06:16:02 PM
And I think I've figured out where I went wrong...

Edge zero worked just peachy, the height is wrong, I wound up with an inaccurate Z height by ~3 inches and change, had to catch it before it plowed my cutter into the board I was testing with.  If I want to apply positive tool height measurements to the spindle zero, then my probe height measurement needs to be negative.  That I'm thinking should work...
Title: Re: Sanity check, tool offsets, home, probing, etc.
Post by: ger21 on October 06, 2015, 07:02:45 PM
You need to be using G43 Tool length offsets.
Title: Re: Sanity check, tool offsets, home, probing, etc.
Post by: RNC on October 06, 2015, 07:05:50 PM
You need to be using G43 Tool length offsets.

In addition to having my probe length negative or was I wrong in assuming that?
Title: Re: Sanity check, tool offsets, home, probing, etc.
Post by: ger21 on October 06, 2015, 07:46:28 PM
If you're not using G43, then none of the lengths you've entered are being used at all.
Title: Re: Sanity check, tool offsets, home, probing, etc.
Post by: RNC on October 06, 2015, 08:36:33 PM
I read up on that after the last post, it's being suggested to me that G43 assumes positive values, so I changed the value of the probe length offset back to positive.

So I started over, zero'd the machine at the default 'home', zeroed all axes there, issued a tool change for the probe with a positive value set for its length, loaded it, made sure G43 was enabled and "TLO Active" lit up.  Successfully probed the face and all 4 sides of a board. 

Then loaded a sample program to test that I knew from messing with before started with a tool change, hit run, and it promptly sent that probe tip to the moon because I didn't notice the G90 at the beginning.   >:(

Be back in a couple of days, a few dollars lighter...