On Fri, Mar 4, 2011 at 12:34 PM, Jon Elson <[email protected]> wrote:
> gene heskett wrote:
> > But, would it not come back on and move accordingly if the diff between
> > shutoff position (saved) and present requested position exceeded that
> > 1E-07?
> No, I think it would not. It is evaluating for motion every servo
> cycle. Now, you COULD extend the code
> a bit to record the position when it shut off, and keep comparing
> against that stored position. Then, in the case of
> insanely slow motion, it would come back on when the commanded position
> moved far enough to warrant it.
>
I actually did just that!
if( fabs( position_command_in - old_pos ) > 1E-7 ){
t = timeout;
old_pos = position_command_in;
} else {
t -= fperiod;
}
you see how I change old_pos only if a move of sufficient magnitude
occurs.
So I could move at 0.0001 IPM and it would actually work just fine, not that
I would ever want that.
i
>
> > I looked at the smallest knee mill Grizzly has, but keep going back to
> the
> > G0704 because of its larger table motion envelope. OTOH the head on that
> > re-labeled machine can be articulated too. But it also weighs a good
> half
> > ton, and the flooring in my shop is not up to that, its sagged about 2"
> in
> > the middle now, and was liberally blocked and leveled when I built it.
> > Damned yellow clay soil, its a supercooled liquid. Never stops flowing.
> >
> Always assume a job will come up that needs more travel!
>
>
> Jon
>
>
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users