Hello Guest it is March 29, 2024, 10:44:12 AM

Author Topic: Scripter Compile Error bites again :(  (Read 15395 times)

0 Members and 1 Guest are viewing this topic.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Scripter Compile Error bites again :(
« Reply #20 on: March 12, 2018, 04:45:28 PM »
But there is no "problem line" - the code has been running perfectly for some time now, this is a totally random bug.

Offline rcaffin

*
  •  1,052 1,052
    • View Profile
Re: Scripter Compile Error bites again :(
« Reply #21 on: March 12, 2018, 04:54:42 PM »
Sigh. I Know.
It sometimes seems that those macros can get corrupted. Dunno how. Does Mach3 rewrite them? Dunno.

I would reboot the PC, restart Mach3, and then explore the M6End macro with the VB Script Editor. Costs nothing to do this, and might be productive.

Cheers
Roger

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Scripter Compile Error bites again :(
« Reply #22 on: March 12, 2018, 05:06:08 PM »
It seems saving them as .mcc is a fix but it only passes the failure on to the next .m1s macro.

I now have M3, M6start, M6end as .mcc versions, I think I will do M5 etc just in case it faults when it should be stopping the spindle....

Next time it fails I will try stepping through whatever one it fails on.

Offline rcaffin

*
  •  1,052 1,052
    • View Profile
Re: Scripter Compile Error bites again :(
« Reply #23 on: March 12, 2018, 06:20:59 PM »
Quote
It seems saving them as .mcc is a fix but it only passes the failure on to the next .m1s macro.
Really???
That does NOT sound like a macro problem to me. That sounds like a bug in Mach3 or possibly in the XML file.
Since Mach3 normally runs OK, I would think about the XML file. We do know it can get corrupted.

Yes, I have seen that error msg a few times, but I think it was usually due to a bug in a new macro I was developing. I was normally able to get rid of it by tidying up the macro code.

Cheers
Roger

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Scripter Compile Error bites again :(
« Reply #24 on: March 12, 2018, 08:50:36 PM »
From what I've read over the years, it seems that some people run into this all the time, and most never see it.
Of course, that doesn't help at all.

One thing about version 3.043.022 mentioned earlier. It has a serious bug that can cause Mach3 to hang on M6's, depending on the contents of the M6Start macro.
While testing when I first found it, I could get it to freeze when the M6Start had just one line of code. It definitely doesn't work with the M6Start in the 2010 Screenset.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline rcaffin

*
  •  1,052 1,052
    • View Profile
Re: Scripter Compile Error bites again :(
« Reply #25 on: March 12, 2018, 09:18:58 PM »
Um. That kills .022 for me!

Cheers
Roger

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Scripter Compile Error bites again :(
« Reply #26 on: March 13, 2018, 03:20:03 AM »
From what I've read over the years, it seems that some people run into this all the time, and most never see it.
Of course, that doesn't help at all.

One thing about version 3.043.022 mentioned earlier. It has a serious bug that can cause Mach3 to hang on M6's, depending on the contents of the M6Start macro.
While testing when I first found it, I could get it to freeze when the M6Start had just one line of code. It definitely doesn't work with the M6Start in the 2010 Screenset.

And that there stops any thoughts of using 022 for me too - I have a fair bit in M6 and I use the 2010 screen set.

There is nothing worse than a random bug, there is no pattern to it, most of the time it will run all day then others it will fail after a few hours and others like yesterday it will fail upon first run.

I'm very limited in what software I can run due to using a CS-Labs controller.

Offline rcaffin

*
  •  1,052 1,052
    • View Profile
Re: Scripter Compile Error bites again :(
« Reply #27 on: March 13, 2018, 04:37:24 AM »
At what stage does the CS-Labs controller become a serious limit to what you can do?

Cheers
Roger

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Scripter Compile Error bites again :(
« Reply #28 on: March 13, 2018, 05:55:58 AM »
Limited support for software - you can't use stuff like UCCNC on etc

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Scripter Compile Error bites again :(
« Reply #29 on: March 13, 2018, 06:59:03 AM »
What about CS Labs new software?
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html