Welcome to Our Community

Some features disabled for guests. Register Today.

Need help understanding FOR/REV and the use of relay 2

Discussion in 'General Electronics' started by Marknbacon, Jan 12, 2025.

  1. Marknbacon

    Builder

    Joined:
    Mar 13, 2019
    Messages:
    9
    Likes Received:
    0
    So I'm toying around with the idea of a "cheap" ATC for my "inexpensive" Chinese spindle. The option i'm considering is the "RapidChangeATC" system as it is significantly less expensive and less complicated than a traditional ATC spindle. I think I can make it work, but I am trying to figure out how exactly to wire up the blackbox x32 relays to the VFD. I'm running a Huanyang HY series VFD. HY02D223B to be specific I believe.

    The only information I've found on the forums are these two statements by peter:

    "Relay 2 = tool direction (M3 vs M4 switches between NC and NO to switch the Fwd/Rev on a VFD)"

    and

    "Correct, that was an intended config - pass through NO on relay 1 to COM on relay2"

    so to wire this to the VFD and blackbox.... I'm lost. I had an idea of how to do it but now I'm a bit confused. I have the FOR input on the VFD jumpered to DCM, which allows it to run forward no problem.

    Ehhhh, yeah any ideas on how that looks? My original idea was using relay 2 COM to DCM, NO to FOR, and NC to REV, so when M3 command is executed, the relay activates and sends signal to the VFD, or do I have that backwards?
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,374
    Likes Received:
    4,372
    Mainly depends on the VFD. The relays are modular in nature, wire up what the VFD needs. The VFD manual should tell you what to do for the specific VFD.


    If enable and For shares a terminal you might need to join the relays in series. Or there might be a simple parameter to move enable to its own terminal (like setting X1/X2 a fwd/rev and then X3 for an enable) best to read the VFD manual and see what it needs / what flexibility it allows
     
  3. Marknbacon

    Builder

    Joined:
    Mar 13, 2019
    Messages:
    9
    Likes Received:
    0
    Ok, I think I figured it out. The only reference in the manual to FOR/REV function is the attached screenshot.

    So I originally thought connecting the NO output of the relay to the FOR input on the VFD would make the most sense and NC to REV, but it turns out the M3 command doesn't activate that relay, so putting the NO output to the REV input and the NC output to the FOR input worked (I think... the spindle and motors and limit switches are all disconnected as I'm in the process of building a new CNC table as well as other upgrades to my machine... now if I can figure out why my X axis isn't square with the frame...) But hitting M3 leaves the VFD in forward, and hitting M4 switches the VFD to reverse.

    Thanks for your help Peter!

    How, while we're on the subject of inputs and outputs, are there any additional spare inputs and outputs that can be reconfigured in the config file? I may still end up switching to an ATC spindle and would like to have a Z touch probe as well as the OB XYZ touch probe, and I'll need an output to control the solenoid for the tool changer. I can't find much information on the schematic of the blackbox.

    Thanks!
     

    Attached Files:

  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,374
    Likes Received:
    4,372
    Marknbacon 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