Welcome to Our Community

Some features disabled for guests. Register Today.

Switching from Arduino running GRBL to BB X32 running GRBLHAL

Discussion in 'CNC Mills/Routers' started by Scott Thompson, Apr 29, 2024.

  1. Scott Thompson

    Builder

    Joined:
    Nov 13, 2019
    Messages:
    47
    Likes Received:
    8
    As per the title I have gone from GRBL to GRBLHAL. Some settings are different such as $22 Homing cycle enable/disable. In GRBL, $22 is boolean and in GRBLHAL is an 8 bit mask (which is a little confusing). Is there any documentation that helps people migrate from GRBL settings to GRBLHAL settings?
    Thanks,
    Scott
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,507
    Likes Received:
    4,422
    Enter $$=22 for example into the Serial Terminal, grblhal will output the Help for that command

    upload_2024-4-29_20-18-39.png

    (TIP: Only 1 and 0 is typically used with CONTROL)

    Note that if you have an existing Grbl Backup from CONTROL, just import it into the X32 using CONTROL > Restore Backup and we'll apply the needed changes for you. No custom work needed

    Make sure you have a solid working machine first before customizing (just the import as first test - no changes), and make sure you have a backup from when it was working before making changes so you have something to fall back on
     
    David the swarfer likes this.
  3. Scott Thompson

    Builder

    Joined:
    Nov 13, 2019
    Messages:
    47
    Likes Received:
    8
    Thanks for the info Peter. So a good starting point for $22 would be 3 (bit 0 and 1 set to '1')
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,507
    Likes Received:
    4,422
    No i mean as values, we either do $22=0 (OFF) or $22=1 (ON) typically.
     
  5. Scott Thompson

    Builder

    Joined:
    Nov 13, 2019
    Messages:
    47
    Likes Received:
    8
    Got it! Thanks
     

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