On 14 July 2010 06:07, Don Stanley <dstanley1...@gmail.com> wrote:

> I still have a similar symptom, as follows:
>  -  motiom.spindle-speed-in and
>  -  signals-spindle-velocity
> are jumping around together (always in proper polarity) depending on spindle
> RPM (10 to 200). How often and how far they jump is a function of
> speed with no correlation to the speed; as if the signal processing was not
> synchronized with the input encoder signals.

Can you post a screenshot of a Halscope trace somewhere?

I think the first basic test should be to create a HalMeter looking at
encoder position, and make sure that one rotation of the spindle
increments it by exactly one, and two rotations by two. Then (very
importantly) that winding it back again to exactly the start position
takes it back to the start number.

> I appreciate any HELP, before all my hair is pulled out.

I have a lowpass filter (In HAL) between the spindle velocity and the
Pyvcp meter, but the motion pins are wired directly and it works fine
for threading. You will probably find that the noise in the velocity
signal is not especially important as long as it counts revolutions
accurately.

One change I would make to your HAL would be to link
motion,spindle-revs to encoder.0.position-interpolated as that gives a
smoother response during threading.

-- 
atp

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to