How should my GCODE begin?

New Home Forum Mostly Printed CNC – MPCNC Advice – MPCNC How should my GCODE begin?

This topic contains 5 replies, has 4 voices, and was last updated by  Mike Atencio 5 months, 1 week ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #102721

    Mike Atencio
    Participant

    Which of these is the correct start code for my GCode to begin? Or is there a different start code?

    This comes from a converter at: https://www.cnctoolsworld.com/application-all_to_g_code_converter_free-2.html

    1. G1 F1000
    2. Z10
    3. {NextPoint}
    4. Z0
    #102748

    MegaDad3D
    Participant

    “It was a dark and stormy night…”

    A bit cliche’d, but a classic.

    If that’s not your style, then this is what I have in Estlcam for Program start:

    ;Project <project>
    ;Created by Estlcam version <version> build <build>
    ;Machining time about <time> hours

    G90
    M03 S

    2 users thanked author for this post.
    #102753

    Mike Atencio
    Participant

    Hahahahahaha, Thanks

    #102780

    Barry
    Participant

    Welp, that’s getting added to my processor!

     

    Hahahahahahahahaha!!

    ;It was a dark and stormy night
    ;Project just-logo
    ;Created by Estlcam version 11 build 11.019
    ;Machining time about 00:05:00 hours

    G90
    M03 S24000
    G00 Z5.0000 F480

    ;No. 1: Hole 2
    G00 X25.4850 Y53.7435 F2100
    G00 Z0.5000 F480
    G02 X24.9225 Y53.4187 Z0.2750 I-0.3750 J0.0000 F480 S24000
    G02 Y54.0683 Z0.0500 I0.1875 J0.3248 F480
    G02 X25.4850 Y53.7435 Z-0.1750 I0.1875 J-0.3248 F480
    G02 X24.9225 Y53.4187 Z-0.4000 I-0.3750 J0.0000 F480
    G02 Y54.0683 Z-0.6250 I0.1875 J0.3248 F480
    G02 X25.4850 Y53.7435 Z-0.8500 I0.1875 J-0.3248 F480
    G02 X24.9225 Y53.4187 Z-0.9000 I-0.3750 J0.0000 F480
    G02 Y54.0683 Z-0.9500 I0.1875 J0.3248 F480
    G02 X25.4850 Y53.7435 Z-1.0000 I0.1875 J-0.3248 F480
    G02 X24.9225 Y53.4187 I-0.3750 J0.0000 F480
    G02 Y54.0683 I0.1875 J0.3248 F480

    #102788

    Brian
    Participant

    And all this time I thought it was supposed to be:

    ;A long time ago in a galaxy far, far away…

    🙂

     

    1 user thanked author for this post.
    #102791

    Mike Atencio
    Participant

    Once upon a time, long, long ago, there was a…  Which works just as well. LOL

    Last night I made my waste board. Well, the cuts made it obvious that my board wasn’t level with the machine. I corrected the issues and tried to go back over it again. It went halfway and then it stopped moving and stayed in one hole.

    I shut down, reset X0Y0 and started up. This time it acted like I had rotated the waste board 90 degrees. I shut down again, changed my XY around in Ramo, started up, reset to X0Y0 and believe it or not, it did the same thing going to the same place… It was like I didn’t change the XY direction. I shut down and changed my cables back, reset XY and it still does the same thing. I think the code is corrupted.

    I’m going to delete the file off the SD card and replace it with the original.

    With all that, can the program make its own changes like that?  My fairytale turned into Nightmare on Elm Street!  lol

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.