Page 1 of 1
Bench test: How do you set up the c axis in Lathe Pro?
Posted: Sun Oct 29, 2017 3:58 pm
by frijoli
I'm a little confused as it asks for rotation/turns per inch.
My set-up is one to one belt drive from the motor to the spindle.
Re: Bench test: How do you set up the c axis in Lathe Pro?
Posted: Sun Oct 29, 2017 8:24 pm
by martyscncgarage
frijoli wrote: ↑Sun Oct 29, 2017 3:58 pm
I'm a little confused as it asks for rotation/turns per inch.
My set-up is one to one belt drive from the motor to the spindle.
Servo driven spindle right? Or stepper driven? Setup as a rotary axis?
Keith will likely chime in tomorrow..,.
Re: Bench test: How do you set up the c axis in Lathe Pro?
Posted: Sun Oct 29, 2017 8:46 pm
by frijoli
martyscncgarage wrote: ↑Sun Oct 29, 2017 8:24 pm
frijoli wrote: ↑Sun Oct 29, 2017 3:58 pm
I'm a little confused as it asks for rotation/turns per inch.
My set-up is one to one belt drive from the motor to the spindle.
Servo driven spindle right? Or stepper driven? Setup as a rotary axis?
Keith will likely chime in tomorrow..,.
For that axis it is servo, but step and direction.
I clicked rotary yes. It shows in degrees when I run an MDI code, but I have no idea if I set it up correctly.
Re: Bench test: How do you set up the c axis in Lathe Pro?
Posted: Mon Oct 30, 2017 9:07 am
by cnckeith
for all rotary axes on a Centroid the "turns ratio" is in: "Revolutions per Degree".
rev/deg = how many rev's of the servo motor yields 1 degree of rotation on the rotary axis
here are some example calculations..
so if the c axis motor turns one revolution and the spindle turns one revolution then set the turns ratio to 1/360 = .0027777
if the c axis motor turns 2 revolutions to the spindles 1 revolution , set the turns ratio to 2/360 = .0055555
if the c axis motor turns 20 times to the spindles 1 revolution, set the turns ratio to 20/360 = .0555555
if the c axis motor turns 180 times to the spindles 1 revolution, set the turns ratio to 180/360 = .5
Re: Bench test: How do you set up the c axis in Lathe Pro?
Posted: Mon Oct 30, 2017 6:56 pm
by frijoli
Excellent Keith!
Thanks,
Clay
Re: Bench test: How do you set up the c axis in Lathe Pro?
Posted: Mon Dec 25, 2017 4:51 pm
by frijoli
cnckeith wrote: ↑Mon Oct 30, 2017 9:07 am
for all rotary axes on a Centroid the "turns ratio" is in: "Revolutions per Degree".
rev/deg = how many rev's of the servo motor yields 1 degree of rotation on the rotary axis
here are some example calculations..
so if the c axis motor turns one revolution and the spindle turns one revolution then set the turns ratio to 1/360 = .0027777
if the c axis motor turns 2 revolutions to the spindles 1 revolution , set the turns ratio to 2/360 = .0055555
if the c axis motor turns 20 times to the spindles 1 revolution, set the turns ratio to 20/360 = .0555555
if the c axis motor turns 180 times to the spindles 1 revolution, set the turns ratio to 180/360 = .5
Keith, can you post some c axis interpolated code? I have my post processor working reasonable well but I can't get the feed rates right when moving 3 axis at once. As in X C Z F. The F makes the C move really slow.
How did your code look for this part:
http://www.centroidcnc.com/cnc_c_axis_lathe.html
Thanks,
Clay
PS counter-boring a hole on the face of a lathe part! "virtually"
Re: Bench test: How do you set up the c axis in Lathe Pro?
Posted: Tue Dec 26, 2017 6:37 am
by midy
Hi Clay - merry xmas etc. Will you be sharing your post processor with us? As I don't think there is a good one around yet.
cheers
Re: Bench test: How do you set up the c axis in Lathe Pro?
Posted: Tue Dec 26, 2017 9:05 am
by frijoli
midy wrote: ↑Tue Dec 26, 2017 6:37 am
Hi Clay - merry xmas etc. Will you be sharing your post processor with us? As I don't think there is a good one around yet.
cheers
Thanks!
Absolutely will. It's not ready for general use as there are a couple things that have to be removed from the g code still. I also do not have a machine to test on yet.
Also not my post processor! I just downloaded and started hacking on one. I wish I was more familiar with Javascript and what items are needed for a good post.
It is rather tedious...
Clay
Re: Bench test: How do you set up the c axis in Lathe Pro?
Posted: Tue Dec 26, 2017 12:12 pm
by midy
Well if you'd like to share it, I can very very carefully test it! If you want? My lathe is almost done - hoping to start cutting air today or tomorrow.
cheers
Re: Bench test: How do you set up the c axis in Lathe Pro?
Posted: Tue Jan 09, 2018 2:09 pm
by Centroid_Tech
I do not know if you found it but the link to the G-code that you are asking about was on the same page as the link that you posted but here it is again.
http://www.centroidcnc.com/downloads/C_ ... MPLE_1.txt