Hello Guest it is December 09, 2024, 12:03:19 AM

Author Topic: G-Code tool change buttons?  (Read 9818 times)

0 Members and 1 Guest are viewing this topic.

Offline mike^3

*
  •  116 116
G-Code tool change buttons?
« 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

Offline ger21

*
  • *
  •  6,295 6,295
    • The CNC Woodworker
Re: G-Code tool change buttons?
« Reply #1 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.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline mike^3

*
  •  116 116
Re: G-Code tool change buttons?
« Reply #2 on: March 22, 2014, 12:34:46 PM »
Oops, I forgot to mention, I am using screen 4

Offline mike^3

*
  •  116 116
Re: G-Code tool change buttons?
« Reply #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 ;)

Offline mike^3

*
  •  116 116
Re: G-Code tool change buttons?
« Reply #4 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....

Offline ger21

*
  • *
  •  6,295 6,295
    • The CNC Woodworker
Re: G-Code tool change buttons?
« Reply #5 on: March 22, 2014, 01:00:23 PM »
Did you check the "G-Code Function" Box
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline mike^3

*
  •  116 116
Re: G-Code tool change buttons?
« Reply #6 on: March 22, 2014, 01:07:24 PM »
Thanks, i fixed it...I was opening the wrong screen set! THANKS A BUNCH!

Offline mike^3

*
  •  116 116
Re: G-Code tool change buttons?
« Reply #7 on: March 22, 2014, 01:07:45 PM »
Thanks Ger21, your info was right on!