Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Graham Waterworth on November 25, 2006, 04:45:17 PM

Title: Tool offset table
Post by: Graham Waterworth on November 25, 2006, 04:45:17 PM
Hi Art / Brian

I have asked this in the past, and the answer was 'Not at the moment'.

So

Is there a way now that I can read the data from the offset table using VB.

If there is no Mach command, can we PLEASE have a Offset-read and an Offset-write command.

It would be nice to be able to do :-

len = Read_Offset(no,0)
dia = Read_Offset(no,1)
lwear = Read_Offset(no,2)
dwear = Read_Offset(no,3)

and

Write_Offset(no,len,dia,lwear,dwear)

Thanks

Graham.
Title: Re: Tool offset table
Post by: Brian Barker on November 26, 2006, 10:24:26 AM
Tools.dat is the file that all the data is in and you should be able to read and write to the file from VB :)