Hello Guest it is March 28, 2024, 08:06:51 AM

Author Topic: Scripter Compile Error  (Read 7328 times)

0 Members and 1 Guest are viewing this topic.

Scripter Compile Error
« on: March 21, 2017, 10:09:18 AM »
I have this message "Scripter Compile Error, In:M3.M1S".  Could you expane what it means in English.
Jay

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Scripter Compile Error
« Reply #1 on: March 21, 2017, 11:35:01 AM »
Hi Jay,

In your Mach3 / macros / Mach3Mill folder is the file M3.m1s

The contents of that file is usually   DoSpinCW()

If the contents of that file have been changed and the syntax is incorrect then Mach3 will report the "Scripter Compile Error, In:M3.m1s" when M3 is called in your Gcode or MDI instruction.

Tweakie.
 
PEACE
Re: Scripter Compile Error
« Reply #2 on: March 21, 2017, 03:39:42 PM »
What program will open the m3.m1s file?
Jay

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Scripter Compile Error
« Reply #3 on: March 22, 2017, 02:34:02 AM »
Hi Jay,

It's a text file so you can open it in notepad.

Correction to my earlier post as you may be using a profile other than Mach3Mill...

Bottom right of the main screen is your Profile: the M3.m1s file you need to look at is in the  Mach3 / macros / <your profile> folder.

Tweakie.
PEACE
Re: Scripter Compile Error
« Reply #4 on: March 22, 2017, 08:53:14 AM »
For some reason the file had "DoSpinCW()00000".  I removed to "00000" and we will see what happens next time.
Thank You
Jay

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Scripter Compile Error
« Reply #5 on: January 14, 2018, 11:10:25 AM »
This is also a bug in some flavours of Mach3, 062 seems pretty good.
Re: Scripter Compile Error
« Reply #6 on: November 04, 2020, 03:09:18 PM »
Hi does anyone know what causes this issue? It happens from time to time on my setup - I actually checked m3.m1s, m4.m1s and m5.m1s, they all had extra characters after the command. They appear as a rectangle since they can't be displayed in notepad I imagine.

I'm running R3-043-062

It's frustrating since it's caused me a couple of workpiece crashes. I know how to fix it, but do we know what causes it? It seems odd that the software would rewrite these files.

Thanks

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Scripter Compile Error
« Reply #7 on: November 05, 2020, 01:14:13 AM »
i do not what causes the issue, but i did the following:

-Operator -> VB Script Editor
-Open your M3.M1s
-use Save as and select Compiled Code (*.mcc)

-do this for M4 M5 as well
-then move the original *.M1s files to an other Folder to have them as a backup
-test
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Scripter Compile Error
« Reply #8 on: November 05, 2020, 01:18:05 AM »
i do not what causes the issue, but i did the following:

-Operator -> VB Script Editor
-Open your M3.M1s
-use Save as and select Compiled Code (*.mcc)

-do this for M4 M5 as well
-then move the original *.M1s files to an other Folder to have them as a backup
-test

This does seem to work, i did not get the error after compiling those macros. ;)
Re: Scripter Compile Error
« Reply #9 on: November 05, 2020, 04:54:19 AM »
Thanks for the responses! Just to make sure I have understood correctly, I can replace the .m1s text files with compiled files (so with .mcc file extension). These can can be used (read) by the software and also be less susceptible to becoming corrupted?