Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Davek0974 on March 12, 2018, 03:00:45 PM

Title: Tool Table issues
Post by: Davek0974 on March 12, 2018, 03:00:45 PM
I had a job tonight, follow on from yesterday where i had a 6 tool job on - yesterday I set my tools in the holders, set the heights in the tool table using my auto macro which reads a DRO and saves the heights in the TT using code, the TT is not loaded or displayed when doing this.

Today I had to use one tool from yesterday so i presumed the height was still set in the TT.

When the job ran the tool was a good 10mm above the work, I reset my Z ref and again it was over 10mm high, checking the TT against the height setter DRO showed the TT value was over 10mm out so the values I set yesterday did not seem to have been saved?

Luckily it was tool high not low so no damage.

Questions :-

When is the TT data saved?
If loading the TT via macro code, do you need to "save" it as well?

Along with the random scripter compile errors, another black mark against Mach I feel :(
Title: Re: Tool Table issues
Post by: TPS on March 12, 2018, 03:55:03 PM
OEMButton(316) does the tooltable save Job.
Title: Re: Tool Table issues
Post by: Davek0974 on March 12, 2018, 04:02:14 PM
Ah, so i need to add a DoOEMButton(316) after each call to update a value in the TT?

I just presumed it got saved when Mach closed.

Thanks for the tip
Title: Re: Tool Table issues
Post by: Davek0974 on March 13, 2018, 02:25:50 PM
Code added - seems to fix the issue :)