Hello Guest it is April 24, 2024, 09:53:28 PM

Author Topic: M6 script editing issues  (Read 1316 times)

0 Members and 1 Guest are viewing this topic.

M6 script editing issues
« on: February 22, 2023, 10:17:50 AM »
working on editing M6 macro .
 file compiled normally
When trying to run it Mach4  will run but not the edited file but generic M6.
On debug screen I am getting error ( see pics)
It looks like Mach4 is reading macro from the different location then my Macro file .
 How do I re-direct mach4 to look into proper folder?

Re: M6 script editing issues
« Reply #1 on: February 23, 2023, 02:20:55 PM »
Hi,
when the Gcode interpreter gets a block of code it converts it all to lowercase, strips out leading zeros and any whitespace.

When Mach encounters:
M06 or
M 6

what it actually searches for is m6.
In most cases Windows is not case sensitive and therefore a search for m6 will return M6, but not always. Try renaming your macro to m6 not M6.

Next possibility is that there is a complied file somewhere; m6.mcc, That file will be returned even if you have a later m6.mcs. In the first instance go through your
Profile/Macros folder very closely deleting every m6 file you come across except the one m6.mcs you want to run. Now close Mach4 and restart so that the .mcs file
is complied and put into the screen script. Now try again.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'