Custom G Code for Centroid

I have a custom device and Gcode setup in Lightburn. My controller is a Centroid AcornSix.

There must have been an update and I cannot get things to work correctly in the settings.
I need to have an S0 before every G0 move then start the next G1 move with the requested power.

At the moment S0 works fine and is called before every G0 but will never show the requested S level before the G1 moves, eg.

Should look like this
S0
G0 X3.0Y3.0
S20
G1 X4.0Y4.0
G1 x6.0Y6.0
S0
G0 X1Y1

but shows this
S0
G0 X3.0Y3.0
G1 X4.0Y4.0
G1 x6.0Y6.0
S0
G0 X1Y1

I have tried many combinations but the S level is never generated before G1 moves in the code.

Maybe try the following:


And the docs:

Yes, tried that. When I add [S]{power} anywhere in the cut move, it doesn’t show up in the generated G Code. It used to but after an update it doesn’t anymore.

OK, made a bit of headway…

Had to put S{power} and S0 in the Tool On and Tool Off. This placed them around any rapid movement.

Pic2

What is odd is if I remove the [S]{power} from the Cut Move, it won’t work.

I think they have some more work to do on this section

Also forgot to add…if the Tool State Automatic is turned on it won’t generate the S in the G Code. As soon as I turned that off the G Code has the S where I wanted it.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.