Mcode out of range, greater than 199 error

More
1 year 10 months ago #317407 by Lcvette
Is anyone else getting out of range mcode errors?  Getting these from time to time while tinkering in 5 axis switchkins builds on calls for the higher m codes.

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago - 1 year 9 months ago #317924 by pd_2832
Yes, I’ve also been encountering this type of error while adding custom logic in the INI file for my double Z CNC machine. I experienced the "out of range M-code" issue when working with higher M-codes. To resolve it, I attempted remapping the M428 code to T in the configuration file, which seemed to help in certain cases. It might be related to how the M-codes are being interpreted by the machine’s controller, so adjusting the logic or reassigning the codes can sometimes fix the problem. Has anyone else had success with a similar approach or found a better solution?

 
Last edit: 1 year 9 months ago by pd_2832.

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #317926 by spumco
Same here.

I've cooked up a bunch of m-codes for my in-progress lathe and I had to do a remap for any >199.

So 100-199 are 'normal' M-codes in an "MCODES" folder, and 200+ are mNNN.ngc files in a "subroutines" folder.

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #318033 by pd_2832
do have work multihead cnc project ? @spumco !!

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #318053 by Aciera
This would indicate that the remap has not been setup correctly. Could you guys post your ini files that cause this error please?

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #318077 by Lcvette
using the switchkins example ini settings and sub files. my config is an experimental setup in a work in progress branch in probe basic for multi axis simulation. not sure you would want to dissect through that to hunt down the issue, but here is the github link to the branch if you do!

Chris

github.com/kcjengr/probe_basic/tree/simu...figs/probe_basic_asm

Please Log in or Create an account to join the conversation.

Time to create page: 0.203 seconds
Powered by Kunena Forum