Are there any samples of C axis code fore Centroid controls. I am finding lots of examples that don't work, but none from actual Centroid machines. Centroid doesn't accept G17-G19 so I am confused on how Centroid intends it to be done.
There is nothing in the manual showing programming of wrapped tool paths nor face tool paths.
I did manage to write a post processor, in which I generated a program through Fusion 360 and generated a tool path that I believe will work.
Unfortunately it runs REALLY slow when using the c axis. I know why it's slow, but I don't know how to correct it.
So can anyone point me to some code?
Clay
lathe C axis code sample? Centroid < answered >
Moderator: cnckeith
-
- Posts: 595
- Joined: Tue Sep 12, 2017 10:03 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 1030090099
- DC3IOB: Yes
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Location: Outside Winston-Salem, NC
- Contact:
lathe C axis code sample? Centroid < answered >
Clay
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
-
- Posts: 7348
- Joined: Wed Mar 03, 2010 4:23 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Contact:
Re: lathe C axis code sample? Centroid
clay, the reason its slow is the feedrate on the c axis program line is that the F command is in degrees per minute for a rotary axis.
so for example...
G1 Z2C3600 F2 that means the C axis is going to go 10 revolutions at 2 degrees per minute while the Z axis is interpolated to move to 2.0000 from the position it is at to 2.0000 in the time it takes for the C axis to rotate 10 times at 2 degrees per minute. (very slow)
so for example...
G1 Z2C3600 F2 that means the C axis is going to go 10 revolutions at 2 degrees per minute while the Z axis is interpolated to move to 2.0000 from the position it is at to 2.0000 in the time it takes for the C axis to rotate 10 times at 2 degrees per minute. (very slow)
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
-
- Posts: 2197
- Joined: Sat Nov 18, 2017 2:32 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: Yes
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: Acorn 238
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Bergland, MI, USA
- Contact:
Re: lathe C axis code sample? Centroid
Clay...
I have no idea how you get it into a Fusion postP, nor the syntax for math function in the Centroid controller, but what I have used in the past to get a realistic feedrate (matching XY) for a rotary axis is:
115 * ({desired surface feedrate} / {diameter})
I have no idea how you get it into a Fusion postP, nor the syntax for math function in the Centroid controller, but what I have used in the past to get a realistic feedrate (matching XY) for a rotary axis is:
115 * ({desired surface feedrate} / {diameter})
-
- Posts: 595
- Joined: Tue Sep 12, 2017 10:03 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 1030090099
- DC3IOB: Yes
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Location: Outside Winston-Salem, NC
- Contact:
Re: lathe C axis code sample? Centroid
Thanks Gary. What does the 115 represent? Also, how does that work when switching from rotary to straight lines? I assume you are programming this line by line as opposed to canned cycles?Gary Campbell wrote: ↑Thu Jan 04, 2018 1:01 am Clay...
I have no idea how you get it into a Fusion postP, nor the syntax for math function in the Centroid controller, but what I have used in the past to get a realistic feedrate (matching XY) for a rotary axis is:
115 * ({desired surface feedrate} / {diameter})
Clay
Clay
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
-
- Posts: 2197
- Joined: Sat Nov 18, 2017 2:32 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: Yes
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: Acorn 238
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Bergland, MI, USA
- Contact:
Re: lathe C axis code sample? Centroid
Clay...
Round numbers for 114.59 or 360 / pi
Round numbers for 114.59 or 360 / pi
-
- Posts: 237
- Joined: Mon Nov 20, 2017 10:13 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: Yes
- CPU10 or CPU7: Yes
- Location: Frenchville, PA
Re: lathe C axis code sample? Centroid
Clay,
I have attached a sample g-code program for C-axis for the Centroid lathe. This has the feed in degrees per minute. When X or Z are moving without a C-axis move on the same line of G code the feed rate (F) is in inches per minute. This program uses the M51 and M50 to turn C-axis on and off and the M23 and M25 to turn the live tooling on and off. ( If you are using different M codes for these functions you will have to change this program to those M codes to graph and run this program). This is the same part that is shown on the Centroid website. http://www.centroidcnc.com/cnc_c_axis_lathe.html
there are photos of the part and go down to the bottom and there is a video of the part being machined.
To use a third party post processor you'll need to set the CNC Controller type for the feed to Feed in degrees/minute.
I have attached a sample g-code program for C-axis for the Centroid lathe. This has the feed in degrees per minute. When X or Z are moving without a C-axis move on the same line of G code the feed rate (F) is in inches per minute. This program uses the M51 and M50 to turn C-axis on and off and the M23 and M25 to turn the live tooling on and off. ( If you are using different M codes for these functions you will have to change this program to those M codes to graph and run this program). This is the same part that is shown on the Centroid website. http://www.centroidcnc.com/cnc_c_axis_lathe.html
there are photos of the part and go down to the bottom and there is a video of the part being machined.
To use a third party post processor you'll need to set the CNC Controller type for the feed to Feed in degrees/minute.
Dana
When requesting support, please ALWAYS post a current report.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
When requesting support, please ALWAYS post a current report.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
-
- Posts: 595
- Joined: Tue Sep 12, 2017 10:03 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 1030090099
- DC3IOB: Yes
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Location: Outside Winston-Salem, NC
- Contact:
Re: lathe C axis code sample? Centroid
Outstanding, Thank you!!cnc_smith wrote: ↑Thu Jan 04, 2018 11:07 am Clay,
I have attached a sample g-code program for C-axis for the Centroid lathe. This has the feed in degrees per minute. When X or Z are moving without a C-axis move on the same line of G code the feed rate (F) is in inches per minute. This program uses the M51 and M50 to turn C-axis on and off and the M23 and M25 to turn the live tooling on and off. ( If you are using different M codes for these functions you will have to change this program to those M codes to graph and run this program). This is the same part that is shown on the Centroid website. http://www.centroidcnc.com/cnc_c_axis_lathe.html
there are photos of the part and go down to the bottom and there is a video of the part being machined.
To use a third party post processor you'll need to set the CNC Controller type for the feed to Feed in degrees/minute.
C_AXIS_EXAMPLE_1.txt
caxis-tooling.jpg
Clay
Clay
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/