586,055 active members*
4,291 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2009
    Posts
    64

    Servo Encoder Count in Mach3

    I have Keling provided encoders, US Digital: E5-500-250-N-S-E-G-2, that say 500 CPS. Do I use 500 to calculate in Mach3, or 2000? The US Digital site says quadrature something or other 2000, so I don't know which to use.

  2. #2
    Join Date
    Dec 2004
    Posts
    1865
    Quote Originally Posted by thosj View Post
    I have Keling provided encoders, US Digital: E5-500-250-N-S-E-G-2, that say 500 CPS. Do I use 500 to calculate in Mach3, or 2000? The US Digital site says quadrature something or other 2000, so I don't know which to use.
    If they are 500 cpr then they are 2000ppr(500x4). You would set them up as 2000 steps/rev.

    Mike
    Warning: DIY CNC may cause extreme hair loss due to you pulling your hair out.

  3. #3
    Join Date
    May 2010
    Posts
    0
    Hi,

    i bought 4 500 ppr (pulse per revolution) rotary encoders. i will make a MPG one of them and the others for axises. But i don't know how can Mach3 read them to moving exact coordinate.( no more step loses ) Somebody said me "you need to write a brain or macro" Do you know any example of this code?

  4. #4
    Join Date
    Jul 2005
    Posts
    2415
    Quote Originally Posted by g-codebank View Post
    Hi,

    i bought 4 500 ppr (pulse per revolution) rotary encoders. i will make a MPG one of them and the others for axises. But i don't know how can Mach3 read them to moving exact coordinate.( no more step loses ) Somebody said me "you need to write a brain or macro" Do you know any example of this code?
    1. You cannot eliminate lost steps on steppers motors using an encoder feedback into MACH. At the very best you can e-stop the machine if the error between the read position and the DRO settings reaches a preset value. MACH will not do closed loop control. The method to read, compare and e-stop requires some custom programming. A 500 line encoder (2000 pulses per rev) would generate 20,000 pulses per second at 10 rev/sec. That would probably be too fast for reading through the typical parallel port inputs (high speed inputs) and out of the question for systems with non-realtime feedback (i.e USB or other serial solutions)

    2. Steppers lose steps because you push them past their torque/RPM curve. Since to correct position you normally have to add in more torque (power) the only way to add more torque on a stepper is to slow it down. If you slow down one stepper you have to slow all of them down by exactly the same amount or the coordinated position is compromised.

    The other issue is that you will need at least 8 inputs to read the 4 encoders and that means at least a second parallel port or more complex external hardware.


    You can use EMC2 to monitor encoders and do closed loop but the proper action for torque correction for steppers may still be an issue.

    By the time you add the encoders, the interface circuitry and software to accomplish true position control you may find just doing it with servo and servo drives might be easier.

    Properly designed stepper systems running within their rated torque-RPM window do not lose position. If you have a system that is losing steps the cause needs to addressed.

  5. #5
    Join Date
    May 2010
    Posts
    0
    Thanks for your answer Torchhead.

    i don't think to use EMC2 right now. But closed loop controlling is needed CNC applications. i am working metal working industry. we made a router with 7N steppers. it sometimes works 2 hours very well but at the end of the milling there is serious problem occur. i have changed handmade breakout board after these step loss and for problems at the end of the milling. i think the electricity couse these problems. Big welding machines working at the same electricity. i used an online UPS to filter electricity of the CNC but UPS's input damaged because of voltage of current noise at the electricity.

    Anyway, i understood that i can not build a CNC with closed loop controlled with MACH3 and incremental rotary encoders are not usable to use with MACH3 directly. Maybe only it can be used for making an MPG.

    You mean if i can correct the speed/torque than i will get step lossless milling.

Similar Threads

  1. MACH3 closed loop encoder interface
    By RomaxxCNC in forum News Announcements
    Replies: 1
    Last Post: 05-28-2010, 11:59 PM
  2. Bridgeport Series 1 R2E3 Encoder Count
    By krz2_2000 in forum CNC Machine Related Electronics
    Replies: 6
    Last Post: 05-20-2009, 02:24 PM
  3. 320 encoder count max ?
    By LUCKY13 in forum Gecko Drives
    Replies: 10
    Last Post: 04-04-2009, 11:11 AM
  4. Encoder Count
    By Billiam in forum Servo Motors / Drives
    Replies: 1
    Last Post: 03-16-2009, 03:20 PM
  5. has anyone built their own encoder system to work with step motors and mach3
    By cwiliam in forum CNC Machine Related Electronics
    Replies: 12
    Last Post: 04-17-2008, 02:41 PM

Posting Permissions

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