Hello Guest it is May 22, 2019, 10:00:49 PM

Author Topic: spindle speed encoder conection  (Read 2372 times)

0 Members and 1 Guest are viewing this topic.

spindle speed encoder conection
« on: December 14, 2007, 10:28:35 PM »
I have been having a time trying to get my spindle up to speed with the cncpc c6 board. I can get the spindle to start but can't get it up to speed.
tried the spindle tuning and it takes off full throttle and won't turn off. I click the spindle off and it goes full out and when I click it again it slows down(the on state)click the down rate and shuts off. so I thought if I put an encoder on the motor I could have control. Question is how do I tell mach3 where to look , I connected encoder outputs A to pin12 and B to pin 11.

Offline Hood

*
  •  25,811 25,811
  • Carnoustie, Scotland
    • View Profile
Re: spindle speed encoder conection
« Reply #1 on: December 15, 2007, 04:47:00 AM »
You  cant use an encoder on the spindle, what you need is  a single pulse for the spindle speed. The Index pulse from a normal encoder is too short so the best idea is to get an optical switch and have a slotted disc (1 slot) then put the single input as the Index.
Hood
Re: spindle speed encoder conection
« Reply #2 on: December 15, 2007, 08:24:03 AM »
Hood,
 Thanks for the reply. I was sort of expecting that but I just wanted to be sure I wasn't missing something somewhere.

Thanks
Tom

Offline jimpinder

*
  •  1,233 1,233
  • Wakefield, West Yorks, UK
    • View Profile
Re: spindle speed encoder conection
« Reply #3 on: December 15, 2007, 02:41:14 PM »
You can do it even more simply.  If you scan the posts it came up a short while ago. I bought an optical transmitter and receiver all in one - they are set at a V angle. You shine it on the spindle (mine is on the chuck). As a reflector I "borrowed" a small shiny stick on from my grand-daughter. I painted the rest of the track matt black.

This is wired directly to the +5v and 0v for power - and one wire into the "index" input on the computer - no need even for the slotted disc.
Not me driving the engine - I'm better looking.