Author Topic: SetToolParam()  (Read 930 times)

0 Members and 1 Guest are viewing this topic.

Offline amnon

  • Active Member
  • Posts: 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

  • Mach4 Alpha
  • Posts: 25,775
  • 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

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

Thanks, works.

Amnon