Welcome to Our Community

Some features disabled for guests. Register Today.

CNC xPro v4 router/relay control connections

Discussion in 'CNC Mills/Routers' started by Jon Lake, Mar 5, 2019.

  1. Jon Lake

    Jon Lake New
    Builder

    Joined:
    Mar 15, 2017
    Messages:
    5
    Likes Received:
    2
    Hi, I just took delivery of my CNC xPRO v4 board and (apologies for hijacking the thread) I can't figure out how (or rather where) to connect a relay to turn my DeWalt router on and off (M3/M5). Am I missing something? I'm not familiar with these boards and am upgrading from a simple grbl shield mounted on an Arduino. I have scanned the wiki site but am stumped. I've attached an image of the type of relay I was planning to use if that helps at all.

    Any advice gratefully received.
     

    Attached Files:

  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,927
    Likes Received:
    4,291
    Your board uses ACTIVE LOW so you also need to recompile Grbl (Default is ACTIVE HIGH)

    SIGNAL GND goes to GND
    SIGNAL goes to Spindle
    5v goes to 5v (to power the Relay coil)

    Way way easier though, and about a million times safer would be to get IOT Switching Relay Power Strip instead
     
  3. Jon Lake

    Jon Lake New
    Builder

    Joined:
    Mar 15, 2017
    Messages:
    5
    Likes Received:
    2
    Thanks Peter, the IOT for 240v is US$110 compared to the US$28 for the 110v version, but it's still an option. Can you forgive my ignorance but when you say SIGNAL goes to Spindle, would that be the pin/terminal labelled 'Spindle PWM (0-5v/0-10v)?


    xProV4(front).gif
     
    Peter Van Der Walt likes this.
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,927
    Likes Received:
    4,291
    Yes! Thats the one
     
  5. Jon Lake

    Jon Lake New
    Builder

    Joined:
    Mar 15, 2017
    Messages:
    5
    Likes Received:
    2
    Thank you again Peter, I really appreciate the help. The boards don't come with more than a diagram of the pins, and I guess because they're relatively new, the guidance on the main Wiki site is on the lite side. Cheers!
     
    Peter Van Der Walt likes this.
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,927
    Likes Received:
    4,291
    I hear you!

    Its not perfect, but since BlackBox is a Grbl board too - maybe you can do a little cross checking on OpenBuilds BlackBox 4X Documentation too - its not 1:1 but you might be able to look at whats on the wiki, and what we have, together the picture might click into place?
     
  7. Jon Lake

    Jon Lake New
    Builder

    Joined:
    Mar 15, 2017
    Messages:
    5
    Likes Received:
    2
    I'm starting to wonder if I should have gone with the BlackBox now, but I'll persevere. It's a real shame that the manufacturer doesn't provide more extensive documentation but I should have done more research beforehand. The Spindle PWM pin seems to be a constant signal, unaffected by M3/M5. There are two sets of spare (jumper) pins but no jumpers supplied and no explanation of what they do. I'll continue my research. It's a well-built board but so far let down by a lack of manufacturer support.
     
  8. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,927
    Likes Received:
    4,291
    The Must-read for either board is the Grbl wiki:

    See github.com/gnea/grbl/wiki
     
    #8 Peter Van Der Walt, Mar 6, 2019
    Last edited: Mar 6, 2019
  9. Jon Lake

    Jon Lake New
    Builder

    Joined:
    Mar 15, 2017
    Messages:
    5
    Likes Received:
    2
    Ah, it's backwards!

    The PWN pin has the NO side of the relay as closed by default, so the NC side is open. An M03 command closes the NC side (and vice versa). Odd, but it works. Basically, if I wire it incorrectly, it works!
     
  10. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,927
    Likes Received:
    4,291
    Sweet! Glad you are up now!
     
    Jon Lake 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