Hello Guest it is April 17, 2024, 09:31:03 PM

Author Topic: How to set encoder£¿  (Read 5722 times)

0 Members and 1 Guest are viewing this topic.

How to set encoder£¿
« on: July 29, 2008, 08:07:23 AM »
I use the 1024 resolution of the encoder,
How to associate it with the spindle£¿
Thanks£¡£¡

Edison
Edison

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: How to set encoder£¿
« Reply #1 on: July 29, 2008, 08:37:41 AM »
What are you wanting to use the encoder for? If its a servo motor you have on the spindle then the encoder will go to the servo drive. If it is that you want to hook the encoder into Mach to use for spindle control then I don't think that is possible at this point in time.
 The SmoothStepper will have encoder input for spindle in the future but how controlable it will be I don't know yet. I think (hope) that rigid tapping will be possible in the future with the SmoorthStepper.

Hood
Re: How to set encoder£¿
« Reply #2 on: July 29, 2008, 11:06:45 AM »
Oh£¬my god!
I used  Brushless motor Driven the spindle, I would like to do with encoder feedback£¬
I want use the "G32" to  Turning thread¡£
Who can help me?

Which signal should be connected parallel port  when I want to drive spindle ?
Now I conntected signal as follows:
X Asix £º     2    4
Z Axis £º     6    8
Spindle:      14   5
Encoder1:   13  15

Thanks!
Edison
Edison

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: How to set encoder£¿
« Reply #3 on: July 29, 2008, 11:17:48 AM »
OK so this is a lathe, you can do threading on a lathe no problem.
You will however have to have a once per revolution pulse. The index pulse on your encoder is no use for this as the duration is too short for the parallel port to see reliably (if at all)
 Most people use an optical switch and a slotted disc on the spindle, the one I use is Optek 917b.

Hood
« Last Edit: July 31, 2008, 02:38:19 PM by Hood »
Re: How to set encoder£¿
« Reply #4 on: July 31, 2008, 02:32:05 PM »
Most people use an optical switch and a slotted disc on the spindle, the one I use is Optek 917b.

Hood

How to establish inside mach3£¿£¿

Edison
Edison

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: How to set encoder£¿
« Reply #5 on: July 31, 2008, 02:37:02 PM »
Go to Config tab the down to ports and Pins, go to Inputs and enter the port and pin numbers for the Index.

Hood
Re: How to set encoder£¿
« Reply #6 on: July 31, 2008, 02:41:15 PM »
Thanks for your help!!

Edison
Edison
Re: How to set encoder£¿
« Reply #7 on: July 31, 2008, 03:02:26 PM »
Can the part filtration£¿
My encoder Does not need to filter ¡£
Has the somebody to be possible to provide the opinion ?

Edison
Edison

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: How to set encoder£¿
« Reply #8 on: July 31, 2008, 03:08:59 PM »
You will not be able to use the Index pulse of the encoder for spindle Index, it is too short a duration for Mach to see with the parallel port. If you have used an optcal switch and a slotted disc then you may need to set a debounce if you have not used shielded cable.
Hood
Re: How to set encoder£¿
« Reply #9 on: July 31, 2008, 03:11:26 PM »
I see,thanks!

Edison
Edison