586,094 active members*
4,025 visitors online*
Register for free
Login
Results 1 to 20 of 20
  1. #1
    Join Date
    Jan 2014
    Posts
    57

    UCCNC lathe using quadrature indexing

    My lathe is presently set up on Mach3 turn, XP, LPT ports and single index pulse and I would like to try UCCNC software because I am not satisfied with the threading features of Mach3. Should I add a quadrature wheel to the spindle or some sort of spindle encoder? I'm planning to use a UC400ETH controller but I can't seem to find a good wiring diagram to help me setup the lathe. Any suggestion on the best indexing setup would be most appreciated. Bob

  2. #2
    Join Date
    Jun 2015
    Posts
    943

    Re: UCCNC lathe using quadrature indexing

    I think there is no wiring diagram because all inputs on the UC400ETH are identical and any of them can be configured to any input functions in the UCCNC.
    For threading you have to have an incremental encoder connected to the spindle and wired back to the UC400ETH inputs.
    From the config page it looks the encoder must have A, B and Index channels. And I'm assuming the index has to make one pulse per spindle rev.
    The encoder has to output 0/5V voltages if you connecting them directly to the UC400 input pins.

  3. #3
    Join Date
    Jan 2014
    Posts
    57

    Re: UCCNC lathe using quadrature indexing

    olfCNC, thanks, I see the pinouts now after downloading and installing UCCNC and checking out the configuration files. I guess I will have to fabricate a 100 slot encoder wheel to add two more optical sensors as I presently have a only and single slot index pulse that I was using for Mach3. Bob

  4. #4
    Join Date
    Jul 2003
    Posts
    1754

    Re: UCCNC lathe using quadrature indexing

    You could try linuxcnc with a single index pulse... Just to see if it threads well enough for you.. (then you would not have to change anything - it will work with the printer port)

    sam

  5. #5
    Join Date
    Jan 2014
    Posts
    57

    Re: UCCNC lathe using quadrature indexing

    Sam, thanks, I have used Linuxcnc a few years back but I thought that it required A, B & Indexes, I will give that a try again.

  6. #6
    Join Date
    Jun 2015
    Posts
    943

    Re: UCCNC lathe using quadrature indexing

    You don't just use an encoder. Why need to fabricate anything?
    Something like the AMT102 is cheap enough IMO: AMT102-V CUI Inc. | Sensors, Transducers | DigiKey

  7. #7
    Join Date
    Jun 2015
    Posts
    943

    Re: UCCNC lathe using quadrature indexing

    I think cutting threads with index pulse is not a very precise method. The OP probably has that as problem with Mach3. I mean what happens between 2 full turns? The system is blind with a sensor on just a single point.

  8. #8
    Join Date
    Oct 2005
    Posts
    1145

    Re: UCCNC lathe using quadrature indexing

    It must be an AB encoder. You can use your index if you wish or the encoder index. You can always import the mach3 XML into UCcnc but there cannot be that many set features on a lathe.

    Encoder threading works very well in UCcnc and very easy to set up (;-). There may also be a Mach3 Plugin soon that allows encoder threading in Mach3 (;-)

    (;-) TP

  9. #9
    Join Date
    Jul 2003
    Posts
    1754

    Re: UCCNC lathe using quadrature indexing

    I am not saying it is perfect - but it does work with linuxcnc. (single index threading). I just though instead of switching things over - he could give linuxcnc a try with his current setup...

    sam

  10. #10
    Join Date
    Jun 2015
    Posts
    943

    Re: UCCNC lathe using quadrature indexing

    In my opinion the issue he has with Mach is probably because of the single pulse index.
    I don't have a CNC lathe yet, but if I will I will sure select an encoder feedback over a single pulse feedback any time.

  11. #11
    Join Date
    May 2005
    Posts
    1662

    Re: UCCNC lathe using quadrature indexing

    Quote Originally Posted by OlfCNC View Post
    You don't just use an encoder. Why need to fabricate anything?
    Something like the AMT102 is cheap enough IMO: AMT102-V CUI Inc. | Sensors, Transducers | DigiKey
    It still requires fabricating something ? Some way to mount and drive it, probably a belt running 1:1 off the spindle.
    Unless there's an easier way I'm missing.
    Anyone who says "It only goes together one way" has no imagination.

  12. #12
    Join Date
    Jun 2015
    Posts
    943

    Re: UCCNC lathe using quadrature indexing

    It still requires fabricating something ? Some way to mount and drive it, probably a belt running 1:1 off the spindle.
    Unless there's an easier way I'm missing.
    I ment electronics

  13. #13
    Join Date
    Oct 2005
    Posts
    1145

    Re: UCCNC lathe using quadrature indexing

    We found out there ARE many Glitches and bugs in Mach3 turn threading code.

    (;-) TP

  14. #14
    Join Date
    Oct 2005
    Posts
    1145

    Re: UCCNC lathe using quadrature indexing

    You could build a new disk with 50 holes and position 2 optics in proper timing to create an AB signal. Then add a single hole separate from the 50 holes pattern for teh index. But encoder are simple to install in most applications.

    (;-) TP

  15. #15
    Join Date
    May 2005
    Posts
    1662

    Re: UCCNC lathe using quadrature indexing

    Quote Originally Posted by OlfCNC View Post
    I ment electronics
    my mistake.
    The AMT encoder could be a good idea as the number of pulses/rev can be changed.
    Anyone who says "It only goes together one way" has no imagination.

  16. #16
    Join Date
    Jul 2003
    Posts
    1754

    Re: UCCNC lathe using quadrature indexing

    Right - I have played around with linuxcnc's single index threading and it seems pretty good. (again - just to try to see if it solves your issues without having to re-wire/add encoder stuff) Just a thought


    Quote Originally Posted by vmax549 View Post
    We found out there ARE many Glitches and bugs in Mach3 turn threading code.

    (;-) TP

  17. #17
    Join Date
    Jun 2015
    Posts
    943

    Re: UCCNC lathe using quadrature indexing

    I don't think it is good for small lathes where spindle RPM can drop significantly on a single turn when the system is still blind about it.

  18. #18
    Join Date
    Jan 2014
    Posts
    57

    Re: UCCNC lathe using quadrature indexing

    Thanks. You guys convinced me that quadrature indexing, with UCCNC, is the way to go for precise threading. I my case, it's better for me to fabricate a another multi slot index wheel for A & B pulses than add sprockets and belts to the spindle to drive an off the shelve encoder. Any other suggestions are most appreciated. Bob

  19. #19
    Join Date
    Jun 2015
    Posts
    943

    Re: UCCNC lathe using quadrature indexing

    Quote Originally Posted by bpratl View Post
    Thanks. You guys convinced me that quadrature indexing, with UCCNC, is the way to go for precise threading. I my case, it's better for me to fabricate a another multi slot index wheel for A & B pulses than add sprockets and belts to the spindle to drive an off the shelve encoder. Any other suggestions are most appreciated. Bob
    Sounds like a good plan if it fits your spindle better than adding an encoder. It can be the case if there is tight space at the spindle.
    I would use a cut (laser cut or CNC milled) disk with some fabricated hub on the disk and opto-gate sensors like a Heds module or something like that.
    First I would select the sensor modules, check the datasheet to see what disk thickness fits in.
    And finally I would design the holder for it possibly a bit alignable to get the 90° shifted A/B signals.

    I would also edit a half turn cutout for the index on the same disk then all sensors could connect to the same disk next to eachother.

  20. #20
    Join Date
    Oct 2005
    Posts
    1145

    Re: UCCNC lathe using quadrature indexing

    You do NOT have to have a half disc slot for the index. The Controller is PLENTY fast enough to see the index hole. IF it can read the AB signal it can read the index signal. It is plenty fast enough to read an Encoder index mark.

    (;-) TP

Similar Threads

  1. Need G 33 thread example from UCCNC for Lathe
    By woffler in forum UCCNC Control Software
    Replies: 7
    Last Post: 05-22-2016, 08:36 PM
  2. Miyano lathe with turret indexing problem.
    By whallnut in forum Fanuc
    Replies: 2
    Last Post: 12-30-2014, 12:18 PM
  3. Takisawa lathe not indexing
    By crazycnc in forum Uncategorised MetalWorking Machines
    Replies: 0
    Last Post: 07-06-2012, 11:21 AM
  4. Lathe indexing?
    By RP Designs in forum Vertical Mill, Lathe Project Log
    Replies: 5
    Last Post: 04-11-2011, 10:59 AM
  5. Indexing Lathe on CAMaster CNC Router
    By Cut to the Bone in forum Camaster
    Replies: 3
    Last Post: 11-05-2009, 02:26 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •