Welcome to Our Community

Some features disabled for guests. Register Today.

Blackbox job stops after a few minutes

Discussion in 'Controller Boards' started by Nuker, Feb 25, 2020.

  1. Nuker

    Nuker New
    Builder

    Joined:
    Jun 5, 2017
    Messages:
    5
    Likes Received:
    0
    Hello all,

    I'm starting my first program to drill holes in my spoil board and between 3 and 5 minutes into the job the job will just stop running. If I pause and resume it will start again for a few seconds to another minute. But eventually pausing and resuming will not do anything.

    It is also stopping movement during jogging randomly and will not move any axis until I reboot the controller.

    Once it stops responding the serial console will start adding a line of code every few seconds and repeats some lines. (Pic attached of the lines that keep going after the machine freezes) It will keep doing this for a long time over 20 minutes until I turn it off or reboot the controller.


    Any help would be greatly appreciated. And I'm not seeing any stepper faults and the temp in my garage right now is about 50deg F.

    Thanks
     

    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,228
    Likes Received:
    4,349
    I see a lot of serial corruption, thats usually indicative of EMI interference

    - Space USB cable away from any power cables
    - Space USB cable away from any stepper motor wiring
    - Use quality USB cable with ferrite cores on it
    - Try a different port on the PC - avoid front-panel ports - often on cheaper PC cases these connect to the motherboard with unshielded cable
     
  3. Nuker

    Nuker New
    Builder

    Joined:
    Jun 5, 2017
    Messages:
    5
    Likes Received:
    0
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,228
    Likes Received:
    4,349
    It would be better to add some physical distance between them. AC wires near USB (even with shielding) is still going to cause reliability issues.
     
  5. Nuker

    Nuker New
    Builder

    Joined:
    Jun 5, 2017
    Messages:
    5
    Likes Received:
    0
    Thanks Peter, I will move the USB away from the power going to the spindle tonight. When the motion freezes and the lines keep populating like in the screenshot above, Is that indicative of interference? I mean when the machine is stopped the serial console should not have any text scrolling right?
     
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,228
    Likes Received:
    4,349
    Serial console should have scrolling text (acknowledges each line sent) - but it should not have lines being cut short / wierd pauses / any non alphanumeric characters in weird places etc
     
  7. Nuker

    Nuker New
    Builder

    Joined:
    Jun 5, 2017
    Messages:
    5
    Likes Received:
    0
    Sounds good, A new shielded USB cable did much better ran over an hour with 1 stop then after resuming no issue at all. Now I just have to figure out why my circles are ovals :)

    Thanks for your help, Peter.

    Jordan
     
  8. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,228
    Likes Received:
    4,349
    Wizards and Tools > Calibration - and check all three (;
     
  9. Nuker

    Nuker New
    Builder

    Joined:
    Jun 5, 2017
    Messages:
    5
    Likes Received:
    0
    Yeah calibration looks good, I was using a digital calipers and having the gantry push the caliper closed 10 and 100mm at a time. All 3 axis are within .15mm on 100mm movement. Ahhhhhh
     
  10. John Wylie

    Builder

    Joined:
    Mar 10, 2021
    Messages:
    7
    Likes Received:
    13
    I also having similar problem on my Lead 1010 machine, any long running jobs say "job paused" on the Interface unit and stop dead, and if I get it to resume it seems its lost its position and will do something crazy like drive into the waste-board, so now if anything happens and job stops I will home it before anything else. I had a few weeks and not got past trying to surface the wasteboard and acquiring parts to remedy EMI as specified on the docs that is referenced in this forum a few times.

    Now my input to this riddle are a Lead 1010 with high torque motors, I am based in UK so 240v here. an PSU from ooznest 24v/350w 12V/24V 350W Power Supply - Ooznest | Kits, Parts & Supplies , openbuilds limit switches installed, a UK version of the Dewalt from ooznest, dust shoe from OpenBuilds, high quality Festool Midi I vac with anti static hose.

    I have ferrite cores on cables, move Interface and blackbox far away with no power leads crossing, frame earthed, clear dust extraction hose with wire inside and earthed.

    I have stripped the machine down moved it upstairs, rechecked all the wiring to be tight and connected, still get a stop 3/4 into the job, computer driven or via interface.

    Strange thing is when I run the frame and vac hose earthing leads to the earth cable feeding into the psi driving the blackbox (yellow/green in uk plug) the Interface unit goes crazy and faults. so now I have them connected to a copper pipe on my central heating, which I believe is earthed at a different place in my house downstairs, Interface functions ok now. Could the GND on the limit switches be touching the frame and earthing out there?

    Your instructions say never connect GND to earth which makes sense of not changing potential difference and thus flow of electrons in an unexpected way.

    Connecting my MacBook to Interface is pretty flaky though, several attempts needed of starting blackbox first or connecting Mac to Interface first before the FTDI usb driver appears and it connects.

    today I have managed to run two wasteboard hole jobs back to back with all the above, but in the air with no drill bit inserted or contacting the waste-board, but vac and Dewalt router running and dust shoe touching the board. I even held the Interface near the router to see if I could force a error but it did not.

    I have a oscilloscope a multimeter, a spare new blackbox and interface and psu (for my second build coming), what can you advise me here?
     
    #10 John Wylie, Apr 18, 2021
    Last edited: Apr 18, 2021
  11. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,228
    Likes Received:
    4,349
    Latest firmware? V1. 47 at the time of this post.
    The main intention of Interface is to replace the PC.

    However, most of your issues sounds like EMI/Earthing so still some work to do there
     

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