Page 1 of 2

Digitize file

PostPosted: Mon Apr 18, 2022 10:18 am
by charliem
Hello everyone,

I'm having a go with G code ripper ( it works with mach3 and Linux CNC)and trying to get the probe function working. Well I finally figured that the M40 macro is not present. I went poking around a Mach3 install and its in the macros folder. this is the macro "OpenDigFile()" is there a equivalent for uccnc?

Thanks for the help on this.

Regards
Charlie

Re: Digitize file

PostPosted: Mon Apr 18, 2022 11:04 am
by ger21
M40 to start, and M41 to stop. It's in the manual.

Re: Digitize file

PostPosted: Mon Apr 18, 2022 2:03 pm
by charliem
Hi Gerry thanks for the reply.

The issue I think is
1 I don't have the m40 macro in the macro folder.

2 I can create it I think. I just need to know given the mach3 m40 macro example what does uccnc use to do the same thing?

Re: Digitize file

PostPosted: Mon Apr 18, 2022 3:48 pm
by ger21
You don't need a macro.
Just put M40 at the beginning of your g-code, and M41 at the end.

Re: Digitize file

PostPosted: Mon Apr 18, 2022 5:48 pm
by charliem
Ok thanks. I'll give it a try.

Re: Digitize file

PostPosted: Wed Apr 20, 2022 9:07 am
by Nicolett
Did it worked for you?

Re: Digitize file

PostPosted: Tue Apr 26, 2022 8:46 am
by charliem
Hi Nicolett,

even with m40 and m41 in the gcode file it did not work for me.

Re: Digitize file

PostPosted: Tue Apr 26, 2022 9:19 am
by cncdrive
M40 and M41 are inernal UCCNC macros, they don't read from the macro folder, so you don't have to have those macros in the macro folder, these macros work anyways, they are built into the UCCNC exe file.

Re: Digitize file

PostPosted: Tue Apr 26, 2022 1:05 pm
by Authority924
So I just have to write at the beginning of the command m40 and at the end m41 or should I use an additional command with m41 at the end?

Re: Digitize file

PostPosted: Sat Jun 11, 2022 4:34 pm
by charliem
OK So I have decided to revisit this topic and give it another try. With Gcode generated from G code ripper and Autoleveler I got the same result with uccnc.
after probing my spindle stayed .250 above the work piece. The same Gcode in Mach3 worked as expected. I am testing this with the work piece set at a incline and probing and engraving some letters. So I have to wonder after reading this post http://www.forum.cncdrive.com/viewtopic.php?f=2&t=3876
If it is even possible to use something like G code ripper or auto leveler with uccnc. any thoughts on this subject are welcomed.