Hello Guest it is April 19, 2024, 04:49:00 PM

Author Topic: Bit of help needed with VB code  (Read 2248 times)

0 Members and 1 Guest are viewing this topic.

Bit of help needed with VB code
« on: April 24, 2010, 05:40:58 AM »
Scott S posted some VB parameters and i need help in understanding it a bit.

I want to find the Z offset in lathe for the current tool, Z offset would be parameter 4

Here is the code

GetToolParam(SHORT toolnum, SHORT param)
param { 1 = tool diamter, 2 = ZOffset, 3 = xwear, 3 = zwear )

So that zoffset=(Insert correct VB code here)

Thanks
Phil
The Good Thing About Mach3, Is It's very Configurable

The Bad Thing About Mach3, Is It's Too Configurable

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Bit of help needed with VB code
« Reply #1 on: April 25, 2010, 09:20:07 PM »
Using Turn and assuming tool#1 and zoffset

Gettoolparam(1,4)