Hello Guest it is October 18, 2019, 12:27:52 AM

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

0 Members and 1 Guest are viewing this topic.

Offline TPS

*
  •  1,389 1,389
    • 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 it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,578 2,578
    • View Profile
    • DD Metal Products Ltd
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
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline TPS

*
  •  1,389 1,389
    • 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 it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,578 2,578
    • View Profile
    • DD Metal Products Ltd
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 :)
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline rcaffin

*
  •  1,003 1,003
    • 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,578 2,578
    • View Profile
    • DD Metal Products Ltd
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.
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline Davek0974

*
  •  2,578 2,578
    • View Profile
    • DD Metal Products Ltd
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.......
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline Davek0974

*
  •  2,578 2,578
    • View Profile
    • DD Metal Products Ltd
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.
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives