Community
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LinuxCNC Turning post

LinuxCNC Turning post

Can you please add a post processor to library for turning for LinuxCNC ?

 

http://linuxcnc.org/docs/2.7/html/gcode.html

12 Comments
al.whatmough
Alumni

Sorry, is this a request for us to create a post or do you have a post you would like us to add?

 

If it is a request to create a new stock post, do you have documentation for this controller you can share.

 

Anonymous
Not applicable
Yes, it's a request for a post processor for lathe/turning for linux cnc .

linuxcnc.org

thanks.
vilts
Advocate

 I cast my vote for this as well. G-code reference for linuxcnc is available at http://linuxcnc.org/docs/2.7/html/gcode.html

 

Tormach slant-pro turning post should be very-very close to what we need. Tormach's PathPilot is based on linuxcnc and should be good starting point. One known difference is with tool changes, Tormach use T0505 style for both tool and offset, linuxcnc has T5 M6 G43 or somesuch for this.

Anonymous
Not applicable

Hereby I humbly second this motion!

We are supplying linuxcnc/machinekit based motion controllers (and machines) to secondary schools, high-schools, colleges, etc around the globe. While the focus clearly is on introduction to CNC machining and composing first simple ngc files in text editor, a post for turning would be great so Fusion 360 could be the CAD/CAM system we can recommend to students and educators - whether for milling or, hopefully soon, turning.

Thx in advance!

AchimN
Community Manager
Status changed to: Accepted

It´s in progress.

KerimY
Alumni

Hello All,

 

We are working on the LinuxCNC turning post processor and we would be happy to get some feedback from you before we put it into the library.

 

I have some questions and hope you can help me:

 - I need more information about the retract, how do you need it? (G28 or G30) with which paramter?

 - whats the extension? *.nc?

 - Do you need coolant codes besides M8 and M9?

 - % at start and at the end of the program?

 - Do you need Preload Tool ?

 - Default for maximum spinle speed?

 - GangTooling?

 - Homeposition "G53 X0 Z0"?

 

Please feel free to download and test it. Any questions or comments you may have on this post processor can be made in this discussion.

 

https://cam.autodesk.com/posts/?p=linuxcnc_turning

 

vilts
Advocate

This is great, I'll test it out as soon as I can.

 

As my machine is retrofit to small manual lathe, I can comment on very few questions.

 

Default extension for LinuxCNC is .ngc


I haven't needed the G28/G30 yet. I made my own simple post from Tormach (https://github.com/vilts/linuxcnc-f360) and for very simple things it has worked, haven't tested it too much yet.

 

In this thread https://forums.autodesk.com/t5/hsm-post-processor-forum/turning-post-for-linuxcnc/td-p/6086399 it was mentioned that you don't actually need the G30, as it can be configured in config file: 

"It looks like I don't need those G30s.  I was just reading the linuxcnc gcode reference and it says it will move to G30 when M6 is programmed if you add the line TOOL_CHANGE_AT_G30=1 to the [EMCIO] section of the ini file.  I just tested it with mdi and it works.  Thanks."

Anonymous
Not applicable

Hello KerimY!

 

thanks a lot!

Did a short test on our relatively simple lathe set-up and machinekit

- G30 not really needed in my case

- G43 got manual tool change only, would prefer seperate ngc-files for different tools

- G96 (D/S) cannot use, have fixed speed head spindle only

- G95 .... had to use G94 

after that G-code could be executed 🙂

Thanks again!

 

 

 

rtolesnikov
Community Visitor

Thanks for working on LinuxCNC post.

Testing out threading. G76 is output with F word instead of P.

Also got errors on some G3 arcs. I'm suspecting they should have been G2. I can provide example is it would be useful.

KerimY
Alumni

Hello All,

 

thanks for your feedback.

 

Here my Q/A on this post:

  • fixed: remove G30
  • fixed: arcs issue.
  • fixed: G43 will only output if you activate "Manual tool change"-checkbox in the tool library
  • G96 will only output if you activate the "Use constant surface speed" on the tool tap in the operation.
  • G95 also only output if you activate the "Use feed per revolution" on the tool tap in the operation.
  • G76 Please send me a G-Code example for the cycle

 

The post will update soon on the post libary.

k.martin88
Community Visitor

 Hello

Thx for your work, but would it be possible to combine milling and turning post librarys I'm trying to make Mill/Turn project with linuxcnc?

 

EDIT: just found out "Error: Tool orientation is not supported" - with linuxcnc (normal milling post library) .


Best regards Karri

AchimN
Community Manager
Status changed to: Implemented
 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea  

Autodesk Design & Make Report