Hello Guest it is April 19, 2024, 02:29:50 AM

Author Topic: SetToolParam()  (Read 1662 times)

0 Members and 1 Guest are viewing this topic.

Offline amnon

*
  •  40 40
    • View Profile
SetToolParam()
« on: February 20, 2015, 02:36:14 PM »
Hej,

How can I set Tool 1 Length to 200 using function SetToolParam()

Best Regards
Amnon

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: SetToolParam()
« Reply #1 on: February 20, 2015, 03:54:49 PM »
SetToolParam(1,2,200)

That would set tool 1's Z offset to 200.

You can also do it via G Code or even use G Code in a VB button.
I use that method with my tool setter which is linked into Mach via a linear scale.

Hood

Offline amnon

*
  •  40 40
    • View Profile
Re: SetToolParam()
« Reply #2 on: February 21, 2015, 02:12:15 PM »

Thanks, works.

Amnon