Hello
Guest
it is
May 02, 2025, 08:40:55 PM
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
YouTube
Machsupport Forum
/
Third party software and hardware support forums.
/
Newfangled Solutions Mach3 Wizards
(Moderator:
Ron Ginger
)
/
Tool Number read from Mach's Tool Table?
« previous
next »
Print
Pages:
1
2
3
»
Go Down
Author
Topic: Tool Number read from Mach's Tool Table? (Read 79906 times)
0 Members and 1 Guest are viewing this topic.
gtoguy
27
Tool Number read from Mach's Tool Table?
«
on:
September 22, 2007, 04:26:07 PM »
Can the program be written to get my tool diameter automatically from the entries in my Tool Table Data when I type in a tool # in the NFW screen?
Thanks,
Pat
Logged
gtoguy
27
Re: Tool Number read from Mach's Tool Table?
«
Reply #1 on:
September 24, 2007, 10:07:42 PM »
Ron,
Is this included in the next upgrade or is it not doable?
Pat
Logged
Ron Ginger
925
Re: Tool Number read from Mach's Tool Table?
«
Reply #2 on:
September 28, 2007, 09:10:47 PM »
I do not think the tool table data is accessible to VB. There was some recent discussion on this, but I dont hink it will be possible.
Logged
Graham Waterworth
2,779
Yorkshire Dales, England
Re: Tool Number read from Mach's Tool Table?
«
Reply #3 on:
September 30, 2007, 05:33:55 AM »
You can get the data like this :-
GetToolParam(SHORT toolnum, SHORT param) for tool parameters. Param numbers are 1 - n and correspond to the tool window in the mill or turn modes.
In turn for example, 1 is TipDia, 2 is Tip Radius..ect..
Graham.
Logged
Without engineers the world stops
gtoguy
27
Re: Tool Number read from Mach's Tool Table?
«
Reply #4 on:
September 30, 2007, 11:32:27 AM »
Graham,
Thanks. It is exactly what I was hoping existed to get the tool info.
What is the best source for the complete list of VB functions?
Pat
Logged
Chaoticone
5,624
Precision Chaos
Re: Tool Number read from Mach's Tool Table?
«
Reply #5 on:
September 30, 2007, 08:46:08 PM »
You got to watch Graham, he's pretty bad about pulling a rabbit out of the hat.
Brett
Logged
If you could see the things I have in my head, you would be laughing too.
My guard dog is not what you need to worry about!
gtoguy
27
Re: Tool Number read from Mach's Tool Table?
«
Reply #6 on:
September 30, 2007, 11:28:49 PM »
Graham,
Any way to get the "tool description" from the tool table in addition to the tool diameter and offset length?
Pat
Logged
Graham Waterworth
2,779
Yorkshire Dales, England
Re: Tool Number read from Mach's Tool Table?
«
Reply #7 on:
October 01, 2007, 04:57:33 AM »
I have not found one for doing that.
Graham.
Logged
Without engineers the world stops
vmax549
Re: Tool Number read from Mach's Tool Table?
«
Reply #8 on:
October 01, 2007, 12:33:35 PM »
YOu can bring in the current tool # info by setting up a text Label using "TOOLDESC", it will retreive the currently loaded tool # description . I use it in an AUTO tool setting page. You would just need to setup the macro to load up the tool# you need the references on first then extrat the info.
You can also use the Get/Set Tool Param calls to modify the tool data. BUT you cannot change the tool description except in the tool Table Config.
(;-) TP
Logged
gtoguy
27
Re: Tool Number read from Mach's Tool Table?
«
Reply #9 on:
October 02, 2007, 12:33:19 AM »
Thanks, it works as advertized. Where do you find this information in the documantation?
Also is there a way to read the label text from the TOOLDESC label in VB code after it displays the tool description?
Pat
Logged
Print
Pages:
1
2
3
»
Go Up
« previous
next »