Proper methods for a lathe tool changer?
10 Apr 2016 18:54 - 10 Apr 2016 18:56 #73065
by Fastest1
Proper methods for a lathe tool changer? was created by Fastest1
I am very new to LinuxCnc. I had quite a bit of experience in Mach3. There is no similarity between the 2 that I can see. Just different.
Presently I have LCNC version 2.7.4 installed and connected via parallel port to a Dyna Mechtronics DM3000 with a 6 position turret tool changer.
I have control of X and Z,. Limits and homing are working as intended. My spindle is operable and accurate to within a few rpm's with no index sensor so far. That was all pretty easy to set up and was similar to Mach.
I am not sure of exactly how to obtain or set up control of the 3rd axis (tool changer). It appears I might have to use Gmoccapy and or Glade to customize my GUI. If this is the case. Is the macro that I used in Mach able to be used with LCNC? It would seem the commands and GCode would be the same. Is there an advantage to using Glade or Gmoccapy? Is one safer?
Presently I have LCNC version 2.7.4 installed and connected via parallel port to a Dyna Mechtronics DM3000 with a 6 position turret tool changer.
I have control of X and Z,. Limits and homing are working as intended. My spindle is operable and accurate to within a few rpm's with no index sensor so far. That was all pretty easy to set up and was similar to Mach.
I am not sure of exactly how to obtain or set up control of the 3rd axis (tool changer). It appears I might have to use Gmoccapy and or Glade to customize my GUI. If this is the case. Is the macro that I used in Mach able to be used with LCNC? It would seem the commands and GCode would be the same. Is there an advantage to using Glade or Gmoccapy? Is one safer?
Last edit: 10 Apr 2016 18:56 by Fastest1.
Please Log in or Create an account to join the conversation.
10 Apr 2016 20:13 #73074
by BigJohnT
Replied by BigJohnT on topic Proper methods for a lathe tool changer?
I used Classicladder to handle the tool change on my Harding CHNC.
gnipsel.com/shop/hardinge/hardinge.xhtml
JT
gnipsel.com/shop/hardinge/hardinge.xhtml
JT
Please Log in or Create an account to join the conversation.
11 Apr 2016 14:42 #73107
by andypugh
It is hard to know how to control the tool changer without a little more information on the tool changer hardware and how it is configured.
Is it configured as a G-code controlled axis, or as a separate motor? How does the changer report-back carousel position?
Replied by andypugh on topic Proper methods for a lathe tool changer?
I am not sure of exactly how to obtain or set up control of the 3rd axis (tool changer). It appears I might have to use Gmoccapy and or Glade to customize my GUI. If this is the case. Is the macro that I used in Mach able to be used with LCNC? It would seem the commands and GCode would be the same. Is there an advantage to using Glade or Gmoccapy? Is one safer?
It is hard to know how to control the tool changer without a little more information on the tool changer hardware and how it is configured.
Is it configured as a G-code controlled axis, or as a separate motor? How does the changer report-back carousel position?
Please Log in or Create an account to join the conversation.
11 Apr 2016 16:07 #73120
by Fastest1
Replied by Fastest1 on topic Proper methods for a lathe tool changer?
Andy, Thanks for the question. Sorry I didn't provide the info. The lathe itself is a Dyna Mechtronics DM3000
It is a 6 position vertically oriented changer. In the past when working with Mach I had it configured as an axis with steppers. The turret rotates 60 degrees per tool, then backs up against a pawl. Though the changer itself does have some various types of switches and solenoids that would even allow bidirectional access to tools. I have never seen anyone use it that way. I am not even sure I ever saw them do it running the original software (which I never had). To this date I have never had verification of tool position. Merely verify the correct tool was indicated at start up and work away.
During my conversion I have equipped the cabinet with the proper power supply and relay to operate the solenoid for the future. I do have a working copy of the Mach tool changer macro if that would help.
I have no clue as to how to rewrite a macro that would select which direction the turret would rotate for the fastest tool change.
I am using a Leadshine MX3660. I have the tool changers steppers connected on pins 6&7 (step/direction)
It is a 6 position vertically oriented changer. In the past when working with Mach I had it configured as an axis with steppers. The turret rotates 60 degrees per tool, then backs up against a pawl. Though the changer itself does have some various types of switches and solenoids that would even allow bidirectional access to tools. I have never seen anyone use it that way. I am not even sure I ever saw them do it running the original software (which I never had). To this date I have never had verification of tool position. Merely verify the correct tool was indicated at start up and work away.
During my conversion I have equipped the cabinet with the proper power supply and relay to operate the solenoid for the future. I do have a working copy of the Mach tool changer macro if that would help.
I have no clue as to how to rewrite a macro that would select which direction the turret would rotate for the fastest tool change.
I am using a Leadshine MX3660. I have the tool changers steppers connected on pins 6&7 (step/direction)
Please Log in or Create an account to join the conversation.
11 Apr 2016 16:27 #73122
by andypugh
Replied by andypugh on topic Proper methods for a lathe tool changer?
A stepper backing-up against a pawl sounds a lot like the Boxford changer:
wiki.linuxcnc.org/cgi-bin/wiki.pl?Contri...oolchanger_component
wiki.linuxcnc.org/cgi-bin/wiki.pl?Contri...oolchanger_component
Please Log in or Create an account to join the conversation.
11 Apr 2016 18:23 #73124
by Fastest1
Replied by Fastest1 on topic Proper methods for a lathe tool changer?
That does sound like a possibility with a few changes due to the 8 vs 6 tool changers.
Now if I can only figure out what to do with all of those files and how.
Now if I can only figure out what to do with all of those files and how.
Please Log in or Create an account to join the conversation.
11 Apr 2016 21:43 - 11 Apr 2016 21:43 #73135
by andypugh
If you copy that entire folder into your "configs" directory you can see the component work.
To use it with your config you only need the .comp file installed on your system, and to copy the relevant parts of the HAL code across to your system.
The manpage is in the toolchanger.9 file, useto read it, though once you have installed it you should have the manual page in your MANPATH
To install the component you would use halcompile:You might need to install linuxcnc-dev if halcompile isn't found
You can make changes to the .comp file and re-install the new version the same way. Halcompile syntax is described here:
linuxcnc.org/docs/2.7/html/hal/comp.html
Replied by andypugh on topic Proper methods for a lathe tool changer?
Now if I can only figure out what to do with all of those files and how.
If you copy that entire folder into your "configs" directory you can see the component work.
To use it with your config you only need the .comp file installed on your system, and to copy the relevant parts of the HAL code across to your system.
The manpage is in the toolchanger.9 file, use
man ./toolchanger.9
To install the component you would use halcompile:
sudo halcompile --install toolchanger.com
sudo apt-get install linuxcnc-dev
You can make changes to the .comp file and re-install the new version the same way. Halcompile syntax is described here:
linuxcnc.org/docs/2.7/html/hal/comp.html
Last edit: 11 Apr 2016 21:43 by andypugh.
Please Log in or Create an account to join the conversation.
12 Apr 2016 14:34 - 12 Apr 2016 14:44 #73166
by Fastest1
Andy first of all Thank You!
Not that I am there by any means. Your explaining the exact steps is a big help to those of us who arent familiar with code at all. I am reading voraciously here, trying tutorials at code academy and anywhere else I can. Just waiting for the moment something will click. As stubborn as I am it just takes a little success to send me on my way. With my operation of Windows systems and that being my only reference, my concept of what is being achieved could be way off.
Replied by Fastest1 on topic Proper methods for a lathe tool changer?
Now if I can only figure out what to do with all of those files and how.
If you copy that entire folder into your "configs" directory you can see the component work.
When you say copy, you mean extract? If so, that went ok. I see it in the configs file. I dont "see anything work" so far
To use it with your config you only need the .comp file installed on your system, and to copy the relevant parts of the HAL code across to your system.
The manpage is in the toolchanger.9 file, useto read it, though once you have installed it you should have the manual page in your MANPATHman ./toolchanger.9
If I type this in a terminal I receive this: No such file or directory. No manual entry for ./toolchanger.9
To install the component you would use halcompile:After trying this a few different times with .com and realizing it was probably missing the p as in .comp. I tried that too. I get a list of a series of files (usr/bin/halcompile) then it ends with IOError: [Errno 2] No such file or directory: 'toolchanger.comp'sudo halcompile --install toolchanger.com
You might need to install linuxcnc-dev if halcompile isn't foundWhen I type this I get: linuxcnc-dev is already the newest versionsudo apt-get install linuxcnc-dev
You can make changes to the .comp file and re-install the new version the same way. Halcompile syntax is described here:
linuxcnc.org/docs/2.7/html/hal/comp.html
Andy first of all Thank You!
Not that I am there by any means. Your explaining the exact steps is a big help to those of us who arent familiar with code at all. I am reading voraciously here, trying tutorials at code academy and anywhere else I can. Just waiting for the moment something will click. As stubborn as I am it just takes a little success to send me on my way. With my operation of Windows systems and that being my only reference, my concept of what is being achieved could be way off.
Last edit: 12 Apr 2016 14:44 by Fastest1.
Please Log in or Create an account to join the conversation.
12 Apr 2016 14:43 #73167
by andypugh
But, if you are installing the .comp file there is no need, the manpage will come along "for free"
Replied by andypugh on topic Proper methods for a lathe tool changer?
You need to be in the directory where you extracted the file to. And you probably need to extract it twice (so to speak).If I type this in a terminal I receive this: No such file or directory. No manual entry for
But, if you are installing the .comp file there is no need, the manpage will come along "for free"
Again, you need to be in the directory that you extracted the file into.No such file or directory: 'toolchanger.comp'
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5008
- Thank you received: 1441
12 Apr 2016 14:47 - 12 Apr 2016 14:48 #73168
by Todd Zuercher
Replied by Todd Zuercher on topic Proper methods for a lathe tool changer?
When you typed "sudo halcompile --install toolchanger.comp" at the command prompt, were you in the directory where the toolchanger.comp file is located?
(Andy must type faster than me.)
(Andy must type faster than me.)
Last edit: 12 Apr 2016 14:48 by Todd Zuercher.
Please Log in or Create an account to join the conversation.
Time to create page: 0.089 seconds