[Emc-users] spindle tachometer strangeness

2012-05-26 Thread lloyd wilson
First, the Hurco is alive! I carved emc/axis into a piece of aluminum yesterday; thanks to all the participants for creating supporting emc/lcnc/linuxcnc/etc. Now to the next level - I'm using a hall sensor to detect spindle rpm; I get a clean low-going pulse each revolution, as expected.

Re: [Emc-users] spindle tachometer strangeness

2012-05-26 Thread andy pugh
On 26 May 2012 16:21, lloyd wilson llwilso...@rochester.rr.com wrote: The velocity output always reports as a negative number I don't know why it does that, but setting the encoder scale to a negative number will fix it. -- atp If you can't fix it, you don't own it.

Re: [Emc-users] spindle tachometer strangeness

2012-05-26 Thread sam sokolik
could you negate the scale of the encoder counter? sam On 05/26/2012 10:21 AM, lloyd wilson wrote: First, the Hurco is alive! I carved emc/axis into a piece of aluminum yesterday; thanks to all the participants for creating supporting emc/lcnc/linuxcnc/etc. Now to the next level - I'm

Re: [Emc-users] spindle tachometer strangeness

2012-05-26 Thread lloyd wilson
negativity should work, understanding would be more satisfying. -ldw On 05/26/2012 12:12 PM, sam sokolik wrote: could you negate the scale of the encoder counter? sam On 05/26/2012 10:21 AM, lloyd wilson wrote: First, the Hurco is alive! I carved emc/axis into a piece of aluminum

Re: [Emc-users] spindle tachometer strangeness

2012-05-26 Thread Viesturs Lācis
2012/5/26 lloyd wilson llwilso...@rochester.rr.com: Now to the next level - I'm using a hall sensor to detect spindle rpm; I get a clean low-going pulse each revolution, as expected. This is fed as input to the A channel of a hostmot2 encoder (running in counter mode). My apologies, if I am

Re: [Emc-users] spindle tachometer strangeness

2012-05-26 Thread Peter C. Wallace
: [Emc-users] spindle tachometer strangeness negativity should work, understanding would be more satisfying. -ldw The counter mode counts up or down depending on the state of the B encoder input at the FPGA (count up for high, down for low). You can verify the B encoder input state by reading

Re: [Emc-users] spindle tachometer strangeness

2012-05-26 Thread lloyd wilson
On 05/26/2012 12:52 PM, Peter C. Wallace wrote: snip 2. Some configurations do not have B inputs as they are just used for counting applications. In this case the counter will always count down (since unconnected inputs are terminated in a 0 state internally in the FPGA) Peter Wallace