On 3 October 2013 13:22, Russell Brown <russ...@lls.lls.com> wrote:
> So.  Why are the absolute values in the INI different to the ones in the
> HAL file?  There's obviously some magic going on here :-)

The stepgen accel and velocity limits are limits on how fast the
stepgen will create pulses, and how fast it will allow the pulse rate
to change.
This can be very useful for controlling motors that are not connected
to an Axis, you can simply pass the stepgen a position number, and it
will move the motor to that position at the specified speed and
acceleration.
However, if the axis limits are exactly the same as the stepgen limits
then the stepgen has no "overhead" to work with, and trouble ensues.
So the stepgen limits on velocity and accel need to be a shade higher
than the axis limits.

it used to be that the stepgen limits could be set to zero and the
stepgen would simply do as it was told. I don't recall what changed
there, or why it changed.

It is perfectly OK to add things to the INI file and reference them in
your HAL file if you want to. It would be nicer if pncconf did this
for you for those parameters, though.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to