Welcome to Our Community

Some features disabled for guests. Register Today.

FlatCam .NC won't Run

Discussion in 'Control Software' started by Jateu, Sep 3, 2024.

  1. Jateu

    Jateu New
    Builder

    Joined:
    Sep 3, 2024
    Messages:
    2
    Likes Received:
    0
    Is there a specific .nc config I'm missing here. Flatcam is doing exactly as i need for pcbs but cannot get cnc control to run. Constantly getting Error 20
     
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,509
    Likes Received:
    4,422
    Haven't used FlatCAM in a while, does it allow you to pick a gcode flavour/post processor/firmware type anywhere in its settings (Make sure it exports Grbl compatible gcode) - I don't recall it needing anything special

    Error 20 = Unsupported or invalid g-code command found in block. So something in your GCODE is not Grbl compatible entirely

    Or post the file for review, perhaps invalid gcode in your Prepend/Append blocks?

    upload_2024-9-3_14-20-4.png
     
  3. Jateu

    Jateu New
    Builder

    Joined:
    Sep 3, 2024
    Messages:
    2
    Likes Received:
    0
    You are correct i can change gcode flavour to GRBL_11_NO_M6. this seems to have resolved the issue. Just have to manually start the spindle but otherwise fine.
     
  4. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,509
    Likes Received:
    4,422
    That's what the Prepend/Append blocks are for, add your M3Sxxx where xxx = RPM (or 1000 if its a IoT+Router setup) commands for on and M5 for off, G4 Pxxx where xxx = seconds to delay after powering up to give spindle time to come up to speed etc

    If you have a moment, do grab screenshots of the process to pick GRBL_11_NO_M6, we don't mind adding it to the docs to helps the next person :)
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice