Author Topic: G2&G3HaveNoSpaces using GRBL  (Read 648 times)

Offline Zwil

  • Ewok
  • *
  • Posts: 2
    • View Profile
G2&G3HaveNoSpaces using GRBL
« on: March 02, 2020, 01:17:40 am »
I'm using CamBam 1.0 rc3.

When I generate gcode using GRBL postprocessor for my 3018 woodpecker, G2 & G3 commands come out with no spaces.

Code: [Select]
M3 S1000
G0 X94.85 Y24.85
G0 Z1.0
G1 F5.0 Z-0.07
F20.0
G2X93.85Y25.85I0.0J1.0
G1 F30.0 Y40.15
G1 X94.15

Same with G3.

CamBam plus [1.0] rc-3
Copyright © 2019 HexRay Ltd

CamBam.CAD : 1.0.7233.22225
CamBam : 1.0.7233.22227
Build Date : 10/21/2019 1:20:50 PM
Framework Version : 4.0.30319.42000

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 8182
    • View Profile
Re: G2&G3HaveNoSpaces using GRBL
« Reply #1 on: March 02, 2020, 01:22:54 am »
G-code normally is considered correct with or without spaces.  Does your woodpecker refuse to use the G2 and G3 sequences, or is it just a 'cosmetic issue'?

CamBam generates g-codes according to the rules in the selected post-processor.

Which one of the several available GRBL posts are you using?

Lloyd
« Last Edit: March 02, 2020, 01:25:09 am by lloydsp »
"Pyro for Fun and Profit for More Than Fifty Years"

Offline Zwil

  • Ewok
  • *
  • Posts: 2
    • View Profile
Re: G2&G3HaveNoSpaces using GRBL
« Reply #2 on: March 02, 2020, 02:33:13 am »
I poked around a little bit and found the spaces were missing in the GRBL postprocessor under the system tab. I added them and everything is OK.

I also removed M6 after the toolchange command, it throws an error from the woodpecker.

The woodpecker runs GRBL 1.1f, according to the $I info but it seems fussy.
It may be that I'm new at this too. :)

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 8182
    • View Profile
Re: G2&G3HaveNoSpaces using GRBL
« Reply #3 on: March 02, 2020, 11:58:26 am »
We're all new once!  I'm glad you got it sorted-out.

Lloyd
"Pyro for Fun and Profit for More Than Fifty Years"