Porting Fanuc macro to LinuxCNC

More
3 years 10 months ago #259448 by andypugh
Try it? Depending on what the postprocessor uses it might, or might not, work.
It depends how much Fanuc-specific stuff there is in there.

Please Log in to join the conversation.

More
3 years 10 months ago #259465 by Todd Zuercher
Maybe, for the most part Fanuc g-code is compatible with Linuxcnc. Where you are most likely to run afoul would be with M-codes and tool change codes, canned cycles and how subroutines are handled. There are almost as many different ways Fanuc controls can be set up for g-code as there are machine tool builders who use Fanuc controls. The specific g-code dialect is almost all ways different in some way from one builder to the next.

But even if your post's code isn't exactly what is needed for Linuxcnc, you probably can write a simple script to convert it on the fly as it is loaded into Linuxcnc. It is configured in the "Filter" section of your ini file.
linuxcnc.org/docs/stable/html/config/ini...html#_filter_section
 

Please Log in to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum