Welcome to Our Community

Some features disabled for guests. Register Today.

Alarm 8 help, while limit switches triggereing strangely

Discussion in 'OpenBuilds Forum Help' started by Cameron Huggins, Jul 10, 2023.

  1. Cameron Huggins

    Builder

    Joined:
    Jan 11, 2022
    Messages:
    9
    Likes Received:
    0
    I'm running an Openbuilds Lead 1010 fully loaded, recently got a blackbox x32 sent to me to replace my 4.

    When homing alarm 8 happens instantly, all limit switches are not active and all axis don't move before alarm message occurs. (I've also tried setting up the grbl to be 10-20mm pull away aswell to make sure I'm not crazy(er)).

    Also going into the trouble shooting menu, when pressed manually the limit switches are not showing as activated. When released hard limit hit alarm goes off, with no change to the troubleshooting page itself.

    Hoping to get this CNC running again for my students.
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,701
    Likes Received:
    4,249
    Did you load a machine profile. The lack of reporting and limits error indicates issues with Grbl Settings.

    CONTROL > Grbl Settings tab > Select machine from the list > Save and reset when prompted

    Also make sure you did section 7.1 (refer 7.2 as well) of the BlackBox X32 Documentation at docs.openbuilds.com

    Make sure your CONTROL is up to date v1.0.370 (for both actions. Old versions of CONTROL does not know the profiles the X32 needs, in case you did use an old version of the software)
     
  3. Cameron Huggins

    Builder

    Joined:
    Jan 11, 2022
    Messages:
    9
    Likes Received:
    0
    Did the steps in control.
    I've just done section 7.1/7.2 Successful, CONTROL is up to date.
    Homing now attempts, but only X axis (then alarm 8 happens after hitting and clearing switch), Z hasn't moved to switch.
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,701
    Likes Received:
    4,249
    Use the Troubleshooting tab and test all switches, making sure a) that they all work and b) more importantly shows up for the correct axis.
     
  5. Cameron Huggins

    Builder

    Joined:
    Jan 11, 2022
    Messages:
    9
    Likes Received:
    0
    Already did, which was why I mentioned the strange behavior with the troubleshooting page, testing switches doesn't change anything on the page, but once pressed shows hard limit reached. (Have already double and triple checked wiring before hand.
     
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,701
    Likes Received:
    4,249
    Which brings us back to:

    No status change indicates one of the parameters our profiles sets in relation to reporting is not set correctly, likely other settings as well.


    Further looks like Grbl Settings (4X vs X32 needs different settings, setting $5=1 instead of $5=7 for example can explain that)

    So please post a copy of your Grbl Settings: CONTROL > Grbl Settings tab > Backup Settings > Upload the file for review after saving it somewhere.
    We'd be happy to review and confirm, but at the moment we have two seperate symptoms that looks like the updated profile has not been loaded yet.
     
  7. Cameron Huggins

    Builder

    Joined:
    Jan 11, 2022
    Messages:
    9
    Likes Received:
    0
    Unfortunately away from the cnc atm. But I got the last uploaded grbl settings. $5=1 is set.
    GrblHAL 1.1f ['$' or '$HELP' for help]

    [12:28:40]$0=10.0 ;Step pulse time, microseconds

    [12:28:40] [ ] $1=255 ;Step idle delay, milliseconds

    [12:28:40] [ ] $2=0 ;Step pulse invert, mask

    [12:28:40] [ ] $3=0 ;Step direction invert, mask

    [12:28:40] [ ] $4=0 ;Invert step enable pin, boolean

    [12:28:40] [ ] $5=1 ;Invert limit pins, boolean/mask

    [12:28:40] [ ] $6=0 ;Invert probe pin, boolean

    [12:28:40] [ ] $8=0 ;Ganged axes direction invert as bitfield

    [12:28:40] [ ] $9=1 ;PWM Spindle as bitfield where setting bit 0 enables the rest

    [12:28:40] [ ] $10=1 ;Status report options, mask

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

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

    [12:28:40] [ ] $13=0 ;Report in inches, boolean

    [12:28:40] [ ] $14=0 ;Limit pins invert, mask

    [12:28:40] [ ] $15=0 ;Coolant pins invert, mask

    [12:28:40] [ ] $16=0 ;Spindle pins invert, mask

    [12:28:40] [ ] $17=0 ;Control pins pullup disable, mask

    [12:28:40] [ ] $18=0 ;Limit pins pullup disable, mask

    [12:28:40] [ ] $19=0 ;Probe pin pullup disable, boolean

    [12:28:40] [ ] $20=0 ;Soft limits enable, boolean

    [12:28:40] [ ] $21=1 ;Hard limits enable, boolean

    [12:28:40] [ ] $22=1 ;Homing cycle enable, boolean (Grbl) / mask (GrblHAL)

    [12:28:40] [ ] $23=3 ;Homing direction invert, mask

    [12:28:40] [ ] $24=100.0 ;Homing locate feed rate, mm/min

    [12:28:40] [ ] $25=1000.0 ;Homing search seek rate, mm/min

    [12:28:40] [ ] $26=250 ;Homing switch debounce delay, milliseconds

    [12:28:40] [ ] $27=10.000 ;Homing switch pull-off distance, millimeters

    [12:28:40] [ ] $28=0.100 ;G73 retract distance, in mm

    [12:28:40] [ ] $29=5.0 ;Step pulse delay (ms)

    [12:28:40] [ ] $30=1000.000 ;Maximum spindle speed, RPM

    [12:28:40] [ ] $31=0.000 ;Minimum spindle speed, RPM

    [12:28:40] [ ] $32=0 ;Laser-mode enable, boolean

    [12:28:40] [ ] $33=5000.0 ;Spindle PWM frequency

    [12:28:40] [ ] $34=0.0 ;Spindle off Value

    [12:28:40] [ ] $35=0.0 ;Spindle min value

    [12:28:40] [ ] $36=100.0 ;Spindle max value

    [12:28:40] [ ] $37=0 ;Stepper deenergize mask

    [12:28:40] [ ] $39=1 ;Enable printable realtime command characters, boolean

    [12:28:40] [ ] $40=0 ;Apply soft limits for jog commands, boolean

    [12:28:40] [ ] $43=1 ;Homing passes

    [12:28:40] [ ] $44=3 ;Homing cycle 1

    [12:28:40] [ ] $45=3 ;Homing cycle 2

    [12:28:40] [ ] $46=0 ;Homing cycle 3

    [12:28:40] [ ] $62=0 ;Sleep Enable

    [12:28:40] [ ] $63=2 ;Feed Hold Actions

    [12:28:40] [ ] $64=0 ;Force Init Alarm

    [12:28:40] [ ] $65=0 ;Require homing sequence to be executed at startup

    [12:28:40] [ ] $70=7 ;Network Services

    [12:28:40] [ ] $73=1 ;Wifi Mode

    [12:28:40] [ ] $74= ;Wifi network SSID

    [12:28:40] [ ] $75= ;Wifi network PSK

    [12:28:40] [ ] $100=199.100 ;X-axis steps per millimeter

    [12:28:40] [ ] $101=199.100 ;Y-axis steps per millimeter

    [12:28:40] [ ] $102=199.100 ;Z-axis steps per millimeter

    [12:28:40] [ ] $110=2500.000 ;X-axis maximum rate, mm/min

    [12:28:40] [ ] $111=2500.000 ;Y-axis maximum rate, mm/min

    [12:28:40] [ ] $112=2500.000 ;Z-axis maximum rate, mm/min

    [12:28:40] [ ] $120=150.000 ;X-axis acceleration, mm/sec^2

    [12:28:40] [ ] $121=150.000 ;Y-axis acceleration, mm/sec^2

    [12:28:40] [ ] $122=150.000 ;Z-axis acceleration, mm/sec^2

    [12:28:40] [ ] $130=810.000 ;X-axis maximum travel, millimeters

    [12:28:40] [ ] $131=730.000 ;Y-axis maximum travel, millimeters

    [12:28:40] [ ] $132=90.000 ;Z-axis maximum travel, millimeters

    [12:28:40] [ ] $320=grblHAL ;Hostname, max: 64

    [12:28:40] [ ] $322=192.168.5.1 ;IP Address

    [12:28:40] [ ] $323=192.168.5.1 ;Gateway

    [12:28:40] [ ] $324=255.255.255.0 ;Netmask

    [12:28:40] [ ] $325=23 ;Telnet port

    [12:28:40] [ ] $326=80 ;HTTP port

    [12:28:40] [ ] $327=81 ;Websocket port

    [12:28:40] [ ] $341=0 ;Tool Change Mode

    [12:28:40] [ ] $342=30.0 ;Tool Change probing distance

    [12:28:40] [ ] $343=25.0 ;Tool Change Locate Feed rate

    [12:28:40] [ ] $344=200.0 ;Tool Change Search Seek rate

    [12:28:40] [ ] $345=200.0 ;Tool Change Probe Pull Off rate

    [12:28:40] [ ] $346=1 ;Restore position after M6 as boolean

    [12:28:40] [ ] $370=0 ;Invert I/O Port Inputs (mask)

    [12:28:40] [ ] $384=0 ;Disable G92 Persistence

    [12:28:40] [ ] $396=30 ;WebUI timeout in minutes

    [12:28:40] [ ] $397=0 ;WebUI auto report interval in milliseconds

    [12:28:40] [ ] $398=35 ;Planner buffer blocks

    [12:28:40] [ ] $481=0 ;Autoreport interval in ms
     
  8. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,701
    Likes Received:
    4,249
    Incorrect, should be 7

    Incorrect should be 1


    Incorrect, should be 511

    Couple others too, but that's enough to prove the machine profile was not loaded.

    1) Use CONTROL V1.0.370
    2) Go to Grbl Settings tab > Select machine from the list > Save and Reset when Prompted
     
  9. Cameron Huggins

    Builder

    Joined:
    Jan 11, 2022
    Messages:
    9
    Likes Received:
    0
    No you were completely right! After redoing section 7.1 I didn't reload the premade profile. Loaded it XY homing works. I modified Z direction because in the profile. But still not homing Z.
     

    Attached Files:

  10. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,701
    Likes Received:
    4,249
    Per your backup you have
    $44=3 ; Homing cycle 1
    $45=3 ; Homing cycle 2

    The bitmask is 1=X, 2=Y, 4=Z

    1+2 = 3 so both cycles are XY at the same time

    Set $44=4 (Z first up and out of the way)
    then leave $45 as 3 (XY after Z = safer)
     
  11. Cameron Huggins

    Builder

    Joined:
    Jan 11, 2022
    Messages:
    9
    Likes Received:
    0
    Thanks for all your help! And guiding me through my studpidity.
     
  12. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,701
    Likes Received:
    4,249
    Welcome anytime, and no worries, grblHALs new more advanced settings can be tricky (but super powerful)
     

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