Welcome to Our Community

Some features disabled for guests. Register Today.

Reviving the Huanyang GT VFD Discussion

Discussion in 'Controller Boards' started by Shelby_G, Apr 4, 2024.

  1. Shelby_G

    Shelby_G New
    Builder

    Joined:
    Mar 25, 2024
    Messages:
    12
    Likes Received:
    3
    Before ordering my VFD, I did not do a search on the GT version and this forum... LESSON LEARNED.

    I've since read the posts and understand the issue that has arisen (from a layman's perspective), but I am by no means a control expert. In looking at the information presented in the VFD manual and the Blackbox X32, did anybody try using Relay 2 as a switch for the FWD and REV commands in a 3 wire control mode 2. Based on the comments in the other threads, the primary attempts were made at approaching the solution with a relay or jumper wire in a 2 wire control, which created the enable/disable issue with the jumper and energizing the VFD.

    I've attached a simple diagram of what I was thinking about trying and looking for any input on others who may have already gone down this path.
     

    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,191
    Likes Received:
    4,346
    The old discussion did predate the newer X32, so you should be able to use Relay 1 as an Enable on newer X32 purchases (recent)
     
  3. Shelby_G

    Shelby_G New
    Builder

    Joined:
    Mar 25, 2024
    Messages:
    12
    Likes Received:
    3
    Thank you.... I had thought of that as well but figured since Relay 2 was already configured for tool direction, it wouldn't require changing any GRBL configurations.
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    Relay 1 is already a Tool Enable so even better.

    You can use Relay2 with Relay1 to act as Enable and Direction change if you want to as well (as relay 2 only has two position, you need both to also act as a disable - the 3rd position)

    This way Relay1 handles the open/close of the circuit (enabled or not) and Relay2 directs it to FWD/Rev once closed by Relay1. 0-10v still sets the speed as usual.

    [​IMG]

    but yeah, the X32 got the extra features it needs. Happy to help you with it in exchange for a writeup with wiring pics :)
     
  5. Shelby_G

    Shelby_G New
    Builder

    Joined:
    Mar 25, 2024
    Messages:
    12
    Likes Received:
    3
    Sure thing, I'm thinking with the X32 relays and using the 0-10v for speed control, this should be fairly straightforward on the FWD/REV issue, but who knows how it will actually go!
     
    Peter Van Der Walt likes this.
  6. Shelby_G

    Shelby_G New
    Builder

    Joined:
    Mar 25, 2024
    Messages:
    12
    Likes Received:
    3
    Ok, so wiring up has been very easy and I have start/stop and speed control. However, I'm having an issue with the output voltage on the X32. It won't go over 6.4v, even if I use a speed higher than the max. I've tried adjusting the 0-10v adjustment, but it doesn't change the min/max output. I do have 24v at the power supply and I've checked $35 = 0 and $36 = 100.

    What else can I do to troubleshoot voltage output on the 0-10v? At 6.4v, I only get to 263 hz on the spindle.
     
  7. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    Post a Grbl Settings backup for review. And are you measuring same with VFD disconnected as well?
     
  8. Shelby_G

    Shelby_G New
    Builder

    Joined:
    Mar 25, 2024
    Messages:
    12
    Likes Received:
    3
    Yes, voltage is 6.4v (max) when VFD is disconnected as well. GRBL settings attached. Changing PWN freq from 1000 to 5000 does not affect the voltage.

    I looked at other older posts related to a similar issue. I don't know if it is still valid for the x32, but my PWN icon is not lighting up when sending the speed commands. (EDIT: PWN Light is coming on, full strength).
     

    Attached Files:

    #8 Shelby_G, Apr 6, 2024
    Last edited: Apr 6, 2024
  9. JustinTime

    JustinTime Veteran
    Builder

    Joined:
    Dec 18, 2013
    Messages:
    784
    Likes Received:
    259
    If I recall correctly (it's been at least 2 years ago) I had measured the voltage to the VFD too. While I don't use the X32 (but I use GRBLhal) I too had low voltage readings but when I connected the VFD (the spindle was connected to the VFD) the spindle was running as it was told by Control. I had to have the VFD on and on zero (0) mhz and then it run just fine.
     
  10. Shelby_G

    Shelby_G New
    Builder

    Joined:
    Mar 25, 2024
    Messages:
    12
    Likes Received:
    3
    Thank you for the input. Unfortunately I’m having the issue whether connected and the VFD running or not connected. I’m not getting 10v from the X32, best case is 6.4v
     
  11. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    upload_2024-4-8_14-11-51.png

    Comparing to a standard machine profile (LEAD1010) the only change I see around there is $30 (Expected, just make sure to use M3 S24000 to test for 10v) and the PWM Freq (Default 5000 should have worked)
    Maybe try setting it back to 5000. Save. Reset. Reboot it all (so CONTROL's aware of all the changes and comes up fresh too). Then Test?

    If not, then something may have damaged the 0-10v output?
     
  12. Shelby_G

    Shelby_G New
    Builder

    Joined:
    Mar 25, 2024
    Messages:
    12
    Likes Received:
    3
    Hi Peter,

    I've tried setting the PWN from 1000 back to 5000, doing a save, reset and then shutting down all power and re-booting. Still only getting 6.4V max, sometimes only 6.28 at S24000.

    I don't believe there is anything that was done to damage the unit. Other than the stepper motors and limit switch's being connected, the power input and now the attempt to use the 0-10v output are the only things that have been connected.
     
  13. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    Can you please do me one last favour (before we swop it and a replacement gets damaged too)
    Power up VFD and measure the two wired you had on GND/0-10v without the BlackBox connected with a multimeter - provide pic. We just want to make sure VFD is not backfeeding (some VFDs have jumper configs and have seen some where incorrect jumpers puts a 24v pullup on that output, or puts it in 4-20mA mode, or 0-5v mode instead of 0-10v mode)
    Maybe even pics of jumpers and manual if applicable
     
  14. Shelby_G

    Shelby_G New
    Builder

    Joined:
    Mar 25, 2024
    Messages:
    12
    Likes Received:
    3
    No problem... I'll do that this evening when I get home.
     
  15. Shelby_G

    Shelby_G New
    Builder

    Joined:
    Mar 25, 2024
    Messages:
    12
    Likes Received:
    3
    Here’s the photo. Let me know if you need another.
     

    Attached Files:

  16. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    Ok good ,so wasn't caused by the VFD.
    Just a precaution, try to prevent the same thing happening to the replacement :thumbsup:

    When you receive the replacement, wire it up to only USB and Power (You are using our PSU right?) and check the 0-10v before wiring anything else just so we know it was working. See docs:blackbox-x32:connect-vfd [OpenBuilds Documentation]
     
  17. Shelby_G

    Shelby_G New
    Builder

    Joined:
    Mar 25, 2024
    Messages:
    12
    Likes Received:
    3
    Thank you. I am using a Meanwell 24v PSU. What are the steps for receiving the replacement?
     
  18. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    You had a ticket logged with the store already - check your email. We approved RMA
     
  19. Shelby_G

    Shelby_G New
    Builder

    Joined:
    Mar 25, 2024
    Messages:
    12
    Likes Received:
    3
    Thank you.
     
    Peter Van Der Walt likes this.
  20. Shelby_G

    Shelby_G New
    Builder

    Joined:
    Mar 25, 2024
    Messages:
    12
    Likes Received:
    3
    With the replacement x32, I'm getting the 10v needed and have control of my spindle. I decided not to worry about trying to get REV as I currently don't have a scenario where I would run in reverse, therefore I focused on just using relay 1. It was actually rather straight forward.

    For clarification, I'm in the US running 220v 2.2KW spindle, Rated at 400 Hz, 24,000 RPM and 8 Amps. The GT VFD was configured for single phase 220v, with L1 on R and L2 on T. Connecting L2 on S did not work, I assume the unit does not accept input voltage on the S terminal in single phase 220v configuration.

    Make sure jumper J16 on VFD is set for Voltage;

    First, follow the manual on entering initial parameters for running autotune:

    P0.00 0
    P0.01 0 (initially set to 0, change to 1 for remote speed control after auto tune)
    P0.02 0
    P0.03 400 (motor hz rating)
    P0.04 400 (motor hz rating)
    P0.05 140 (min motor running hz)
    P0.07 0 (initially set to 0 for autotune, after auto tune set to 2 for Ai2)
    P0.08 0
    P0.09 0
    P0.10 0
    P0.11 12
    P0.12 12
    P0.13 0 (FWD)

    Motor Specific Parameters (My motor as example)
    P2.01 KW Rating (2.2)
    P2.02 Max Hz (400)
    P2.03 Max RPM (24000)
    P2.04 Voltage (220)
    P2.05 Motor Rated Amps (8)

    P8.26 1 - Fan Control (1 is for always working)

    At this point, you should run the auto tune feature. Takes about 4-5 Mins, your motor should start running and stay running until the VFD shuts it down.

    After auto tune completes, update parameters below:

    Parameters:
    P0.01 1
    P0.07 2
    P0.08 1

    P3.08 2
    P3.10 2

    P5.00 0
    P5.01 1
    P5.10 0
    P5.17 0
    P5.19 10

    P9.00 2
    P9.02 1

    Shut off power to the VFD:

    Confirm GRBL is configured for your motor speed;

    Connect the below wires:

    X32 Relay 1 NO to VFD S1
    X32 Relay 1 COM to VFD COM

    Test: Prior to connecting the X32 0-10v, at this point you should run some simple test. With the S1 and COM connected (do not connect 0-10v wiring yet, leave wires where you can test voltage). During this portion of the test, the spindle should NOT come on as the 0-10v would not be connected.

    Send M3 S##### command (##### is min recommended running speed of motor), VFD fan should come on and Hz should run up to motor minimum set in P0.05. Test output voltage on 0-10v leads (mine was 4.46v at 10,000 RPM)

    Check voltage on VFD between GND and Ai2 Terminal (should be zero)

    Send M3 S#### command (##### is intermediate speed of motor), Hz should ramp up above min, but less than max. Test output voltage on 0-10v leads (mine was 7.36 v at 18,000 RPM)

    Check Voltage on VFD between GND and Ai2 Terminal (should be zero)

    Send M3 SMax command (Max is max speed of motor), Hz should ramp up to max. Test output voltage on 0-10v leads (mine was 10.1v at 24,000 RPM)

    Send Stop Spindle Command.

    Disconnect power from VFD; Connect 0-10v wiring from X32 to VFD

    Connect the below wiring:

    X32 0-10v GND to VFD GND
    X32 0-10v POS to VFD Ai2

    Run the test above again, this time the spindle should come on with Run / Stop and Speed Control via Openbuilds Control software. Test voltage during the process again to ensure you are getting 10v at max. You might see a small drop in voltage from your prior test vs testing at load, but at max RPM you should be getting 10v, otherwise adjust your voltage output on the X32 based on Openbuilds instructions.
     
    #20 Shelby_G, Apr 14, 2024
    Last edited: Apr 14, 2024
    Peter Van Der Walt likes this.
  21. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    Wonderful! Glad it's resolved
     

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