- Posts: 54
- Thank you received: 4
LinuxCNC 2.9 vs. 2.8 Using A-Axis for ATT
5 years 8 months ago #198778
by Barry
Replied by Barry on topic LinuxCNC 2.9 vs. 2.8 Using A-Axis for ATT
Thank you. I can honestly say that I never would have figured out those missing pieces on my own. The good news is the ATT now rotates using Carousel but its rotating non-stop. I assume that I need to wire up the pulse and index switches which I will do tomorrow afternoon. It's midnight (CST) now so I need to get some sleep. However a few questions came up as follows:
1) I assume that I also needed to add the following code to bring in the pulse and index signals.
net index carousel.0.sense-0
net pulse carousel.0.sense-1
net index <= parport.0.pin-11-in
net pulse <= parport.0.pin-15-in
2) I assume Carousel will auto-home to tool position 1 when it is 1st enabled based on both the index and pulse reading True, and then will continue rotating to the selected tool pocket based on the pulse count, correct?
3) I assume M6 needs to be remapped in the .ini file. I tried doing this and got the following 2 error messages:
Near line 0
/usr/share/axis/images/axis-lathe.ngc: pycall(remap.change_prolog) failed
Near line 0
/usr/share/axis/images/ncam.ngc: pycall(remap.change_prolog) failed
Have nice day,
Barry
1) I assume that I also needed to add the following code to bring in the pulse and index signals.
net index carousel.0.sense-0
net pulse carousel.0.sense-1
net index <= parport.0.pin-11-in
net pulse <= parport.0.pin-15-in
2) I assume Carousel will auto-home to tool position 1 when it is 1st enabled based on both the index and pulse reading True, and then will continue rotating to the selected tool pocket based on the pulse count, correct?
3) I assume M6 needs to be remapped in the .ini file. I tried doing this and got the following 2 error messages:
Near line 0
/usr/share/axis/images/axis-lathe.ngc: pycall(remap.change_prolog) failed
Near line 0
/usr/share/axis/images/ncam.ngc: pycall(remap.change_prolog) failed
Have nice day,
Barry
Please Log in or Create an account to join the conversation.
5 years 8 months ago - 5 years 8 months ago #198785
by andypugh
Yes, it is trying to home to a home pulse that never comes.
Looks about right.
It is certainly meant to.
Not necessarily. The examples I gave assumed no remap. You can remap so that Tnnnn does the full Tnnnn M6 G43 thing, which is usual for lathes, but I have been using the full set of three codes on my lathes for 10 years or so and haven't bothered remapping.
(This is partly as my first machine was a combo lathe-mill and I didn't want to confuse myself)
Replied by andypugh on topic LinuxCNC 2.9 vs. 2.8 Using A-Axis for ATT
Barry wrote: its rotating non-stop. I assume that I need to wire up the pulse and index switches
Yes, it is trying to home to a home pulse that never comes.
Code:
net index carousel.0.sense-0
net pulse carousel.0.sense-1
net index <= parport.0.pin-11-in
net pulse <= parport.0.pin-15-in
Looks about right.
I assume Carousel will auto-home to tool position 1 when it is 1st enabled based on both the index and pulse reading True, and then will continue rotating to the selected tool pocket based on the pulse count, correct?
It is certainly meant to.
I assume M6 needs to be remapped in the .ini file.
Not necessarily. The examples I gave assumed no remap. You can remap so that Tnnnn does the full Tnnnn M6 G43 thing, which is usual for lathes, but I have been using the full set of three codes on my lathes for 10 years or so and haven't bothered remapping.
(This is partly as my first machine was a combo lathe-mill and I didn't want to confuse myself)
Last edit: 5 years 8 months ago by andypugh.
Please Log in or Create an account to join the conversation.
5 years 8 months ago #198840
by Barry
Replied by Barry on topic LinuxCNC 2.9 vs. 2.8 Using A-Axis for ATT
Success!!!! This is AWESOME!!!! Carousel works fantastic for controlling an Automatic Tool Turret!
Thank you so much for your help once again Andy. I really enjoyed working with you on this project and greatly appreciate the time that you spent not only in developing Carousel and putting together all of the documentation for it, but also in helping me get it working on my ATT. You are the best. Putting all of this together certainly brought me up a lot higher on the LinuxCNC learning curve with your help. This was a fun project.
To help others who may need the same help that I did with Carousel, the final working files are attached.
Have a great week! I'm off to my machine shop to do some CNC'g.
Thank you again,
Barry
Thank you so much for your help once again Andy. I really enjoyed working with you on this project and greatly appreciate the time that you spent not only in developing Carousel and putting together all of the documentation for it, but also in helping me get it working on my ATT. You are the best. Putting all of this together certainly brought me up a lot higher on the LinuxCNC learning curve with your help. This was a fun project.
To help others who may need the same help that I did with Carousel, the final working files are attached.
Have a great week! I'm off to my machine shop to do some CNC'g.
Thank you again,
Barry
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
1 year 9 months ago #317944
by Hobbymate
Replied by Hobbymate on topic LinuxCNC 2.9 vs. 2.8 Using A-Axis for ATT
Hi. How to change code to work without index and position signal. Like Boxford type turret driven on stepper motor. New in LinuxCNC.
Please Log in or Create an account to join the conversation.
1 year 9 months ago #319374
by Hobbymate
Replied by Hobbymate on topic LinuxCNC 2.9 vs. 2.8 Using A-Axis for ATT
Very helpful community. No one say truth about Linux CNC is never working you need all time do development.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
1 year 9 months ago #319375
by tommylight
Replied by tommylight on topic LinuxCNC 2.9 vs. 2.8 Using A-Axis for ATT
LinuxCNC is very good, and it always, always works.
Please Log in or Create an account to join the conversation.
Time to create page: 0.212 seconds