Page 14 of 16

Re: Retrofit My Build Looking at Switching from Mach4 to Centroid System

Posted: Thu Jan 16, 2025 4:40 pm
by cnckeith
Sword wrote: Thu Jan 16, 2025 4:35 pm Use the GRBL output and then "Save to G-code", along with the custom start/end code option in machine settings. Then if you need some further editing of the saved G-code, open it in Notepad++ and make a macro to do any of that. My macro starts at the first line and automatically makes all the needed changes and then saves the file.

Further info...https://centroidcncforum.com/viewtopic. ... 920#p72920
Uwe and Scott, thanks for the reminder about this post, great info.

i copied that original thread into the knowledge base forum and retitled it so it shows up better in the search.

https://centroidcncforum.com/viewtopic. ... 858#p95858

Re: Retrofit My Build Looking at Switching from Mach4 to Centroid System

Posted: Thu Jan 16, 2025 4:41 pm
by Onawa220
Awesome! Thank you guys. Too bad they, Lightburn, didn't make it a little easier to do but that makes it a lot easier.

Re: Retrofit My Build Looking at Switching from Mach4 to Centroid System

Posted: Thu Jan 16, 2025 5:00 pm
by suntravel
That is super easy...

Post from Lightburn in the \ncfiles folder
load job
edit gcode
run macro
hit cycle start

:D

Uwe

Re: Retrofit My Build Looking at Switching from Mach4 to Centroid System

Posted: Thu Jan 16, 2025 5:17 pm
by Onawa220
suntravel wrote: Thu Jan 16, 2025 5:00 pm That is super easy...

Post from Lightburn in the \ncfiles folder
load job
edit gcode
run macro
hit cycle start

:D

Uwe
With this information it's easy now. Without it though...... :)

Re: Retrofit My Build Looking at Switching from Mach4 to Centroid System

Posted: Thu Jan 16, 2025 5:19 pm
by Onawa220
ok and other quick question. What gcode would I add to the end of my post processor in Vetric to make the spindle return to my work zero? I did a quick search and I probably just missed it.

Re: Retrofit My Build Looking at Switching from Mach4 to Centroid System

Posted: Thu Jan 16, 2025 5:35 pm
by Sword
There are a few ways to do it, but here's a snip of my end of program. I prefer the Z axis to be at the top when finished (Machine Z home), before going anywhere else.

M25 ; Move to Z home
M5 ; Spindle Off
M9 ; Dust Collection Off
G0 X0.000000 Y0.000000

Re: Retrofit My Build Looking at Switching from Mach4 to Centroid System

Posted: Thu Jan 16, 2025 7:44 pm
by Onawa220
Sword wrote: Thu Jan 16, 2025 5:35 pm There are a few ways to do it, but here's a snip of my end of program. I prefer the Z axis to be at the top when finished (Machine Z home), before going anywhere else.

M25 ; Move to Z home
M5 ; Spindle Off
M9 ; Dust Collection Off
G0 X0.000000 Y0.000000
That's kind of what I was picturing but I've caused issues in Mach4 thinking I knew what I was doing on that one :) Thank you.

Re: Retrofit My Build Looking at Switching from Mach4 to Centroid System

Posted: Thu Jan 16, 2025 9:06 pm
by cnckeith
are you using the Teknic RAS feature in there setup software for the axis motors?

Re: Retrofit My Build Looking at Switching from Mach4 to Centroid System

Posted: Sun Mar 09, 2025 8:26 pm
by Onawa220
cnckeith wrote: Thu Jan 16, 2025 9:06 pm are you using the Teknic RAS feature in there setup software for the axis motors?
Sorry I didn't see this post.

Yes the engineer that logged into my servos remotely set RAS up.

Re: Retrofit My Build Looking at Switching from Mach4 to Centroid System

Posted: Mon Mar 10, 2025 4:31 pm
by cnckeith
RAS introduces a lag that shows itself with Laser applications (XYZ)
when using a diode laser you can compensate for the lag introduced by RAS

with this added feature in version 5.24+ PWM Laser Delay Fine Tuning Parameter 424 added. Useful for compensating
for millisecond delays introduced when using RAS with Clearpath servos.

page 14
https://www.centroidcnc.com/dealersuppo ... ds/326.pdf