Machsupport Forum

Mach Discussion => Mach Screens => Topic started by: mike^3 on March 22, 2014, 12:00:19 PM

Title: G-Code tool change buttons?
Post by: mike^3 on March 22, 2014, 12:00:19 PM
 ???

Hello everyone, can anyone provide me an example of how I can set up buttons on one of my screens that will execute the tool change commands t0101, t0202, t0303, etc etc. for a lathe?

I have the buttons on the screen but don't know how to link them to the mdi line for gcode commands.

I would like to click TOOL 1 button on the screen, and it would execute the gcode/mdi command t0101

TOOL 2 button = t0202 command etc

Any Help?

I really appreciate it ;)

Thank you,

Mike
Title: Re: G-Code tool change buttons?
Post by: ger21 on March 22, 2014, 12:10:24 PM
Open the screen in a screen designer, and setup the button to execute g-code, and enter the T0101 in the g-code box.
Title: Re: G-Code tool change buttons?
Post by: mike^3 on March 22, 2014, 12:34:46 PM
Oops, I forgot to mention, I am using screen 4
Title: Re: G-Code tool change buttons?
Post by: mike^3 on March 22, 2014, 12:36:20 PM
Does it matter if its screen4 or screen designer? I think I tried to put in t0101 and it didnt do anything...let me try again..one sec ;)
Title: Re: G-Code tool change buttons?
Post by: mike^3 on March 22, 2014, 12:46:55 PM
i tried again, and I put in t0101 in the gcode function box when I double click the tool 1 button.

I saved it, and then retried in mach 3, and nothing happens when I press tool 1....
Title: Re: G-Code tool change buttons?
Post by: ger21 on March 22, 2014, 01:00:23 PM
Did you check the "G-Code Function" Box
Title: Re: G-Code tool change buttons?
Post by: mike^3 on March 22, 2014, 01:07:24 PM
Thanks, i fixed it...I was opening the wrong screen set! THANKS A BUNCH!
Title: Re: G-Code tool change buttons?
Post by: mike^3 on March 22, 2014, 01:07:45 PM
Thanks Ger21, your info was right on!