2.6 Live+Install image

Announcing a new Live+Install DVD image for installing LinuxCNC 2.6 on Debian Wheezy. Instructions here.

LinuxCNC 2.6.2 Released

Bug fix see the change log.

LinuxCNC 2.6.1 Released

Bug fix see the change log.

Home Forum General Installing LinuxCNC Upgrade to 2.5 with 5i20, ncggui and joypad

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Upgrade to 2.5 with 5i20, ncggui and joypad

Upgrade to 2.5 with 5i20, ncggui and joypad 12 Apr 2012 04:22 #19139

  • Rick G
  • Rick G's Avatar
  • Moderator
  • Posts: 1316
  • Thank you received: 49
  • Karma: 82
Generally speaking if I have a machine that is working great I don't change or upgrade it unless I am involved in testing. After all "If it ain't broken don't fix it"
A few years ago I set up a mill with steppers, the Mesa 5i20, 7i47-s and 7i37. It has worked flawlessly so I left it alone running 8.04 and emc2 2.4.
LinuxCNC 2.5 now has some new features and it was time for a new hard drive so time to upgrade...

If you follow the Wiki instructions it should go pretty smooth.

The following hiccups of going from 2.4 to 2.5 are posted elsewhere but it may be a good idea to point some of them out all in one spot.

These are some that I ran into...

As per the Wiki you may need to rename directories and or file locations and shortcuts to take into account the name change.

If you are using a usb joypad you may need to rename the pin
input.0.btn-joystick .

If you are using NGCGUI you will need to edit your configuration file to remove the line
as the 2.5 version does not use it.

Skip any of the steps above that apply and Linuxcnc will not start.

Having done that the machine immediately reported a joint following error.

This was the case in earlier versions if you had a Base thread on a stepper system but did not use the Base thread. Easy solution was to remove the Base thread from the configuration and all was well.
Other solution was to increase the
stepgen maxaccel for each axis from 0 to perhaps 2 to 4 times the axis acceleration.

The first solution does not seem to be the case in 2.5, even without a Base thread the joint error occurred.

The second solution does however seem to work, on an axis with MAX_ACCELERATION = 8.0

When I edited my configuration from

setp hm2_5i20.0.stepgen.nn.maxaccel 0
setp hm2_5i20.0.stepgen.nn.maxaccel 16

It took care of the errors.

Now the mill is up and running again.

I just looked and if your configuration is generated by the current 2.5 version of Pncconf it will set the stegen maxaccel at least 1.25 times the MAX_ACCELERATION automatically, so new configurations will probably be fine.

Rick G
The administrator has disabled public write access.

Re:Upgrade to 2.5 with 5i20, ncggui and joypad 12 Apr 2012 05:10 #19141

  • BigJohnT
  • BigJohnT's Avatar
  • Administrator
  • Posts: 5847
  • Thank you received: 240
  • Karma: 157

Thanks for putting this all in one place.

The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.635 seconds
Powered by Kunena Forum
© 2014
Joomla! is Free Software released under the GNU General Public License.