NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Configuring LinuxCNC Advanced Configuration Working out a tool changer method for mill

Welcome, Guest
Username: Password: Remember me

TOPIC: Working out a tool changer method for mill

Re:Working out a tool changer method for mill 26 Mai 2012 04:08 #20414

  • andypugh
  • andypugh's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4135
  • Thank you received: 141
  • Karma: 129
garymcrobertpdx wrote:
OK I have picked through the remapping doc and had a go at making it work
but no luck on the first try. I think there is some missing components.
I think that the problem is that the LinuxCNC startup script insists on copying the files to your home folder, but doesn't bring them all.

If you open a terminal and type
linuxcnc /usr/share/doc/linuxcnc/examples/sample-configs/sim/remap/rack-toolchange/racktoolchange.ini
then you should get it to launch properly. You can then go to the MDI window and type M6T3 and watch it do a tool change.
So, it works. However you need to find all the files, they seem to be in a combination of usr/share/doc/linuxcnc/examples/sample-configs/sim/remap (support files) and /usr/share/linuxcnc/ncfiles/remap-subroutines for the ngc files.

Looking in racktoolchange.hal, it calls three HAL files, only one of which you need to duplicate / include in your HAL.
The [PYTHON] PATH_PREPEND and PATH_APPEND in the INI file will need to be modified to point to your actual routines.

I think it is mainly a case of moving all these files into your own config directory, and making all the references to them in the INI file point to the right places.

Sorry, I thought it was a lot tidier than this.
The administrator has disabled public write access.

Re:Working out a tool changer method for mill 26 Mai 2012 17:04 #20433

  • mhaberler
  • mhaberler's Avatar
  • OFFLINE
  • Moderator
  • Posts: 197
  • Thank you received: 8
  • Karma: 54
hi, I was away for a while.

I suggest to cd to /usr/share/doc/linuxcnc/examples/sample-configs/sim/remap/rack-toolchange and then run 'linuxcnc rack-toolchange.ini' to see whether this makes any difference.

I need to look into the 'selector' integration

- Michael
The administrator has disabled public write access.

Re:Working out a tool changer method for mill 26 Mai 2012 17:38 #20436

Did not get me any where I had a look in my directory usr/share/doc and did not find any thing like
/linuxcnc/examples/sample-configs/sim/remap Some how I seem to be missing a directory full of
routines.

Perhaps I should trash this install of 2.6 and start over.
The administrator has disabled public write access.

Re:Working out a tool changer method for mill 27 Mai 2012 04:32 #20444

  • edsimmons
  • edsimmons's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Karma: 0
Hi there -

If you're looking for files you know the name of on a linux system the following will help:
sudo updatedb

run this in a shell and your system will update a database of file locations. You can then search for files like so:
locate filename.txt

or
locate something*

for wildcard searches.

Have you considered trying to get the source code and building yourself? If you start out with the Ubuntu 10.04 live cd installation and read the instructions here http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Installing_EMC2#On_Ubuntu_10_04_or_8_04_from_source, it's easy to get going.

HTH,
Ed
Last Edit: 27 Mai 2012 04:36 by edsimmons. Reason: Made more useful
The administrator has disabled public write access.
Time to create page: 0.998 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.