Hello Guest it is April 23, 2024, 04:50:26 PM

Author Topic: SetParam("AccelerationX",)  (Read 2050 times)

0 Members and 1 Guest are viewing this topic.

SetParam("AccelerationX",)
« on: December 04, 2015, 12:50:07 PM »


I put a script on macropump to change the ACC X/Y  by speed, some like:
 

If Getoemdro(55) < 200 Then
call SetParam("AccelerationX",210)
call SetParam("AccelerationY",125)
else
call SetParam("AccelerationX",700)
call SetParam("AccelerationY",350)
End if


It works but, only change the acc if the reset button is pressed,  there is any command to force?












Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: SetParam("AccelerationX",)
« Reply #1 on: December 04, 2015, 03:14:33 PM »
I don't think Mach3 will let you change it UNLESS there is no motion in play OR nothing loaded into the motion QUE. IF it did it would corrupt any values in teh motion planner.  I do know that it will let you change it from a macro and NOT be in reset.

Now the question is WHY would you even want to do that ???

(;-) TP
Re: SetParam("AccelerationX",)
« Reply #2 on: December 05, 2015, 03:31:31 AM »

Thank you for your Replay,

My machine when working at low speed, and to do a small job, like a wheel rack, the axes are very raw and jerk, This does not happen if you are doing a job a little bigger.

If I increase de acc time, this much better and and the axis flows smoothly,  but this compromises the work at higher speeds, All axis are very slow because of acc.


So, the idea is increase the acc at low speed, and decrease high speed, like a dinamic adjustment.