Unknown G-code
- Aldenflorio
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 389
- Thank you received: 15
20 Sep 2020 18:52 #182943
by Aldenflorio
Unknown G-code was created by Aldenflorio
Im running my Librecam designs through dxf2gcode so that they are ready for LinuxCNC. I'm using LinuxCNC 2.8 with PlasmaC for a plasma table build. When opening the file in Linuxcnc I'm getting this error message:
Heres the G-code
It seems to be having a problem with this line: "N80 F#<_hal[plasmac.cut-feed-rate]" but i don't know what to change it to
Near line 8 of
Tmp/tmpp78t9j/Librecam2.ngc:
Unknown gcode used
Heres the G-code
N10 (Generated with: DXF2GCODE, Version: Py3.5.3 PyQt5.7, Date: $Date: Fri Oct 25 20:45:56 2019 +0200 $)
N20 (Created from file: /home/user/Desktop/Unfinished Designs/Librycam.dxf)
N30 (Output format description: G-CODE for LinuxCNC - Plasmac)
N40 (Time: Sun Sep 20 14:42:01 2020)
N50 G20 (Units in inches)
N60 G90 (Absolute programming)
N70 G64 P0.1 G40 G49 G80 G90 G92.1 G94 G67 (preamble)
N80 F#<_hal[plasmac.cut-feed-rate]
N90
(*** LAYER: 0 ***)
N100
(* SHAPE Nr: 1 *)
N110 G0 X 10.0000 Y 18.0000
N120 M3 $0 S1
N130 G1 X 10.0000 Y 8.0000
N140 G1 X 10.0000 Y 18.0000
N150 M5 $0
N160 G0 X 0.0000 Y 0.0000
N170 M2 (Program end)
It seems to be having a problem with this line: "N80 F#<_hal[plasmac.cut-feed-rate]" but i don't know what to change it to
Please Log in or Create an account to join the conversation.
- roland
- Offline
- Premium Member
Less
More
- Posts: 138
- Thank you received: 63
20 Sep 2020 19:16 #182945
by roland
Replied by roland on topic Unknown G-code
Hi,
the ">" at the end of the line is missing
--
Roland
the ">" at the end of the line is missing
F#<_hal[plasmac.cut-feed-rate]>
--
Roland
Please Log in or Create an account to join the conversation.
- Aldenflorio
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 389
- Thank you received: 15
20 Sep 2020 19:36 #182946
by Aldenflorio
Replied by Aldenflorio on topic Unknown G-code
I fixed that just now, but the error message remains the same
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
Less
More
- Posts: 504
- Thank you received: 157
20 Sep 2020 20:07 #182948
by Hakan
Replied by Hakan on topic Unknown G-code
Is G67 a valid G-code? I couldn't find what it does.
Please Log in or Create an account to join the conversation.
- Aldenflorio
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 389
- Thank you received: 15
20 Sep 2020 20:12 #182950
by Aldenflorio
Replied by Aldenflorio on topic Unknown G-code
I’m not sure, I’m not familiar enough with all of this to know the difference. I followed this though which is where I got G67
forum.linuxcnc.org/post-processors/39856...to-install-dxf2gcode
forum.linuxcnc.org/post-processors/39856...to-install-dxf2gcode
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
Less
More
- Posts: 504
- Thank you received: 157
20 Sep 2020 20:24 - 20 Sep 2020 20:32 #182952
by Hakan
Replied by Hakan on topic Unknown G-code
I am unsure as well but couldn't find it in the docs. Comment out the G67 and see if things change to the better.
Also check that you have the HAL_PIN_VARS option in the ini file linuxcnc.org/docs/devel/html/config/ini-...l#gcode:ini-features it's needed for the _hal[..] things.
Ooh I checked and it is default enabled.
Also check that you have the HAL_PIN_VARS option in the ini file linuxcnc.org/docs/devel/html/config/ini-...l#gcode:ini-features it's needed for the _hal[..] things.
Ooh I checked and it is default enabled.
Last edit: 20 Sep 2020 20:32 by Hakan.
Please Log in or Create an account to join the conversation.
- Aldenflorio
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 389
- Thank you received: 15
20 Sep 2020 20:32 - 20 Sep 2020 20:34 #182954
by Aldenflorio
Replied by Aldenflorio on topic Unknown G-code
Ok. So I took G67 out and it seems to work. One problem remains. The design was tiny. But I think that might be a separate issue.
Just looked at it a bit more and it seems to be in mm instead of inches
Just looked at it a bit more and it seems to be in mm instead of inches
Last edit: 20 Sep 2020 20:34 by Aldenflorio.
Please Log in or Create an account to join the conversation.
- Aldenflorio
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 389
- Thank you received: 15
20 Sep 2020 20:44 #182955
by Aldenflorio
Replied by Aldenflorio on topic Unknown G-code
I fixed the size by looking back into the designing. One final problem: it goes over the path twice
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Visitor
21 Sep 2020 00:41 #183000
by BeagleBrainz
Replied by BeagleBrainz on topic Unknown G-code
G67 is unallocated
See: linuxcnc.org/docs/html/remap/remap.html#...:unallocated-g-codes
See: linuxcnc.org/docs/html/remap/remap.html#...:unallocated-g-codes
Please Log in or Create an account to join the conversation.
- Aldenflorio
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 389
- Thank you received: 15
21 Sep 2020 00:44 #183001
by Aldenflorio
Replied by Aldenflorio on topic Unknown G-code
I see. I don’t know why that was on the guide then. Nevertheless removing it made it work. So I’m all set on this topic now. Thank you, I’ll refer to that link in the future
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds