Welcome to Our Community

Some features disabled for guests. Register Today.

GCODE Parser ] GCODE File (from gcode editor) sent to backend

Discussion in 'OpenBuilds Bug Report' started by dominic girard, May 8, 2023.

  1. dominic girard

    Builder

    Joined:
    May 8, 2023
    Messages:
    15
    Likes Received:
    1
    HI GUYS !

    I have a CNC with a controller however it only sends the code to the back end since we had a power outage

    this is my g code and in attenchement file you have my backup setting

    [11:11:09] [ connect ] Detecting Firmware: Method 2 (Ctrl+X)

    [11:11:09] [ ] Grbl 1.1g ['$' for help]

    [11:11:11] [ $$ ] $0=10 ;Step pulse time, microseconds

    [11:11:11] [ $$ ] $1=255 ;Step idle delay, milliseconds

    [11:11:11] [ $$ ] $2=0 ;Step pulse invert, mask

    [11:11:11] [ $$ ] $3=7 ;Step direction invert, mask

    [11:11:11] [ $$ ] $4=1 ;Invert step enable pin, boolean

    [11:11:11] [ $$ ] $5=0 ;Invert limit pins, boolean/mask

    [11:11:11] [ $$ ] $6=0 ;Invert probe pin, boolean

    [11:11:11] [ $$ ] $10=1 ;Status report options, mask

    [11:11:11] [ $$ ] $11=0.010 ;Junction deviation, millimeters

    [11:11:11] [ $$ ] $12=0.002 ;Arc tolerance, millimeters

    [11:11:11] [ $$ ] $13=0 ;Report in inches, boolean

    [11:11:11] [ $$ ] $20=0 ;Soft limits enable, boolean

    [11:11:11] [ $$ ] $21=0 ;Hard limits enable, boolean

    [11:11:11] [ $$ ] $22=0 ;Homing cycle enable, boolean (Grbl) / mask (GrblHAL)

    [11:11:11] [ $$ ] $23=0 ;Homing direction invert, mask

    [11:11:11] [ $$ ] $24=25.000 ;Homing locate feed rate, mm/min

    [11:11:11] [ $$ ] $25=500.000 ;Homing search seek rate, mm/min

    [11:11:11] [ $$ ] $26=250 ;Homing switch debounce delay, milliseconds

    [11:11:11] [ $$ ] $27=1.000 ;Homing switch pull-off distance, millimeters

    [11:11:11] [ $$ ] $30=1000 ;Maximum spindle speed, RPM

    [11:11:11] [ $$ ] $31=0 ;Minimum spindle speed, RPM

    [11:11:11] [ $$ ] $32=0 ;Laser-mode enable, boolean

    [11:11:11] [ $$ ] $100=320.000 ;X-axis steps per millimeter

    [11:11:11] [ $$ ] $101=320.000 ;Y-axis steps per millimeter

    [11:11:11] [ $$ ] $102=320.000 ;Z-axis steps per millimeter

    [11:11:11] [ $$ ] $110=2000.000 ;X-axis maximum rate, mm/min

    [11:11:11] [ $$ ] $111=2000.000 ;Y-axis maximum rate, mm/min

    [11:11:11] [ $$ ] $112=500.000 ;Z-axis maximum rate, mm/min

    [11:11:11] [ $$ ] $120=300.000 ;X-axis acceleration, mm/sec^2

    [11:11:11] [ $$ ] $121=300.000 ;Y-axis acceleration, mm/sec^2

    [11:11:11] [ $$ ] $122=300.000 ;Z-axis acceleration, mm/sec^2

    [11:11:11] [ $$ ] $130=380.000 ;X-axis maximum travel, millimeters

    [11:11:11] [ $$ ] $131=576.000 ;Y-axis maximum travel, millimeters

    [11:11:11] [ $$ ] $132=70.000 ;Z-axis maximum travel, millimeters

    [11:11:11] [ $$ ] ok

    [11:11:11] [ $I ] [VER:1.1g.20181112:]

    [11:11:11] [ $I ] [OPT:V,15,128]

    [11:11:11] [ $I ] ok

    [11:11:11] [ $G ] [GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0]

    [11:11:11] [ $G ] ok

    [11:11:12] [ connect ] Firmware Detected: grbl version 1.1g on COM8

    [11:11:34] [ GCODE Parser ] GCODE File (from gcode editor) sent to backend
     

    Attached Files:

  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Have you tested your power supply?
    What version of CONTROL are you on?
     
  3. dominic girard

    Builder

    Joined:
    May 8, 2023
    Messages:
    15
    Likes Received:
    1
    hi the power suply are good and the controler are
    BlackBox Motion Control System
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
  5. dominic girard

    Builder

    Joined:
    May 8, 2023
    Messages:
    15
    Likes Received:
    1
    this is the 4x
     
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Still no reply to the very first question?
    upload_2023-5-8_21-47-53.png
     
  7. dominic girard

    Builder

    Joined:
    May 8, 2023
    Messages:
    15
    Likes Received:
    1
    i use the same version openbuilds control v1.0.367
     
  8. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Right, next up, you said

    But then posted the Serial log (no GCODE)

    Can you properly post the GCODE so we can check for you? Use the Upload a File button
     
  9. dominic girard

    Builder

    Joined:
    May 8, 2023
    Messages:
    15
    Likes Received:
    1
    the original question are why he send the code in backend ..

    but this is my file
     

    Attached Files:

  10. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    The frontend (GUI) sits on top of a backend (Server) that talks to your controller. Thats all exactly fine

    But your GCODE doesn't start running per your report.
    So either controller doesn't have power (confirmed)
    Grbl settings are wrong (But its not)
    or theres an issue with the gcode

    And you gcode contains an M6 on line 1, so its not Grbl Compatible. Use a Grbl Compatible CAM/Post please
    docs:software:overview [OpenBuilds Documentation]
     
    David the swarfer likes this.
  11. dominic girard

    Builder

    Joined:
    May 8, 2023
    Messages:
    15
    Likes Received:
    1
    the powersuply give 24.16V to the controler

    is it possible the controler was dead?
     
  12. dominic girard

    Builder

    Joined:
    May 8, 2023
    Messages:
    15
    Likes Received:
    1
    do you have a solution plz :/ i have some job :\

    thx you so much am wating your anser
     
  13. dominic girard

    Builder

    Joined:
    May 8, 2023
    Messages:
    15
    Likes Received:
    1
    other file without g6
     

    Attached Files:

  14. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Do you have another computer to try? (Could be something PC specific, we know it works fine for everyone else)
    Do you have any firewalls, etc that could be blocking comms between frontend and backend?
     
  15. dominic girard

    Builder

    Joined:
    May 8, 2023
    Messages:
    15
    Likes Received:
    1
    I'll try thank you I'll get back to you
     
  16. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,489
    Likes Received:
    1,925
    gcode works ok for me
    but
    I predict you are going to have problems in the future because that Gcode has no header that sets the modes
    looks like metric code, so it should have at least
    G21 G90

    Gcode must always set the modes it expects because it cannot know what happened before it loaded.
    some macro or previous file may have used inch mode
    some macro or previous file may have set incremental mode
    and so on.
     
  17. dominic girard

    Builder

    Joined:
    May 8, 2023
    Messages:
    15
    Likes Received:
    1
    unt this time i need to try on other pc because i dont have any firewall and the only error i have are gcode send to backend ... i try this tomorow
     
  18. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Not an ERROR, just a report that the frontend, sent the gcode to the backend for furthe processing. If nothing further happens, its a PC specific problem of some sorts
     
  19. dominic girard

    Builder

    Joined:
    May 8, 2023
    Messages:
    15
    Likes Received:
    1
    Hiii guys thank you soo much for your help!!
    After a fresh install of Windows all of cnc work
     
  20. dominic girard

    Builder

    Joined:
    May 8, 2023
    Messages:
    15
    Likes Received:
    1
    Good morning,

    I did one task that was fine after the same problem occurred.

    I tried with another computer and the problem presented itself as soon as I connected and pressed the play button

    after all of this test is it my controler ?
     
  21. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    I'd still say a PC problem of sorts. Did you reinstall anything else since it worked (firewall, 3rd party antivirus/antimalware, any other applications)
     
  22. dominic girard

    Builder

    Joined:
    May 8, 2023
    Messages:
    15
    Likes Received:
    1
    However I made no changes on the computer
     
  23. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    To really rule it out, do you have a different PC at hand you can do a quick test with? If it works on there, controller is fine
     
  24. dominic girard

    Builder

    Joined:
    May 8, 2023
    Messages:
    15
    Likes Received:
    1
    same problem at this time. i have try with my mac
     
  25. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    David the swarfer likes this.
  26. dominic girard

    Builder

    Joined:
    May 8, 2023
    Messages:
    15
    Likes Received:
    1
    after some hours of diag...

    some little piece of aluminium in drive motor connector .....
    so the controler fall in protection mode..


    thanks you soo much
     
    #26 dominic girard, May 18, 2023
    Last edited by a moderator: May 19, 2023
    Alex Chambers likes this.

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