Hello Guest it is July 05, 2020, 11:41:27 PM

Author Topic: scripter compile error  (Read 239 times)

0 Members and 1 Guest are viewing this topic.

Offline fast89

*
  •  142 142
    • View Profile
scripter compile error
« on: December 10, 2018, 05:08:05 PM »
I have a lathe with a tool changer. Been running for years. In past years, maybe once a year i would have a scripter compile error and it would fail to change tools and crash. The past 4 months i've had it happen at least 4 times. Twice i caught it and the other two....well it knocked the turret out of alignment. Restart mach and it will be fine. So my question is, why does this randomly happen? How can i make it stop executing code if an error occurs?

Offline TPS

*
  •  1,607 1,607
    • View Profile
Re: scripter compile error
« Reply #1 on: December 12, 2018, 01:57:26 AM »
one Thing what could help would be,

-open your toolchange macro with VBScript Editor
-use the File -> save As and select by filetype -> compiled  code (*.mcc)
-then backup your original M1S file and delete it from macro Folder so that only the mcc Version is left


i did this with my M3 M4 M5 macros when i had this scripper Compiler error, and it never showed up again
anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.