How to program a ZERO ALL key

Mach3 and Mach4 questions, tips and topics can be posted here
Post Reply
tassleholf98
1 Star Member
1 Star Member
Posts: 15
Joined: Thu Jun 15, 2023 10:24 am

How to program a ZERO ALL key

Post by tassleholf98 »

Hi y'all

Still fairly new to this software.

I have a question about key mapping to a wireless controller.

I want to setup a key on the controller to ZERO ALL axis's
I have setup other keys but I cannot seem to find the recipe to allow me to map out the
ZERO X
ZERO Y
ZERO Z
and add them all to one key press on my controller

I hope that makes sense to you guys

Thanks
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 7796
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: How to program a ZERO ALL key

Post by acourtjester »

Use the G92 command G92 x0y0z0 that will clear the DRO to zero
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
tassleholf98
1 Star Member
1 Star Member
Posts: 15
Joined: Thu Jun 15, 2023 10:24 am

Re: How to program a ZERO ALL key

Post by tassleholf98 »

acourtjester wrote: Fri Aug 11, 2023 2:14 pm Use the G92 command G92 x0y0z0 that will clear the DRO to zero
Thank you , just 1 question........ how would I input that to assign to a button in anti microX for my controller,
I am sorry for being a dummmmmasssss
User avatar
djreiswig
4.5 Star Elite Contributing Member
4.5 Star Elite Contributing Member
Posts: 1939
Joined: Thu Nov 19, 2015 10:02 pm
Location: SE Nebraska

Re: How to program a ZERO ALL key

Post by djreiswig »

You might have to create a macro in mach & then assign the macro to your button. Or if you are able to run mach screen buttons with your controller, assign the macro or gcode to a screen button and assign the button to your controller. I'm not sure how your controller functions.
2014 Bulltear (StarLab) 4x8
C&CNC EtherCut
Mach3, SheetCam, Draftsight
Hypertherm PM65
Oxy/Acetylene Flame Torch
Pneumatic Plate Marker, Ohmic, 10 inch Rotary Chuck (in progress)
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 7796
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: How to program a ZERO ALL key

Post by acourtjester »

If you are using Mach 3 there is a program called Screen 4 which is for adding or modifying things on the screen. Search YouTube for a video on how to do it, it not hard. You can add a short G-code to a button, then do what you are using now to assign a button from the game controller to that button in Mach 3. LinuxCNC has a similar thing using QTPlasmaC you can assign a button on the main page for additional operations.
You could do a search on YouTube use different wording about what your looking for, somebody may have a video on just how to do it.
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
tassleholf98
1 Star Member
1 Star Member
Posts: 15
Joined: Thu Jun 15, 2023 10:24 am

Re: How to program a ZERO ALL key

Post by tassleholf98 »

Many thanks guys
tassleholf98
1 Star Member
1 Star Member
Posts: 15
Joined: Thu Jun 15, 2023 10:24 am

Re: How to program a ZERO ALL key

Post by tassleholf98 »

I got it all sorted out using SCREEN4.
Its working good.
Thanks Guys
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 7796
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: How to program a ZERO ALL key

Post by acourtjester »

Great thanks for the follow up, may help future searchers with similar questions. :Like
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: How to program a ZERO ALL key

Post by adbuch »

Tom - that Screen 4 sounds like a neat tool! I do run Mach3 on one of my cnc router tables, but have not yet had the need to do any of this fancy stuff with the macros. Thanks for sharing this and I will keep it in mind for future use.

David
User avatar
djreiswig
4.5 Star Elite Contributing Member
4.5 Star Elite Contributing Member
Posts: 1939
Joined: Thu Nov 19, 2015 10:02 pm
Location: SE Nebraska

Re: How to program a ZERO ALL key

Post by djreiswig »

I used MachScreen to do a bunch of custom stuff to.my setup I think I tried Screen4, but it didn't work for me.
2014 Bulltear (StarLab) 4x8
C&CNC EtherCut
Mach3, SheetCam, Draftsight
Hypertherm PM65
Oxy/Acetylene Flame Torch
Pneumatic Plate Marker, Ohmic, 10 inch Rotary Chuck (in progress)
tassleholf98
1 Star Member
1 Star Member
Posts: 15
Joined: Thu Jun 15, 2023 10:24 am

Re: How to program a ZERO ALL key

Post by tassleholf98 »

djreiswig wrote: Tue Aug 15, 2023 7:05 am I used MachScreen to do a bunch of custom stuff to.my setup I think I tried Screen4, but it didn't work for me.
Screen 4 took a little bit of figuring out, but got it done in the end.
now i have a Zero All button on my screen set which is now programmed in my cheap ass game controller.

So happy now

Many thanks for your help
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: How to program a ZERO ALL key

Post by adbuch »

tassleholf98 wrote: Tue Aug 15, 2023 8:03 am
djreiswig wrote: Tue Aug 15, 2023 7:05 am I used MachScreen to do a bunch of custom stuff to.my setup I think I tried Screen4, but it didn't work for me.
Screen 4 took a little bit of figuring out, but got it done in the end.
now i have a Zero All button on my screen set which is now programmed in my cheap ass game controller.

So happy now

Many thanks for your help
Thanks for the update! I'm glad you got it to work for you.
David
User avatar
djreiswig
4.5 Star Elite Contributing Member
4.5 Star Elite Contributing Member
Posts: 1939
Joined: Thu Nov 19, 2015 10:02 pm
Location: SE Nebraska

Re: How to program a ZERO ALL key

Post by djreiswig »

Now that you know how to edit screens, that opens up all sorts of possibilities.
2014 Bulltear (StarLab) 4x8
C&CNC EtherCut
Mach3, SheetCam, Draftsight
Hypertherm PM65
Oxy/Acetylene Flame Torch
Pneumatic Plate Marker, Ohmic, 10 inch Rotary Chuck (in progress)
tassleholf98
1 Star Member
1 Star Member
Posts: 15
Joined: Thu Jun 15, 2023 10:24 am

Re: How to program a ZERO ALL key

Post by tassleholf98 »

djreiswig wrote: Tue Aug 15, 2023 10:32 am Now that you know how to edit screens, that opens up all sorts of possibilities.
:HaHa :HaHa :HaHa I don't know about that .
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 7796
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: How to program a ZERO ALL key

Post by acourtjester »

When I was running Mach I used screen 4 to setup a button for moving from laser positioning to Torch position. Little add on laser crosshairs and a G-code to position the torch over to that crosshair position. LinuxCNC with QTPlasmaC has add on buttons to do similar things. About 6 are already in when starting QTPlamaC, I just need to learn how to do that. :HaHa Here is a list of some of the buttons the Rod has setup on his system.
button names rod uses.JPG
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
User avatar
djreiswig
4.5 Star Elite Contributing Member
4.5 Star Elite Contributing Member
Posts: 1939
Joined: Thu Nov 19, 2015 10:02 pm
Location: SE Nebraska

Re: How to program a ZERO ALL key

Post by djreiswig »

I have a couple that I use to zero off of my scribe and then move the torch to that position and re-zero. The other one moves back the other way in case I need to adjust slightly. Also have a park button. I have buttons to switch my reference from ohmic to the mechanical switch. Buttons to run my scribe, air slide, plasma & flame torch valves. Have a trial run button that changes mach to block delete mode so I can do a test run without the torch and thc without switching the power supply off.
This one took a little post processor modification. I think I posted how I did this on here a while back.
Lots of possibilities.
2014 Bulltear (StarLab) 4x8
C&CNC EtherCut
Mach3, SheetCam, Draftsight
Hypertherm PM65
Oxy/Acetylene Flame Torch
Pneumatic Plate Marker, Ohmic, 10 inch Rotary Chuck (in progress)
Post Reply

Return to “Mach3 & Mach4 CNC”