[Bdi4emc-help] configuring ini file

David Szakovits dszakovits at cfl.rr.com
Fri Dec 1 18:03:13 CET 2006


alex,

i asked almost the same question a couple weeks ago.  this is a copy of 
what paul sent me.  it was so useful that i am forwarding his 
instructions to you.   it is all the documentation i needed.  following 
this advice, my scale factors were off by a factor of 10, exactly.   so 
it was obvious and easy to remedy.

Using a config that is known to work as a starting point is probably best. 
The /usr/local/emc/mill_inch_freq.ini is as good a choice as any with the 
added advantage of being linked to a desktop icon. The first set of 
parameters that will need changing will be OUTPUT_SCALE and INPUT_SCALE to 
match the stepper motors & feedscrews. Assuming a 1:1 gearing, no step 
multipliers in the Gecko drives, and standard 200 steps/rev motors, the 
correct number would be: TPI * 200

Once the scales have been set, you can play around with the velocity and 
acceleration parameters - A general rule of thumb here is the max velocity 
can be found by taking 1/([EMCMOT]PERIOD * OUTPUT_SCALE) divide by five so 
that you don't trigger following errors at high speed..

Once you have found the maximum accelerations and velocities, turn them down 
to the lowest values that are acceptable - You are tuning for longevity not 
the fastest way to wear out a machine.


If you wish to sidestep tuning of PID parameters, change the EMCMOT driver 
from freqmod to quickstep.





alex wrote:

> Hi, folks!
> I was able to install latest BDI with great success!
> I have a 4 axis machine, a punch press.
> All axes are linear.
> How do I set up an ini file, were can i find a manual for this?
> Can I use a sherline inch EMC - it looks great!
> Alex
> _______________________________________________
> Bdi4emc-help mailing list
> Bdi4emc-help at lists.ourproject.org
> https://lists.ourproject.org/cgi-bin/mailman/listinfo/bdi4emc-help
>



More information about the Bdi4emc-help mailing list