Hello Guest it is December 01, 2021, 11:22:42 AM

Author Topic: Tool Table issues  (Read 1101 times)

0 Members and 1 Guest are viewing this topic.

Offline Davek0974

*
  •  2,607 2,607
    • View Profile
Tool Table issues
« 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 :(

Offline TPS

*
  •  2,210 2,210
    • View Profile
Re: Tool Table issues
« Reply #1 on: March 12, 2018, 03:55:03 PM »
OEMButton(316) does the tooltable save Job.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,607 2,607
    • View Profile
Re: Tool Table issues
« Reply #2 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

Offline Davek0974

*
  •  2,607 2,607
    • View Profile
Re: Tool Table issues
« Reply #3 on: March 13, 2018, 02:25:50 PM »
Code added - seems to fix the issue :)