Page 1 of 1

Is there a step by step tutorial for new guys on macros and

PostPosted: Thu Nov 04, 2021 7:49 am
by Mark Kraus
I have been using uccnc on and off for a few years and am about to start a fabrication shop and want to get deeper into the software but am having trouble finding entry level info.on macros plug-ins buttons etc. I mean very beginner stuff. Help point me in the right direction please.

Re: Is there a step by step tutorial for new guys on macros

PostPosted: Thu Nov 04, 2021 9:29 am
by dezsoe
First you have to learn (at least the basics of) C# or Visual Basic. In macros the default language is C# but with #VB in the first line you can switch to Visual Basic. If you get familiar in macros then you can write plugins too. A bit different, but the logic is the same. And you can always get help here on the forum.

Re: Is there a step by step tutorial for new guys on macros

PostPosted: Thu Nov 04, 2021 8:36 pm
by Mark Kraus
Ok i mean for just now I I just want to know how to load and use macros and plug-ins not write them.

Re: Is there a step by step tutorial for new guys on macros

PostPosted: Thu Nov 04, 2021 9:32 pm
by dezsoe
The macro has to be in the Profiles\Macro_yourprofilename folder. Type Mxxx into MDI or in your g-code file to start the macro. (xxx is the number of the macro.)

To use a plugin you have to enable it first. On the general settings page press config plugins and check enable for the plugin you need. You have to restart UCCNC. Some plugins have a main window and/or a config window. In the config plugins window you can press the Show or Configure button to show up these windows if they exist. Enable only those plugins that you really use. Don't enable more than one MPG/pendant plugin, because they may disturb each other.