Welcome to Our Community

Some features disabled for guests. Register Today.

Blackbox x32 Crash after Z-probe

Discussion in 'General Talk' started by Trevor Farnum, Apr 9, 2023.

  1. Trevor Farnum

    Builder

    Joined:
    Feb 15, 2017
    Messages:
    57
    Likes Received:
    10
    Running a job that required me to change bits, so I had to reset my z axis height but nothing else. X and Y I needed constant and I couldn't reset those.

    Pulled out my dandy Openbuilds probe, placed the magnet on cullet. Tested to make sure it worked. Went to my interface and told it to probe Z. Jogged the router a bit so when it went down on z it wasn't just going into the probe 0,0,0 hole. The bit came down, hit the probe, returned up and the Blackbox crashed and my interface rebooted. Full on boot screen. Blackbox made strange noises until I moved it slightly.

    Question is, how do I get logs from this to see what's wrong? Why it crashed. It did happen to save my coordinates, which I thought was a little odd as after reboot it wasn't at 0,0,0.

    How can I get to logs?
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,868
    Likes Received:
    4,283
    When it went up, did it your Z axis limits?

    Reboot usually relates to drop in power rail, in turn often caused by faulty wiring / shorts, and miswiring limits are mentioned in our documentation as a point to be careful about.

    Coordinates are stored in eeprom. They are offsets from Home. After a reset one should Re-home to bring the stored coordinates back into reality
     
  3. Trevor Farnum

    Builder

    Joined:
    Feb 15, 2017
    Messages:
    57
    Likes Received:
    10
    Nope, did not hit my limit switches. All of which are Openbuilds limit switches. Each one tested out properly before I started the job. I do that before I home the device each time just to make sure nothing is wrong - and each one tested out fine this time before starting job #1. The reboot happened between job #1 and job #2.

    I do have to say though, I have recently noticed which may be completely unrelated, is that over the last month I have had it boot 2x and tapping the interface buttons just gives me a beep. Won't jog anything. Power down and back up and it works just fine. Today was the first time I had it reboot upon zeroing.

    How would you propose I test the wires? All switches appear working correctly.
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,868
    Likes Received:
    4,283
    Visual inspection. Wires stripped to far back, revealing bare wire outside connectors that could touch while being tugged around. Chaffed through wiring. Strain points and tight radius corners. Test run with limits unplugged to see if things improve. Limits was just one example of course, could be probe wiring, etc too
     
  5. Trevor Farnum

    Builder

    Joined:
    Feb 15, 2017
    Messages:
    57
    Likes Received:
    10
    Will do.

    I happened to use shielded cable for the limit switches as that was going in originally without the Openbuilds limit switches. Since I switched to Openbuilds, what do you suggest happens with the shielding. Just trim it back or drop it into ground? Might want to redo a few sections I know are tight.

    Thanks.
     
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,868
    Likes Received:
    4,283
    See docs:blackbox-x32:faq-emi [OpenBuilds Documentation]

    Most importantly, keep it clean so the braid can't cause shorts:
    Trimmed back but left bare it can fray and cause shorts, so neaten up with heatshrink tubing or similar, for example

    Good
    [​IMG]

    Bad:
    upload_2023-4-10_14-3-37.png
     
  7. Trevor Farnum

    Builder

    Joined:
    Feb 15, 2017
    Messages:
    57
    Likes Received:
    10
    The documentation states: "The shield has to be connected to Earth to channel away any EMI that induces in the shield, thus acting as a barrier preventing EMI from entering/exiting the wires inside the shield. "

    If I am reading this right, and from our past conversations about limit switches, I should just join up the shielding into the ground port on each limit switch so that it travels all the way back to DC Ground. I don't think I'm supposed to isolate that and run a special wire to the V- DC Ground on the power supply; doesn't the GND on the limit switch effectively go to the same place?

    I purchased a bunch of molex pin connectors so I can solder all my ends and put on heat shielding. It's what I did for my original build to make sure I had zero possible shorts with stray wires. Made for a super simple install originally, so I will go back and redo that for all my new limit switches. I suppose I can solder the shielding braids into the ground molex as well and get that covered with heat shielding too. I'll reterminate and run additional tests to see if I can get another reboot. Thanks again.
     
  8. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,002
    Likes Received:
    1,676
    DC ground is NOT the same as earth. Do not connect it to DC ground. You could damage the electronics. The ground on the limit switch goes to the black box which is connected to the 24V power supply. So, technically yes they share that common DC low voltage ground. "Earth" is also referred to as ground in High Voltage (1100r 220V). But Earth goes to an actual rod buried in the earth outside your house circled in red. upload_2023-4-12_20-8-25.png
     
    #8 Giarc, Apr 12, 2023
    Last edited: Apr 12, 2023
  9. Trevor Farnum

    Builder

    Joined:
    Feb 15, 2017
    Messages:
    57
    Likes Received:
    10
    Isn't that mains earth? No different than plugging into the ground on my power supply? The ground on my power supply goes to the ground on my outlet, which goes to the mains earth ground spike outside. I thought that was bad?

    I'm going back to my conversation with Peter (Limit Switch Grounding). The last post was to go to "DC GND or a separate Earth Spike". I don't have a separate earth spike, so thought DC GND would fit the bill.

    At this point, I think the safe play is to just cut the shielding off and hide it inside heat-shrink tubing. Not ground it at all and rely on the OpenBuild limit switch's ability to run without shielded cable.
     

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