GC Not reading G-Code

First I have to say I am EXTREMELY frustrated with this thing. It has been a terrible purchase for me, but I cannot give up. I see glimpses of this thing being a gem, but I did not expect this much trouble. I have only been able to get two parts off this thing since April 2019. There. Enough griping.

I had to work on getting a new router due to the Z-axis play. That’s all done and I went to cut a pattern to test and here’s what happens:

  1. Generated the new file as I have the others that work.
  2. Once loaded, GC displays the part perfectly.
  3. I set home and hit “play”.
  4. The Z-axis button goes dark and nothing happens.
  5. No manual controls will work
  6. Restart GC, restart computer, everything works as it should… motor test, Z manual, XY manual.
  7. Go through this (3 - 6) about 4 times.
  8. Load old cut file after GC restart… works great.
  9. Compare the two files thinking it’s a G-Code issue… maybe I am initiating the program incorrectly, but don’t understand that as I use the same generator for all my files, then save as “.NC”… no differences in the initiation blocks:

G20 G90 G40
G0 Z0.125
T0 M6
G17
M3
G0 X1.0521 Y1.5736

  1. Then I notice that GC does not recognize “G17” and skips the command. I take that out of the file, no change.
  2. Think maybe its because I am trying to move X, Y and Z together and rewrite to a G19 / G68 block… nope.No change.
  3. I did notice in the code display (lower right corner of GC) it stopped at G10 (Modifies the value of work coordinate and tool offsets) which is weird… cause there is no G10 in my code… anywhere. it read:

G10 Z0

The first Z command is to go to Z0.125 for travel.

So… I think I covered everything. Has anyone had this experience or a close facsimile?

can you post the full g-code and also try to get the groundcontrol.log file
(it’s probably big so clear it before you try another run)

It sounds as if whatever you are using to create the g-code is including codes
that the maslow doesn’t support, you don’t give us any clue about what those
things are.

David Lang

2 Likes

What are you using to generate the gcode?

1 Like

Here is the full code… and I am asking here: the coordinates shouldn’t present the issue as they are all coordinates… right? I am thinking it has something to do with the initialization of the commands… Again, my old files work… same initialization blocks.
(SINGLE 1.4" STAR 20JUL19)
G20 G90 G40
T0 M6

G0 Z0.125

G17
M3
G0 X1.4053 Y1.9054
G0 Z0.0
G1 X1.4053 Y1.2054 Z-0.175 F30
G1 X2.071 Y1.4217 Z0.0 F30
G0 Z0.125
G0 X1.8167 Y0.639
G0 Z0.0
G1 X1.4053 Y1.2054 Z-0.175 F30
G1 X0.9938 Y0.639 Z0.0 F30
G0 Z0.125
G0 X0.7395 Y1.4217
G0 Z0.0
G1 X1.4053 Y1.2054 Z-0.175 F30
G0 Z0.125
M5
M30

Got the log file as well. Do you want the whole thing or is there something you are looking for?

I use partkam… well wait… I start out in CAD, go to InkScape, then to partkam, then use NC Viewer to validate / adjust.

Does the log replace itself or is it historical? And is the top the most recent or the bottom?

greetings
the text copy of the gcode you posted in 3 programs:
bCNC


CAMotics

GroundControl v1.26

Did you by chance edit the file?
What GC version are you running?

Hi Gero,

Nope… no editing of the code. That is the original file I tried. My version is GC v1.24. And it looks correct by your screen shots. Thank you for trying it!

Oh… and it populates in GC. It just doesn’t do anything once you hit go. All manual controls stop, you have to restart the GC, then everything works great. Even old files written the same way with the same startup blocks/

I don’t see anything obviously wrong with the gcode. Since you get no movement at all when running the code it must be something in the first few lines.

I would try removing the comment and the tool command from the beginning of the file. I wouldn’t expect those to cause issues, but it’s possible the tool command is causing a pause to wait for a tool change. I would try running:

G20
G90
G40

G0 Z0.125

G17
M3
G0 X1.4053 Y1.9054
G0 Z0.0
G1 X1.4053 Y1.2054 Z-0.175 F30
G1 X2.071 Y1.4217 Z0.0 F30
G0 Z0.125
G0 X1.8167 Y0.639
G0 Z0.0
G1 X1.4053 Y1.2054 Z-0.175 F30
G1 X0.9938 Y0.639 Z0.0 F30
G0 Z0.125
G0 X0.7395 Y1.4217
G0 Z0.0
G1 X1.4053 Y1.2054 Z-0.175 F30
G0 Z0.125
M5
M30

I’m able to run the original posted g-code in GC v1.26 with ‘fake-server’ mode. No issues.
Something else going on. Perhaps upload the g-code file. Sometimes ‘illegal characters’ or line-breaks sneak in.

It’s historical with the recent at the bottom. It grows large over time. Best to delete it with GC closed (will be created new with start of GC). Start GC and just try to run the file. Close GC right after and upload the fresh log.txt.

Do you have the z-axis enabled in Ground Control? Just adding a bit to the suggestion from @bar. Otherwise, I’m out of ideas.

I think that Bar probably hit on it with the tool change, if it doesn’t think
it’s already using that tool, it will pause until you change the tool (although
it should prompt you to continue after the tool change)

David Lang

Wouldn’t that mean there is a bug in FW/GC 1.26 compared to 1.24?
That it does not stop in GC 1.26 can’t be related to the fake-server mode, can it?