Page 1 of 1

M297 and M298 (503 Invalid M function)

Posted: Fri Jul 04, 2025 12:51 pm
by Ryan Patterson
When trying to use M297 I get a 503 Invalid M function. I need to disable the soft limits.

Re: M297 and M298 (503 Invalid M function)

Posted: Fri Jul 04, 2025 1:15 pm
by Centroid_Jacob
Hi Ryan,

Please post a report. Here's how:



What version of CNC12 are you running?

If I remember correctly M297/M298 were added in v5.24, so if you are on an older version then the 503 error makes sense.

Re: M297 and M298 (503 Invalid M function)

Posted: Mon Jul 07, 2025 9:37 am
by CentroidFrog
Jacob is correct, M297 and M298 were added in CNC12 v5.24
CNC12 v5.30 is available here: https://www.centroidcnc.com/centroid_di ... loads.html
As well as upgrade and installation instruction, which I'd highly recommend following:
https://www.centroidcnc.com/centroid_di ... ctions.pdf