Welcome to Our Community

Some features disabled for guests. Register Today.

BlackBox

Discussion in 'Other Builds' started by Mark Carew, Feb 22, 2019.

  1. JacobE1988

    Builder

    Joined:
    Jul 23, 2019
    Messages:
    34
    Likes Received:
    13
    Do you know how to add M8/M9 commands in Aspire so that the post processor automatically adds it to the code?
     
    Peter Van Der Walt likes this.
  2. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,030
    Likes Received:
    1,428
    I dont have Aspire, but I do have vCarve desktop. I've started a thread that shows how to modify the post processor. I dont know if Aspire is different, but check this out: https://openbuilds.com/threads/vcarve-grbl-post-processor-mods.14580/

    I would try adding M8 to the SPINDLE_ON command. And add M9 to the M5 command at the bottom.

    Lets maybe move this discussion over to my thread above.
     
  3. JacobE1988

    Builder

    Joined:
    Jul 23, 2019
    Messages:
    34
    Likes Received:
    13
    So I finally got my shielded wire in the other day for my spindle so I was able to get around to wiring it up. I'm having some issues due to some confusion between multiple write-ups on how to go about this with the BB. Once it's figured out I'll be doing a full detailed write-up and youtube video that will hopefully be a little clearer than what's currently out there. But anyways here's what's going on...

    Huanyang 2.2kw 220v Spindle and VFD.

    I have the jumper in the VFD moved to VI from VR. I also have the jumper in the BB moved to M8/M9.

    I have a jumper wire on the top row of green connection going from FOR to DCM. I have the BB Toolhead 0-10v connected to VI and the GND to ACM, both on the bottom row of green connections.

    I have $30=24000 and $31=8000.

    With that setup I input command "M3 S8000" and the spindle starts moving but EXTREMELY slow. I input S16000 and it moves much faster. I don't recall the actual numbers. "M5" stops the spindle.

    Changed $31=0 and input "M3 S8000" and the spindle got up to about 4000 rpm per the VFD screen. "S16000" got a reading about 9000 rpm. M5 stops spindle.


    So at this point I don't know why the RPMs are low. Nor do I understand why people are saying to connect the relay to the DCM/FOR. Bobbuilds has his hooked up like mine but apparently gets the correct speeds. And another article by someone else adds the relay. Also, when they say "relay" are they talking about the one labeled "cool" or the actual "relay"?

    I'm trying to get this broken down barney style for my write-up but what I've seen out there makes it all pretty confusing.
     
  4. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,030
    Likes Received:
    1,428
    Have you verified the voltage coming out of the Tool Head connection on the BB? Are you getting 10V when you run M3 S24000?
     
    JacobE1988 likes this.
  5. JacobE1988

    Builder

    Joined:
    Jul 23, 2019
    Messages:
    34
    Likes Received:
    13
    I calibrated that the other day. Unless it somehow changed during one of the firmware flashes I've done since I calibrated it, it should still be putting out 10v. I can check that again tonight.
     
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,749
    Likes Received:
    4,070
    Try $31=0

    Although the minimum rpm is 8000rpm, the vfd may want 24000/8000*10v to do 8000 rpm.

    So setting $31=8000 shifts the scale
     
  7. JacobE1988

    Builder

    Joined:
    Jul 23, 2019
    Messages:
    34
    Likes Received:
    13
    As I stated above, I tried both $31=0 and $31=8000. They both produced different results. $31=0 produced the higher rpm of 4000 when sending S8000.
     
  8. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,749
    Likes Received:
    4,070
    oops, sorry, I see now :)
    Well, then VFD settings more likely:
    PD002=1 and PD070=0?
     
  9. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,749
    Likes Received:
    4,070
    Some VFDs doesnt turn off when 0-10v input = 0v. So you have to use the relay to cut FOR to stop the spindle. Depends on which VFD/Settings
     
    sharmstr likes this.
  10. JacobE1988

    Builder

    Joined:
    Jul 23, 2019
    Messages:
    34
    Likes Received:
    13
    So I have PD001 and PD002 set to 1 and PD070 set to 0.

    When I input command M5 the spindle does shut off, or at least it stops spinning.
     
  11. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,749
    Likes Received:
    4,070
    PD143 - Motor Number of Poles 2 or 4 Pole
    If your VFD shows actual RPM, and you have this one wrong, its possible its displaying half the actual RPM? 2 vs 4 pole = about half the rpm?
     
    sharmstr likes this.
  12. JacobE1988

    Builder

    Joined:
    Jul 23, 2019
    Messages:
    34
    Likes Received:
    13
    I'll have to check that. I didn't even know that was a setting.
     
    sharmstr likes this.
  13. JacobE1988

    Builder

    Joined:
    Jul 23, 2019
    Messages:
    34
    Likes Received:
    13
    Ok. So I was able to get it figured out I think. PD143 was set to 4 and PD144 was set to 1440. I changed them to 2 and 3000 as described in another article I read. After that it started to output correct RPMs. But I'm still confused about some of what was said before about using the RELAY and COOL outputs on the BB.

    I can't seem to find any info in the BB docs about the COOL outputs function. Does it automatically function using M8/9 when the jumper is removed? If so what commands control the RELAY when the jumper is removed?

    I currently have the FOR connected to DCM via a jumper wire. I then have the TOOLHEAD 0-10v connected to VI and GND to ACM. With this setup I am able to commands "M3 SXXX" and "M5" and have the spindle start and stop correctly. I do not need to send M8/9.

    I did try connecting the RELAY to the FOR/DCM ports and sending M8/9 and it worked that way as well. But when I messed around with just sending M8/9 I didn't really see the need for it. M8 connected the relay and stopped the display from flashing thereby enabling the spindle to accept the M3 command, but I don't understand why that's recommended.
     

    Attached Files:

    Peter Van Der Walt likes this.
  14. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,749
    Likes Received:
    4,070
    Some VFDs doesnt stop the spindle with just that. If yourd does, great, keep it that way :)

    Now you can hookup coolant using m8/9 instead. Lucky.

    The jumper connects the relay to either M8/9 (if you want to use relay to switch coolant pump) or M3/4 (M3/4 is usually if you want to use the relay as a plasma trigger)
    There is also an always connected (not affected by jumper) COOL output that gives 25v 3A out (nice for switching a misting solenoid, air blast solenoid, DC coolant pump, etc)

    Docs.openbuilds.com explains the relay jumper
     
    sharmstr likes this.
  15. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,749
    Likes Received:
    4,070
    Nothing. You connect the relay to either the Grbl Coolant Output or Grbl Spindle Output. See github.com/gnea/grbl/wiki for details

    If jumper is renoved relay is not switched at all (needs to be connected to one of the Grbl functions to work if you need it)
     
    sharmstr likes this.
  16. JacobE1988

    Builder

    Joined:
    Jul 23, 2019
    Messages:
    34
    Likes Received:
    13
    Ohhh. That kinda explains it then. I didn't know that. Thanks for all the help. I'll have to figure out what to use the coolant and relay for then I guess.
     
  17. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,749
    Likes Received:
    4,070
    #497 Peter Van Der Walt, Sep 20, 2019
    Last edited: Sep 20, 2019
    sharmstr likes this.
  18. JacobE1988

    Builder

    Joined:
    Jul 23, 2019
    Messages:
    34
    Likes Received:
    13
    Peter Van Der Walt likes this.
  19. JacobE1988

    Builder

    Joined:
    Jul 23, 2019
    Messages:
    34
    Likes Received:
    13
    So for those that have pushed the BB to it's limits, what's the highest IPM you've been able to do? A friend of mine told me that a controller like this doesn't have enough power to push the IPM very high. I've ran it at 100 IPM so far and he was saying I'd be lucky to get 60 IPM and I'd be better off using a Mach3 based controller lol. So I'm just curious how hard you've all pushed it.
     
  20. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,030
    Likes Received:
    1,428
    I used to be able to rapid at 400IPM until I switched to 1/2" lead screws. Now I rapid at around 275IPM. Cutting is a different story obviously. Depending on the type of cut I have run it over 100ipm no problem. The router bogs down before the motors do.
     
  21. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,749
    Likes Received:
    4,070
    That's because other controller all use TI DRV8825s that top out at 1.2A before they overheat (;
    BlackBox took 2 years of R&D to become real because we refused to settle till we found drivers that are not only powerful, but also close to bulletproof (which we then made bulletproof against EMF with some really clever TVS circuitry (;
    OpenBuild's does things to a different standard (;
     
  22. JacobE1988

    Builder

    Joined:
    Jul 23, 2019
    Messages:
    34
    Likes Received:
    13
    Nice! I'll have to change some settings around then to reflect some of these numbers. I have 12mm leadscrews so we will see what happens.

    Yeah I've been noticing that Openbuilds does some pretty awesome stuff! So far I'm very happy with the BB! Just not so much the Openbuilds Control software :( It locks up, lags, and crashes pretty often.
     
  23. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,030
    Likes Received:
    1,428
    I have high torque motors on those axis, fyi
     
  24. JacobE1988

    Builder

    Joined:
    Jul 23, 2019
    Messages:
    34
    Likes Received:
    13
    I have the high torque Nema 23s from OB.
     
    sharmstr likes this.
  25. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,749
    Likes Received:
    4,070
    Almost all the one one cases we looked worked well when switching to a different PC (;
     
    sharmstr likes this.
  26. JacobE1988

    Builder

    Joined:
    Jul 23, 2019
    Messages:
    34
    Likes Received:
    13
    Sadly I don't really have that option lol.
     
    sharmstr likes this.
  27. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,749
    Likes Received:
    4,070
    Specs of the PC?
    (update drivers, diagnose what causes the lockup, reformat, dual boot Ubuntu, etc become options then)
     
    sharmstr likes this.
  28. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    2,898
    Likes Received:
    1,613
    I have never used the Openbuilds software because I had already purchased an Estlcam license for $59 and I really like it. I have an ancient laptop that can barely open an internet page in a timely fashion that I use to run Estlcam. I also added a knock-off xbox controller for jogging. You can only do that with the 32 bit version, though. But since I am too stupid to know the difference between 32 and 64 bit, I will happily jog my router around with the xbox controller.:thumbsup:
     
  29. JacobE1988

    Builder

    Joined:
    Jul 23, 2019
    Messages:
    34
    Likes Received:
    13
    I'm not reformatting my computer just because that one piece of software doesn't work lol. But here are my specs.
     

    Attached Files:

  30. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,749
    Likes Received:
    4,070
    Fair enough (; that was last option (last realistic one) but still, 60k downloads, Github Release Stats but tiny handful of lockups. Not enough to find a pattern yet, and sometimes a reformat fixes it (eliminates hardware) but thats probably more likely just that during the format newer drivers get installed, unneeded software or conflicting software removed etc
     
    JacobE1988 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