Porting Fanuc macro to LinuxCNC

More
14 Dec 2022 11:56 #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.
The following user(s) said Thank You: akg1904

Please Log in or Create an account to join the conversation.

More
14 Dec 2022 14:09 - 14 Dec 2022 14:17 #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
 
Last edit: 14 Dec 2022 14:17 by Todd Zuercher.
The following user(s) said Thank You: akg1904

Please Log in or Create an account to join the conversation.

Time to create page: 0.121 seconds
Powered by Kunena Forum