Welcome to Our Community

Some features disabled for guests. Register Today.

Blackbox M3/M5 not working

Discussion in 'CNC Mills/Routers' started by Aloat In Space, Jan 5, 2021.

  1. Aloat In Space

    Builder

    Joined:
    Nov 24, 2020
    Messages:
    2
    Likes Received:
    0
    Hey, got a weird problem with starting and stopping my spindle and hoping someone has come across this before and has a solution.

    With the Blackbox jumper set to M3/M5 and the relay wired between DCM & FOR on my Huanyang VFD the spindle does not turn on or off. E.g M3 S1000 does nothing as does M5 S0 - nada.

    Moving the Blackbox jumper to the M8/M9 position with the exact same relay wiring for the VFD and issuing the following commands correctly controls the spindle on/off and speed.
    • M8 M3 Snnnn - starts the spindle and correctly sets the rpm
    • M9 M5 - stops the spindle
    Any suggestions as to why the M3/M5 commands would not work given the exact same wiring but different jumper position. For now I'm editing my gcode to use the M8 and M9 commands so all working fine but knowing how to use the default commands would be great.

    Thanks in advance
     
  2. 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
    As M3 is used for the 0-10v signal, you cant also use it for DCM/FOR. Refer to docs openbuilds.com/blackbox > VFD section for the correct methods. Wire DCM/FOR to each other. Set VFD parameters correctly so that it can also turn off with 0-10v (minimum freq parameter)
     
  3. Aloat In Space

    Builder

    Joined:
    Nov 24, 2020
    Messages:
    2
    Likes Received:
    0
    Thanks for that. I had verified the 0-10v output on M3/M5 jumper setting with a volt meter but failed to get the spindle to turn on/off, even with the DCM/FOR wired to each other so had opted for the M8/M9 solution and the relay. Sounds like I didn't have the VFD parameters set correctly when I first tried this so I'll revisit those settings.
     
  4. 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
    Correct, if your VFD params are correct you just have two wires: Gnd and 0-10v.

    The relay is actually there for Plasma triggers :) the jumpers for other purposes exist of course for cool ideas, but the issue here is you are using the M3 PWM to generate 0-10v - as that's PWM, you cant really use it for the relay as well (expects an on/off, not pwm)
     
    sharmstr 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