Porting Fanuc macro to LinuxCNC
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23182
- Thank you received: 4869
14 Dec 2022 11:56 #259448
by andypugh
Replied by andypugh on topic Porting Fanuc macro to LinuxCNC
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.
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.
- Todd Zuercher
-
- Offline
- Platinum Member
-
Less
More
- Posts: 4958
- Thank you received: 1443
14 Dec 2022 14:09 - 14 Dec 2022 14:17 #259465
by Todd Zuercher
Replied by Todd Zuercher on topic Porting Fanuc macro to LinuxCNC
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
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.052 seconds