The motion module will only drive the index-enable signal true when
it NEEDs to reset the counter. For example, at the beginning of a
rigid tapping operation it will reset the counter once. Then it allows
the counter to count all of the revolutions of the spindle as the tap
enters and then retracts from the workpiece.
Likewise, if you are single-point threading on a lathe, it will set the
index-enable once per pass, at the start of the pass.
If you aren't doing tapping or threading, it probably won't set index-
enable at all.
On Fri, May 8, 2015, at 12:08 PM, Tom Easterday wrote:
> 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
--
John Kasunich
[email protected]
------------------------------------------------------------------------------
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