Welcome to Our Community

Some features disabled for guests. Register Today.

[ ERROR ] error: 26

Discussion in 'CNC Mills/Routers' started by Lorne Smith, Apr 10, 2023.

  1. Lorne Smith

    Builder

    Joined:
    Dec 4, 2021
    Messages:
    19
    Likes Received:
    1
    [ ERROR ] error: 26 - A G-code command implicitly or explicitly requires XYZ axis words in the block, but none were detected. [ G10 ]
    I am finally running my first real job and needed to shut it down overnight as we were having hydro supply issues and I did not want it to crash during the night.
    I know the number of the line where it was shut down and using the recovery wizard I got the above message.
    I am running a Lead machine 1010 standard.
    I have no idea how to fix it and I have been unable to find the answer.
    Can someone tell me what I need to do to satisfy the above issue. This is all new to me. Thanks.
     
  2. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,008
    Likes Received:
    1,676
    When I have done similar things with 3D printers, I just leave all the beginning code that is in every file in there, then I delete everything up until the line of code where I want to restart. I edit the code using notepad. That being said, I have not done it with OpenBuilds Control. So maybe someone else can chime in.
     
  3. Lorne Smith

    Builder

    Joined:
    Dec 4, 2021
    Messages:
    19
    Likes Received:
    1
    That certainly makes sense but there is still that XYZ axis issue that needs to be addressed. I haven't found the solution for that.
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,921
    Likes Received:
    4,291
    You are just sending G10. G10 needs other parameters too (for example G10 L20 X0 Y0 Z0)
    Learn more at G Codes

    That lonely G10 might be present in your original gcode file (are you sure its a grbl compatible CAM, where is it from, what CAM / post processor are you using?)

    Post your original gcode file, the modified one after recovery wizard tried to modify it (save gcode button on gcode editor tab) and also exact line number to start from.
     
    David the swarfer likes this.
  5. Lorne Smith

    Builder

    Joined:
    Dec 4, 2021
    Messages:
    19
    Likes Received:
    1
    The gcode is from a purchased STL file converted to .nc file using MeshCAM V9.

    OpenBuilds control v1.0.364 was processing the file satisfactorily until I shut it down at line 33526.

    This is all new to me but I hope to eventually understand the fundamental commands so I can progress in this fascinating technology.

    Thanks for your help. Lorne.
     

    Attached Files:

  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,921
    Likes Received:
    4,291
    Are you using our MeshCAM Post Processor? GitHub - OpenBuilds/OpenBuilds-MeshCAM-Postprocessor

    Apart from that, it does appear something to-do with the recovery wizard, will log ticket on Github for you - may take a while to get analysed and fixed.

    In the meantime, go to the Gcode editor tab, and remove the G10 commands at the top of the file before running it

    upload_2023-4-11_19-35-35.png

    Also weird, we can see 5x "; Recovered GCODE Use at your OWN RISK" lines. Running the recovery tool adds that warning to the top of the file. Being there more than once: indicates you tried recovering the recovered gcode by recovering the earlier recovery of the recovery. That is not good. Open the original file, and do one recovery on it - multiple passes will cause issues.
     
  7. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,921
    Likes Received:
    4,291
    Well, or theres more to the story. When I do a recovery on Original gcode.gcode from line 33526

    It does not add G10s - so... did you add those manually?

    upload_2023-4-11_19-58-0.png
     

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