Thanks Andy;
The setp mode 1 stopped the negative jumps.
I also went with 4x mode. I went with the A phase only thinking it may
reduce
process overhead and allow higher spindle speeds. The more I thought the
less
I believed it.

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.

The  .hal configuration is as follows:
addf encoder.update-counters    base-thread
addf encoder.capture-position   servo-thread

setp encoder.0.position-scale 200
#setp encoder.0.x4-mode 1  (Is Defaulted true)
net spindle-index-enable encoder.0.index-enable <=>
motion.spindle-index-enable
net spindle-phase-b      motenc.0.in-05-not => encoder.0.phase-B
net spindle-phase-a      motenc.0.in-06-not => encoder.0.phase-A
net spindle-index        motenc.0.in-07-not => encoder.0.phase-Z
net spindle-position     encoder.0.position => motion.spindle-revs
net spindle-velocity     encoder.0.velocity => motion.spindle-speed-in

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


On Sat, Jul 10, 2010 at 3:25 PM, Andy Pugh <a...@andypugh.fsnet.co.uk>wrote:

> On 10 July 2010 19:43, Don Stanley <dstanley1...@gmail.com> wrote:
>
> > Can anyone see the problem; or have a solution?
>
> Try
> setp encoder.0.counter-mode 1
>
> A then not A then A with no B looks like an oscillating spindle, you
> need to tell it to not even look at B.
> (Incidentally, if you can afford a pin then having B might be useful,
> you get 4x the resolution)
>
> --
> 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
>
------------------------------------------------------------------------------
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