Newbie Gcode Errors - help


Results 1 to 2 of 2

Thread: Gcode Errors - help

  1. #1
    Member
    Join Date
    Jul 2011
    Location
    United States
    Posts
    124
    Downloads
    0
    Uploads
    0

    Default Gcode Errors - help

    It's my first time milling anything and using fusion 360. I made a basic part and have it setup into 3 operations. 1 facing, 1 drilling and 1 cutting. Super basic. Fusion 360 works without errors. I post process one at a time and when I open the gcode file in flashcut software i get a few errors.
    Lots of M code errors. I'm not using it to turn anything on/off so is there a way to let fusion know I don't need any of these?
    Unable to parse line error

    The vector to the center defines
    an invalid arc. The arc cannot
    be drawn from the beginning point
    to the ending point with the
    center as specified.

    Unable to parse the line.

    The error "S10000 M3" say I had to delete the M codes by hand to make this work, would I delete the entire line or just the M# command?

    I'll break each quote down into each post process so it's easier to read


    Loading program...
    Error code 10009 on line 6:
    The M-Code is not defined
    Error code 10009 on line 8:
    The M-Code is not defined
    Error code 10009 on line 9:
    The M-Code is not defined
    Error code 10009 on line 11:
    The M-Code is not defined
    Error code 10027 on line 13:
    Unable to parse the line

    Error code 10009 on line 14:
    The M-Code is not defined
    Error code 1332 on line 31:
    The vector to the center defines
    an invalid arc. The arc cannot
    be drawn from the beginning point
    to the ending point with the
    center as specified.

    ------------------------------------
    Program Load Stopped
    Errors: 7
    Warnings: 0


    here is the first 31 lines of gcode
    : (PGM, NAME="1001")
    ; T2 D=0.25 CR=0 - ZMIN=-0.005 - FLAT END MILL
    : G90 G40 G94
    G17
    G70
    M26
    ; FACE2
    M9
    M26
    :T2 M6
    M26
    S10000 M3
    H0
    M9
    G0 X1.2524 Y1.6571
    Z0.45
    Z0.2
    G1 Z0.02 F4
    Y1.6568 Z0.0161
    Y1.6559 Z0.0123
    X1.2523 Y1.6544 Z0.0087
    X1.2522 Y1.6524 Z0.0053
    X1.2521 Y1.6498 Z0.0023
    X1.252 Y1.6468 Z-0.0002
    X1.2518 Y1.6435 Z-0.0023
    X1.2517 Y1.6399 Z-0.0038
    X1.2515 Y1.6361 Z-0.0047
    X1.2514 Y1.6322 Z-0.005
    X1.2454 Y1.4948
    X1.1122 Y-1.5964 F14.6
    G17 G2 X0.9801 Y-1.5907 I1.0462 J-1.5936

    Loading program...
    Error code 10009 on line 6:
    The M-Code is not defined
    Error code 10009 on line 8:
    The M-Code is not defined
    Error code 10009 on line 9:
    The M-Code is not defined
    Error code 10009 on line 11:
    The M-Code is not defined
    Error code 10027 on line 13:
    Unable to parse the line

    Error code 10009 on line 14:
    The M-Code is not defined
    Error code 10020 on line 19:
    The specified axis is not in use
    Error code 10020 on line 20:
    The specified axis is not in use

    Error code 10009 on line 23:
    The M-Code is not defined
    Error code 10009 on line 24:
    The M-Code is not defined
    ------------------------------------
    Program Load Completed
    Errors: 10
    Warnings: 0


    : (PGM, NAME="1001")
    ; T2 D=0.25 CR=0 - ZMIN=-0.355 - FLAT END MILL
    : G90 G40 G94
    G17
    G70
    M26
    ; DRILL1
    M9
    M26
    :T2 M6
    M26
    S10000 M3
    H0
    M9
    G0 X0.5292 Y-0.4771
    Z0.6
    G17
    G0 Z0.2
    G98 G81 X0.5292 Y-0.4771 Z0.55 R0.195 W0.2 F4
    X-0.5339 Y0.4668 W0.2

    G80
    Z0.6
    M9
    M26
    G0 X0 Y0
    M30
    M2
    And the last portion of the part
    Loading program...
    Error code 10009 on line 6:
    The M-Code is not defined
    Error code 10009 on line 8:
    The M-Code is not defined
    Error code 10009 on line 9:
    The M-Code is not defined
    Error code 10009 on line 11:
    The M-Code is not defined
    Error code 10027 on line 13:
    Unable to parse the line

    Error code 10009 on line 14:
    The M-Code is not defined
    Error code 1332 on line 31:
    The vector to the center defines
    an invalid arc. The arc cannot
    be drawn from the beginning point
    to the ending point with the
    center as specified.



    : (PGM, NAME="1001")
    ; T2 D=0.25 CR=0 - ZMIN=-0.265 - FLAT END MILL
    : G90 G40 G94
    G17
    G70
    M26
    ; 2D CONTOUR2
    M9
    M26
    :T2 M6
    M26
    S10000 M3
    H0
    M9
    G0 X-1.1162 Y0.3514
    Z0.395
    Z0.2
    G1 Z0.0694 F4
    Z-0.005
    X-1.1159 Y0.3515 Z-0.0089
    X-1.115 Y0.3516 Z-0.0127
    X-1.1135 Y0.3518 Z-0.0163
    X-1.1115 Y0.3521 Z-0.0197
    X-1.109 Y0.3525 Z-0.0227
    X-1.106 Y0.3529 Z-0.0252
    X-1.1027 Y0.3534 Z-0.0273
    X-1.0991 Y0.354 Z-0.0288
    X-1.0954 Y0.3545 Z-0.0297
    X-1.0915 Y0.3551 Z-0.03
    X-1.0668 Y0.3588
    G17 G3 X-1.0457 Y0.3872


    Similar Threads:
    MaxNC15 - currently under construction
    Torchmate 2x2 with Flashcut CNC Controls


  2. #2
    Community Moderator Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    5717
    Downloads
    0
    Uploads
    0

    Default Re: Gcode Errors - help

    Looks like you need to set up the output for the post processor. Also looks like you are using Absolute Arc Center, where the machine is expecting Incremental Arc Center. There is a setting for this in the post setup.

    Does Fusion have a post processor specific to your machine?, You should find settings in the setup to turn various outputs on and off. If you are using a generic post processor, then you may have to do some editing in the top area of the post processor.



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Gcode Errors - help

Gcode Errors - help