587,006 active members*
3,161 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > LinuxCNC (formerly EMC2) > EMC2 mesa 5i22 with linear encoder, Does it work?
Page 1 of 2 12
Results 1 to 20 of 21
  1. #1
    Join Date
    Apr 2009
    Posts
    95

    EMC2 mesa 5i22 with linear encoder, Does it work?

    For all that know and are willing to help,

    I don't see much information on the Mesa 5i20-5i22 setup with emc2. This is one of the options I am looking at for a retrofit on my bridgeport mill. I will be replacing a heidenhain tnc 135. I have linear scales on XY and Z axis. I believe that I have stepper motors on all tree axises as well. I am not sure about encoders as the control is limited in it's capablities.

    Is the code/hardware implementation of this ready for prime time?

    Am I able to use my linear encoders to improve precision?

    Will I need to add rotary encoders to the motors if I do not have them?

    Where do I find more information on this setup (googled alot not much detail out there)?





    Thanks to all who know and answer......

    Jim

  2. #2
    Join Date
    Feb 2008
    Posts
    644

    Quote Originally Posted by jbcj View Post
    For all that know and are willing to help,

    I don't see much information on the Mesa 5i20-5i22 setup with emc2. This is one of the options I am looking at for a retrofit on my bridgeport mill. I will be replacing a heidenhain tnc 135. I have linear scales on XY and Z axis. I believe that I have stepper motors on all tree axises as well. I am not sure about encoders as the control is limited in it's capablities.

    Is the code/hardware implementation of this ready for prime time?

    Am I able to use my linear encoders to improve precision?

    Will I need to add rotary encoders to the motors if I do not have them?

    Where do I find more information on this setup (googled alot not much detail out there)?





    Thanks to all who know and answer......

    Jim
    For either the 5I20 or 5I22 you would use the HostMot2 configuration.

    The HostMot 2 hardware stepgen configuration is basically "beta" now. Some people are using it with success, but its likely that a few bugs remain.

    Using encoders (linear or otherwise) with steppers to improve accuracy is possible but right on the bleeding edge and quite involved. (using the step motor as a velocity mode servo is probably the best approach) In other words: not for the faint-at-heart

  3. #3
    Join Date
    Nov 2005
    Posts
    496
    There has been a driver for 5i20 for a long time. It is mainly useful for servo systems.
    The newer hostmot2 driver works for many of mesa's cards and has multiple firmware options each. Primetime ? - It is still being tweaked but is functional. It works for servos and / or steppers. There are example configurations included with EMC2.
    If your motors are steppers you don't need to add rotary encoders to them.
    Using the linear encoders (with steppers) will not give you any more precision as EMC (and most cnc controls IFAIK) do not close the loop with steppers.
    The wiki is a good place to start:
    http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl
    The online manual is there.
    EMC hosted trial forum:
    http://www.linuxcnc.org/component/option,com_kunena/
    There is a mail list and irc as well.

  4. #4
    Join Date
    Apr 2005
    Posts
    1778
    Jim,

    Unless you really want to be on the bleeding edge as Peter mentioned, Chester is correct that the linear encoders will not improve your accuracy if you are using steppers. Your accuracy with steppers is basically determined by the steps per rotation of your steppers (usually 200) and your gearing (screw pitch plus motor to screw gearing or direct drive). From what I have read you can't rely on microstepping to really increase your resolution, it is really just to smooth out the rotation at slow speeds.

    I would suggest going for the simple approach to get running, then later when things are farther along you can explore other alternatives. Initially then your linear encoders will just serve to provide additional fault protection if the steppers loose steps. Using the Mesa hardware will provide a lot of flexibility without having to change as much hardware in the future.

    Alan

  5. #5
    Join Date
    Oct 2005
    Posts
    1237
    Those are the most Servo looking steppers I have ever seen. Yes, you can use linear scales and has been done before. You could run into dithering problems if the ball, screws have a lot of lash. If the table is off a little, the drives will correct, then overshoot a little, correct again and again causing a sort of buzzing whine when at a stand still. I have linear scales on my Crusader M and it whines a bit. I think Al suggests that enoders are the best way to go, but some have used the scales with success. Do a search for Crusader M retrofits and there is a guy that did it with his with good results. If you turned those servos into steppers, it'd be bleeding edge indeed

  6. #6
    Join Date
    Nov 2005
    Posts
    496
    If they are servos, For EMC the best route is to add encoders to the servo motor or ball screws. You can still use the linear encoders to help with accuracy. Here is a small general write up:
    http://jmkasunich.com/cgi-bin/blosxo...-02-20-08.html
    With a heidenhain control there may already be encoders on the motor. What is wrong with the original control just as a matter of interest?

  7. #7
    Join Date
    Jul 2003
    Posts
    1754
    Can you take a picture of the motors? I would have to agree that the look like servos. I would be a bit odd to have scales and steppers. (not that it hasn't been done)

    sam

  8. #8
    Join Date
    Apr 2009
    Posts
    95
    Thanks All,

    As far as the existing controller it only does straight line milling. IE moves 1 axis at a time thru a single drive . From my understanding Heidenhain uses the linear scales to create a matrix of the table if you will. This allows them to do a lookup to see how many steps or ticks on the counter are needed to go from X1 to X2(simple but effective). I think they also use them for other things as well.

    It is suposed to have ball screws and low usage.....

    I will have more concrete info when it arrives on the truck Monday/Tuesday.

    I will take more detailed pictures and have a look at the electronics.

    Jim

  9. #9
    Join Date
    Nov 2005
    Posts
    496
    Do you know the full model number or the serial number I was looking up the docs for it on heidenhain website.

  10. #10
    Join Date
    Apr 2009
    Posts
    95
    All that I have for now is Heidenhain TNC135.

    Jim

  11. #11
    Join Date
    Nov 2005
    Posts
    496
    After reading a couple of manuals, I am pretty confident they are servos.
    I have read a fair amount about heidenhain over last few years and have never come across anything about stepper controls. I wasn't sure about much older stuff like the TNC 135. The operating instruction doesn't say servos directly put talks about closed loop positioning which is almost exclusively servo.
    do a search for 'tnc%135%' at this web site:
    http://hesispub.heidenhain.de/hesis/hesis
    if you are interested.
    I downloaded the operating instructions: 214275

  12. #12
    Join Date
    Apr 2009
    Posts
    95
    Thanks for the link,

    The manuals are dry but browseable.......
    Based on what I read it looks like I will need drives as I most likly have only one.
    Any sugestions?
    Jim

  13. #13
    Join Date
    Apr 2009
    Posts
    95
    Called the shipper today. Driver said he was in Boise this morning. So with luck it shouod be deliverd to portland on Tuesday..........bThen the real fun starts.....

    Jim

  14. #14
    Join Date
    Apr 2009
    Posts
    95
    My mill arrived today. The servo motors are Powertron controls servo Model 402CNSP0919. The linear scales for the spindle is a Heidenhain LS903.

    What a great day!!!!!!!!

    Here are some pictures of the equipment:






    Jim

  15. #15
    Join Date
    Apr 2005
    Posts
    1778
    That seems to answer the question, steppers or servos, doesn't it?

    Alan

  16. #16
    Join Date
    Apr 2009
    Posts
    95
    Allen,

    That it does...
    So your in wooburn.

    My machine is in Cornelius at the moment.
    It will be moving to Portland tomorrow evening.

    You have a nice site, Your foundry interests me.

    Jm

  17. #17
    Join Date
    Jul 2003
    Posts
    1754
    one of the emc2 developers had this to say. (he has a bridgeport with nc400 drives that he hopes to convert to emc soon)

    cradek- skunkworks: yes, looks familiar
    cradek- they are velocity mode. I'm sure if
    cradek- we'd see a better picture of the motor we'd see a tach
    cradek- velocity mode + scales might just work as-is if tuned carefully
    cradek- you can see the screw terminals for the servo amp hookups. that's where to stick the mesa hardware... easy as pie.

    His comment about velocity mode amps and scales has to do with backlash. It is very hard to tune out (unless you get fancy) if there is backlash in the system with current mode amps. (just using scales as feedback to emc) But you have velocity mode amps that makes the whole system a bit more stable. (tach back to the drives) Atleast that is what we assume you have.

  18. #18
    Join Date
    Apr 2009
    Posts
    95
    Here are updated pictures of the motors and the servo boards.

    Jim









  19. #19
    Join Date
    Apr 2009
    Posts
    95
    to all,

    OK the next question is interfaceing a TECO FM 50 3 phase converter into the MESA system. can you use the +-10 volt output of the 7i33 card.

    Jim

  20. #20
    Join Date
    Mar 2004
    Posts
    1661
    Send an e-mail to Mesa, according to the EMC2 mailinglist they are very informative and helpful.

Page 1 of 2 12

Similar Threads

  1. EMC2+mesa 5i20+automatic tool changer
    By visky in forum LinuxCNC (formerly EMC2)
    Replies: 6
    Last Post: 06-12-2010, 09:01 PM
  2. EMC2 and a rotary encoder
    By supahonkey in forum LinuxCNC (formerly EMC2)
    Replies: 19
    Last Post: 12-02-2008, 06:35 AM
  3. Spindle Encoder to Mesa 5i20
    By RogerN in forum LinuxCNC (formerly EMC2)
    Replies: 3
    Last Post: 10-17-2008, 01:55 PM
  4. EMC2 - Pluto P (or Mesa 5120) - HBridge - DC Brush Servo
    By DNB in forum LinuxCNC (formerly EMC2)
    Replies: 20
    Last Post: 11-08-2007, 08:53 AM
  5. Emc2 with encoder feedback
    By R.thayer in forum LinuxCNC (formerly EMC2)
    Replies: 5
    Last Post: 01-27-2007, 04:26 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
  •