Marlin and cnc specific gcodes

I have fixed parsing of g53-g59 in my github

Now marlin accepts these commands. I didn’t tested thoroughly but it looks like g54-g59 works properly. G53 unfortunately still doesn’t work.

Also i used relative fresh marlin sources and enabled a few features in the configuration.

  • fixed position probe using z min. So it seems G30 works fine.

  • enabled G38. Unfortunately it seems not work. At least not as i expected. Tool moving to target point (defined by x y or z) but doesn’t stop when z min touched.

  • enabled G0 feedrate. Now marlin has predefined rapid feedrate (i had set 1200) after boot and remembers last F value.

  • enabled cnc style () comments

  • enabled gcode macroses (m810-m819)

Per axis? We use different speeds for XY and Z. This is why I do not have it enabled, but I did not actually ever test it.

No, not per axis. Same for all. So I’m not sure that’s really useful feature for us. At least i think gcode that’s explicitly defines f in every g0 movement should still work as ir was

1 Like