Message 1 of 14
Error in default LinuxCNC Post (not setting G0/G1 after G80)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When generating a drill cycle in Fusion 360, LinuxCNC suddenly stops and gives me a "cannot use axis values without a g code that uses them" error.
The code looks like this:
(3004_DRILL_3.5MM) (T2 D=3.5 CR=0. TAPER=118DEG - ZMIN=-4.052 - DRILL) G90 G94 G91.1 G40 G49 G17 G21 (DRILL3) M5 M9 T2 M6 S2000 M3 G54 M9 G0 X108.02 Y4.3 Z25. G98 G81 X108.02 Y4.3 Z-3.052 R25. F10. G80 X68.8 Y17.884 Z25. Z24. G81 X68.8 Y17.884 Z-4.052 R24. F10. Y42.884 G80 Z25. G81 X108.02 Y67.38 Z-3.052 R25. F10. X4.3 Y4.3 G80 Z15. M9 M30
The problem is that it cancels the G81 cycle with the G80 command and then tries to move the axis without setting the correct G0/G1 for movement, so LinuxCNC does not know what to do with the axis values it is fed.