PathPilot on NM200 - Page 8

Page 8 of 9 FirstFirst ... 56789 LastLast
Results 85 to 96 of 104

Thread: PathPilot on NM200

  1. #85
    Registered
    Join Date
    Dec 2009
    Location
    USA
    Posts
    524
    Downloads
    0
    Uploads
    0

    Default Re: PathPilot on NM200

    More experimenting while waiting for the hurricane to arrive.

    First effort was to feed the user-specified speed directly to the stepgen input rather than having it pass through the tormachspindle internal scaling since I don't have a 2-speed spindle. Thus:

    net spindle-speed motion.spindle-speed-out tormachspindle.speed-in
    net spindle-speed hm2_5i25.0.stepgen.04.velocity-cmd


    Then after a multitude of trying different stepgen parameters I came up with these:

    setp hm2_5i25.0.stepgen.04.position-scale 3.125
    setp hm2_5i25.0.stepgen.04.maxvel 4000
    setp hm2_5i25.0.stepgen.04.steplen 2000


    This yielded a range of speeds "pretty close" to the commanded values. It's unclear to me why the steplen matters since at 25KHz the wavelength is 40,000 nanoseconds.

    In any case, the position-scale * maxvel yields a 12.5KHz rate vs. 25KHz, leading me to suspect that the CR11 manual might be in error. OTOH, the VFD settings might command 4000 rpm at 5V.

    It was interesting to observe that PP allows you to command a speed lower than the configured minimum, although it does give a message on the Status page.

    *** Edit ***

    Since the above parameters give a full range of speeds I decided to leave them as is and try to straighten out the response curve with lincurve. I coded up a 8 position curve at 300 RPM intervals and loaded the HAL, but got an error than lincurve.ko is missing. Did a bit of hunting and found a post by Brian in another thread where is attached the file as lincurve.ko.txt. Downloaded it so I'm ready for more testing next time in the shop.

    Last edited by kvom; 09-11-2017 at 04:08 PM.


  2. #86
    Registered
    Join Date
    Mar 2009
    Location
    USA
    Posts
    282
    Downloads
    0
    Uploads
    0

    Default Re: PathPilot on NM200

    Quote Originally Posted by kvom View Post
    More experimenting while waiting for the hurricane to arrive.

    First effort was to feed the user-specified speed directly to the stepgen input rather than having it pass through the tormachspindle internal scaling since I don't have a 2-speed spindle. Thus:

    net spindle-speed motion.spindle-speed-out tormachspindle.speed-in
    net spindle-speed hm2_5i25.0.stepgen.04.velocity-cmd


    Then after a multitude of trying different stepgen parameters I came up with these:

    setp hm2_5i25.0.stepgen.04.position-scale 3.125
    setp hm2_5i25.0.stepgen.04.maxvel 4000
    setp hm2_5i25.0.stepgen.04.steplen 2000


    This yielded a range of speeds "pretty close" to the commanded values. It's unclear to me why the steplen matters since at 25KHz the wavelength is 40,000 nanoseconds.

    In any case, the position-scale * maxvel yields a 12.5KHz rate vs. 25KHz, leading me to suspect that the CR11 manual might be in error. OTOH, the VFD settings might command 4000 rpm at 5V.

    It was interesting to observe that PP allows you to command a speed lower than the configured minimum, although it does give a message on the Status page.

    *** Edit ***

    Since the above parameters give a full range of speeds I decided to leave them as is and try to straighten out the response curve with lincurve. I coded up a 8 position curve at 300 RPM intervals and loaded the HAL, but got an error than lincurve.ko is missing. Did a bit of hunting and found a post by Brian in another thread where is attached the file as lincurve.ko.txt. Downloaded it so I'm ready for more testing next time in the shop.

    Yay! Progress. Grats.

    Scott...

    Instructional Videos for CNC Guitar Building
    http://www.rmgvideos.com


  3. #87
    Registered
    Join Date
    Aug 2007
    Location
    usa
    Posts
    639
    Downloads
    0
    Uploads
    0

    Default Re: PathPilot on NM200

    Yeah it was interesting that PP didn't include that lincurve.ko module that is native to linuxcnc. Fortunately it's easy to put back. I wouldve thought Tormach would use that to even out the spindle speed.

    Anyways, glad to hear you are making progress!



  4. #88
    Registered
    Join Date
    Dec 2009
    Location
    USA
    Posts
    524
    Downloads
    0
    Uploads
    0

    Default Re: PathPilot on NM200

    If Tormach uses a PWM on the BoB plus digital vs analog control of the VFD, perhaps their speeds are linear.

    There is something wrong with linuxcnc forum as it never sends the signup confirmation email. So it's impossible to report an error. Brian, can you alert them of the problem as you're already registered?

    An internet buddy of mine has a 1100-1 mill he bought in 2007 and upgraded to an 1100-2 later. Now he's trying to upgrade to PP but is having trouble. Not sure I can talk him through it as he lives in Wisconsin. His first symptom is that he can jog the axes but can't reference them. One would think that a PP install as an 1100-2 on an actual Tormach machine would work out of the box.



  5. #89
    Registered popspipes's Avatar
    Join Date
    Jun 2014
    Location
    United States
    Posts
    1193
    Downloads
    0
    Uploads
    0

    Default Re: PathPilot on NM200

    I would think a phone call to Tormach should solve the problem.
    It did work out of the box on my 1100-3 purchased new feb 2012, I did buy the mesa card for the computer as well.

    mike sr


  6. #90
    Registered
    Join Date
    Aug 2007
    Location
    usa
    Posts
    639
    Downloads
    0
    Uploads
    0

    Default Re: PathPilot on NM200

    Quote Originally Posted by kvom View Post
    If Tormach uses a PWM on the BoB plus digital vs analog control of the VFD, perhaps their speeds are linear.

    There is something wrong with linuxcnc forum as it never sends the signup confirmation email. So it's impossible to report an error. Brian, can you alert them of the problem as you're already registered?

    An internet buddy of mine has a 1100-1 mill he bought in 2007 and upgraded to an 1100-2 later. Now he's trying to upgrade to PP but is having trouble. Not sure I can talk him through it as he lives in Wisconsin. His first symptom is that he can jog the axes but can't reference them. One would think that a PP install as an 1100-2 on an actual Tormach machine would work out of the box.
    Kirk- I think I had trouble registering too if I recall - try a different email address or check spam folder?



  7. #91
    Registered
    Join Date
    Dec 2009
    Location
    USA
    Posts
    524
    Downloads
    0
    Uploads
    0

    Default Re: PathPilot on NM200

    I loaded the lincurve.ko file and the HAL with it configured. Result is very even correlation of S value and RPM throughout the range. So at this point I am calling it done. Attached is my INI and HAL files along with lincurve.ko in a zipfile for anyone else desiring to do this conversion.

    A few comments:

    My controller is a CD100. I believe I could have done this less expensively by using the CPU in the control. It would just need a new hard drive for PP (or else configure the existing one for dual boot), and a 5i25 Mesa card to replace the parallel port card in the PCI slot. I went with the separate computer since I wasn't sure of success in this effort.

    My HAL file assumes that the BoB is a C11G revision 8. If John switched to a later model that uses PWM for spindle, then modifications would be needed. A different bit file from Mesa would also be needed, and it's possible that Scott's Torus files would be closer.

    My machine has non-working limit switches, so my INI file specified reference in place. It's easy to change back if referencing with limit switches.

    I don't have anything wired for probing, so the HAL file would need to be modified to support this. The same goes for a tool setter.

    My Novakon coolant pump gave up the ghost years ago. The HAL code to turn it on and off should work, but hasn't obviously been tested.

    Attached Files Attached Files


  8. #92
    Registered
    Join Date
    Aug 2007
    Location
    usa
    Posts
    639
    Downloads
    0
    Uploads
    0

    Default Re: PathPilot on NM200

    Great work Kirk!



  9. #93
    Registered
    Join Date
    Dec 2009
    Location
    USA
    Posts
    1401
    Downloads
    0
    Uploads
    0

    Default Re: PathPilot on NM200

    Nicely done! Glad you got it sorted out. Once you wrap your head around lincurve it's pretty easy to get the response proportional as it should be. The LinuxCNC HAL file is daunting but it's amazingly versatile.

    CNC: Making incorrect parts and breaking stuff, faster and with greater precision.


  10. #94
    Registered
    Join Date
    Dec 2009
    Location
    USA
    Posts
    524
    Downloads
    0
    Uploads
    0

    Default Re: PathPilot on NM200

    I was a software guy my whole career, so lincurve is pretty trivial for me. the HAL format makes sense once you read the linuxcnc documents on HAL. The linuxcnc components with documentation are easy to use, but the Tormach specific components are not. I had to read between the lines on these, which are the links between the UI and the Mesa.



  11. #95
    Registered
    Join Date
    Dec 2009
    Location
    USA
    Posts
    1401
    Downloads
    0
    Uploads
    0

    Default Re: PathPilot on NM200

    Yeah, for me the syntax was not so hard. Working out where it needed to be inserted and what the values needed to be was the more difficult part. Pencil and paper and some time worked that out. Measuring voltage output got me within +/- 120 RPM. Tweaking the values based on the actual RPM then narrowed that to about +/- 50 free-running. I've been tweaking mine for weeks. It's like legos, I keep thinking of something else I could bolt on with a couple of MUXs and a few logic gates. A software guy's Erector Set.

    My only real gripe is inconsistency in the naming sometimes. Sometimes its blah.in, sometimes blah.in0, sometimes blah.in-0, sometimes blah.in-00. I'd prefer that it just always be blah.in-00 for everything. That way you don't need to wonder what version this component needs even if it has only one input.

    CNC: Making incorrect parts and breaking stuff, faster and with greater precision.


  12. #96
    Gold Member LeeWay's Avatar
    Join Date
    Jun 2004
    Location
    United States
    Posts
    6232
    Downloads
    2
    Uploads
    0

    Default Re: PathPilot on NM200

    I basically had to do something similar in Mach 3 with a DC motor controller and a Homann motor speed card.
    I tweaked and tweaked on it until it would do my minimum speed (1000), my steel cutting speed (2500)and my max speed for aluminum at 6600 RPM.
    I just settled for that because in the end, those were the only speeds I ever called out other than for twist drills. Precise speeds aren't really required for those.

    Lee


Page 8 of 9 FirstFirst ... 56789 LastLast

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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

PathPilot on NM200
PathPilot on NM200