Hello Guest it is March 28, 2024, 03:22:38 PM

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

0 Members and 1 Guest are viewing this topic.

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Scripter Compile Error bites again :(
« Reply #80 on: March 24, 2018, 09:44:05 AM »
Hi Dave,

i have taken to original exaple form CS Lab

%
G18 G21 G40 G50 G80  G90
G0 X0
Z0
M84 P2 Q-30 S50 R100
G0 Z5
X10
M5
M30
%

if i try to run this it get stuck at M84 line.

M84 will only start with a M3 before.

BTW how are your setting's in spindle Setup.

Thank You

i have tryed
M84 Q-30 P2 S50 R100 as well no difference.
« Last Edit: March 24, 2018, 09:46:12 AM by TPS »
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 bites again :(
« Reply #81 on: March 24, 2018, 11:04:28 AM »
Ok, did you copy the new M84.m1s macro to your macros folder - it will not work without this.

Next, the parameters must be in the right order.

P = Pitch
Q = thread depth
R = speed feed
S =  speed retract

Next, I am not using feedback, in spindle I am only using "use spindle feedback in sync modes" - i found closed loop/PID not to work very well.


Dave

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Scripter Compile Error bites again :(
« Reply #82 on: March 24, 2018, 11:58:58 AM »
ok Problem found.

M84 uses the Outputs for spindle controll witch are configured directly.
i am using them only virtualy and do the control in M3/M4/M5.

thank you
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 bites again :(
« Reply #83 on: March 24, 2018, 01:17:06 PM »
Glad you sorted it.

My mill has been running a fair bit today, still no sign of the scripter compile error :)

Offline rcaffin

*
  •  1,052 1,052
    • View Profile
Re: Scripter Compile Error bites again :(
« Reply #84 on: March 24, 2018, 05:02:42 PM »
To the best of my knowledge, PID control only works when you are using the PP directly. It does not work with any external motion controller (ie it is not implemented).

Cheers
Roger

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Scripter Compile Error bites again :(
« Reply #85 on: March 24, 2018, 05:50:11 PM »
That explains it :)

It sort of worked but was very poor in response.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Scripter Compile Error bites again :(
« Reply #86 on: March 25, 2018, 07:04:21 AM »
Another 3-1/2 hours of running and no scripter compile errors :)

Confidence is rising.......

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Scripter Compile Error bites again :(
« Reply #87 on: March 30, 2018, 12:09:20 PM »
Still working ok, I think I can safely recommend anyone that is suffering the random compile error to save all their macros as .mcc ones.
Re: Scripter Compile Error bites again :(
« Reply #88 on: June 10, 2022, 08:23:20 AM »
Hi All,

sorry to "revive" an old thread!

I am getting the "scripter compile error" message appear.  I am trying to use the "save m1s file as mcc" fix, but when I select "save file as .mcc" from the Vb editor in Mach3 it doesn't seem to do anything.  I can see no files with the extension .mcc in the folder - all it seems to have done is re-save the original file.

Am I doing something wrong, or does the Mach3 Vb editor no longer save this file type?  I'm using Mach3 R3.043.062.

Many thanks for any help you can give,
Mike.