custom M code

More
08 Apr 2014 00:37 #45664 by viski
custom M code was created by viski
I have created M100 and M101 code, write it in HALUI section, restart GUI and PC but when i type it in MDI ( F5) i get error mesage: not known M code!

Do i have to write it in more sections in INI file ?

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

More
08 Apr 2014 01:16 #45665 by emcPT
Replied by emcPT on topic custom M code
The file must have execution permission (this is the most commun fault).
The M in the file must also be upper case.

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

More
08 Apr 2014 13:22 #45679 by ArcEye
Replied by ArcEye on topic custom M code
www.linuxcnc.org/docs/html/gcode/m-code.html#sec:M100-to-M199

has full details.

What it does not seem to mention is that the file must be in the dir pointed to in your ini file by
PROGRAM_PREFIX=

regards
The following user(s) said Thank You: viski

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

More
11 Apr 2014 02:13 #45814 by viski
Replied by viski on topic custom M code
Thanks, it works!

Problem has been file in wrong directory.

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

Time to create page: 0.178 seconds
Powered by Kunena Forum