Hello Guest it is April 16, 2024, 12:43:09 AM

Author Topic: New to everything: lines after G04 does not load into Mach3  (Read 1175 times)

0 Members and 1 Guest are viewing this topic.

New to everything: lines after G04 does not load into Mach3
« on: March 15, 2022, 12:11:25 PM »
Hello! I'm using the Mach3 demo to learn how to do G-codes.

I loaded 3 lines of G codes:
G0 X10 Y10
G4 P1
G0 X10

However, only the first 2 lines were successfully loaded. Why is the third line omitted?

Any help is appreciated, thank you!
  - Izzy

Offline Tweakie.CNC

*
  • *
  •  9,195 9,195
  • Super Kitty
    • View Profile
Re: New to everything: lines after G04 does not load into Mach3
« Reply #1 on: March 15, 2022, 05:13:14 PM »
It's perhaps odd but you need a CR after the last line of Gcode.
A common method to ensure this is to place a % symbol as the last line of the Gcode file.

Tweakie.
PEACE
Re: New to everything: lines after G04 does not load into Mach3
« Reply #2 on: March 17, 2022, 04:17:17 PM »
Ah, this helps. Thanks a lot!