How to Assign a Hotkey to Run a G-code Macro

If you have a question about the software please ask it here.

How to Assign a Hotkey to Run a G-code Macro

Postby taawad » Fri Sep 20, 2024 3:30 pm

Hi everyone,

I’m trying to set up a hot key in UCCNC so that pressing the letter “G” runs a macro to execute a G-code that makes a square. Here’s what I’ve done so far

Created a text file named M21000 with the G-code
Placed the file in UCCNC > Profiles > Macros_Default. However when I load the software, I get a pop to select the motion controller device. If I delete the text, the software loads normally.

My Questions are:
Where should I place the M21000 text file so that UCCNC recognizes it and runs the macro when I press “G”?
How can I set the function to 21000 associated with the “G” hotkey, as it doesn’t show 21000 in the function code window?
Where is the DRO & Screen editor located in UCCNC?
taawad
 
Posts: 19
Joined: Fri Sep 20, 2024 1:56 pm

Re: How to Assign a Hotkey to Run a G-code Macro

Postby Battwell » Sat Sep 21, 2024 1:13 pm

read about the codelist function in macro programmer manual. (how to run a list of code)

create a correct macro using this and save as m2100.

dro and screen editor is in settings. edit screen button.
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 867
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk


Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 11 guests