Welcome to Our Community

Some features disabled for guests. Register Today.

What did I do to get error:2

Discussion in 'OpenBuilds Forum Help' started by John Mitchell, Mar 23, 2024.

  1. John Mitchell

    Builder

    Joined:
    Dec 8, 2021
    Messages:
    5
    Likes Received:
    0
    Ive been cutting shapes with my diy plasma cutter until it sent me...

    error:2 Numeric value is not valid or missing an expected value [ PK ]
    When I send $ [HLP: $ $# $G $I $N $X=val $Nx=line $SLP $C $X $H ~ ! ? ctrl-x]

    What does it mean and how do I fix it?
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,867
    Likes Received:
    4,283
    Reboot. Just EMi from the Plasma messing with the Serial queues :)
     
  3. John Mitchell

    Builder

    Joined:
    Dec 8, 2021
    Messages:
    5
    Likes Received:
    0
    Wish I could say rebooting fixed my problem but it didn't.
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,867
    Likes Received:
    4,283
    Looks like corrupted OK.

    Does your code contain a PK?
     
  5. John Mitchell

    Builder

    Joined:
    Dec 8, 2021
    Messages:
    5
    Likes Received:
    0
    Yes it does contain [PK]
     
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,867
    Likes Received:
    4,283
    Well then the error is spot on. Valid gcode only please...
     
  7. John Mitchell

    Builder

    Joined:
    Dec 8, 2021
    Messages:
    5
    Likes Received:
    0
    Sounds like the OpenBuilds community is going to throw me off the island.
    Hate to be the village idiot but how do I achieve this valid gcode?
    What did I do to cause the problem?
     
  8. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,867
    Likes Received:
    4,283
    The more info you include the more we are able (and willing) to assist.
    Where's the gcode from that contains these non gcode commands. What CAM are you using. Are you sure it's Grbl compatible? etc
    Include full logs (not truncated) and samples of any gcode you are needing help with. With how little you give us, best we can offer are a couple guesses
     
  9. John Mitchell

    Builder

    Joined:
    Dec 8, 2021
    Messages:
    5
    Likes Received:
    0
    Fusion 360 CAD and OpenBuilds as the CAM. That combo had worked well for two months with over 50 drawings converted to metal parts. 3 days ago I opened my computer to burn a part and the [PK] error code would not allow it. That means everything was compatible.
     
  10. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,769
    Likes Received:
    1,357
    Can't help much with where that errant g-code came from, neither programme should produce that, but I do recommend learning Fusion cam - Openbuilds cam is deliberately designed as a simple "get you started" option.
    Use this post processor with Fusion cam -

    docs:software:fusion360 [OpenBuilds Documentation]

    Alex.
     
    #10 Alex Chambers, Mar 24, 2024
    Last edited: Mar 25, 2024
  11. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,867
    Likes Received:
    4,283
    We're still waiting
     

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