Page 1 of 1

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

PostPosted: Fri Sep 20, 2024 3:30 pm
by taawad
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?