Question regarding spindle encoder operation in Linuxcnc…

I have a simple 150ppr disk with an index on the spindle.  This is fed into a 
mesa 7i85s encoder connection.  When I rotate the spindle by hand I see the 150 
count and the index pulse in the Hal Configuration Watch window.  It is my 
understanding that when index-enable is set to true, the count should be set to 
zero.  In fact, if I force the command ("sets motion.spindle-index-enable 
True”) it does indeed reset the count.  But during operation this isn’t 
happening, I never see hm2_5i25.0.encoder.00.index-enable go true.  Am I 
overlooking something in the config?


# ---Encoder feedback signals/setup---

setp    hm2_5i25.0.encoder.00.counter-mode 1
#setp    hm2_5i25.0.encoder.00.filter 1
setp    hm2_5i25.0.encoder.00.index-invert 0
setp    hm2_5i25.0.encoder.00.index-mask 0
setp    hm2_5i25.0.encoder.00.index-mask-invert 0
setp    hm2_5i25.0.encoder.00.scale  [SPINDLE_9]ENCODER_SCALE

net spindle-revs               <=   hm2_5i25.0.encoder.00.position =>  
motion.spindle-revs
net spindle-vel-fb-rps       <=   hm2_5i25.0.encoder.00.velocity =>  
motion.spindle-speed-in
net spindle-index-enable  <=>  hm2_5i25.0.encoder.00.index-enable <=>  
motion.spindle-index-enable
net spindle-index              <=   hm2_5i25.0.encoder.00.input-index


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to