Welcome to Our Community

Some features disabled for guests. Register Today.

1.5kw Spindle starts spinning as soon as HY VFD powers on

Discussion in 'CNC Mills/Routers' started by IanC, Jul 25, 2018.

  1. IanC

    IanC New
    Builder

    Joined:
    Jun 18, 2018
    Messages:
    13
    Likes Received:
    0
    I'm running GRBL 1.1 on an Arduino Uno, which is connected to a HY VFD as follows:

    GRBL Spindle PWM > VFD VI
    GRBL Ground > VFD ACM
    VFD DCM > VFD FOR

    The 1.5kw spindle works fine when I control it from the control panel, but when I switched PD001 = 1 on the VFD (allows external control) and use GRBL, I run in to problems.

    The spindle powers up to the minimum allowed rpm as soon as I turn the VFD on. I can control the spindle speed via GRBL, but "powering off" (i.e. PWM = 0) still means that the spindle spins at the minimum rpm I've set.

    Can anyone suggest where I can start troubleshooting this please, as it's unusable in the current state.

    For reference, my VFD is configured as follows:

    Code:
    PD005 =400
    PD004 =400
    PD003 =400
    PD072 =400
    PD144 = 3000
    
    PD001 = 1
    PD002 = 1
    PD006= 2.5
    PD007=1.2
    PD008=220
    PD009=15
    PD010=8
    PD011 = 120
    
    PD070 = 1
    PD73 = 120
    
    PD141 = 220
    PD142 = 7
    PD143 = 2
    GRBL is configured with $30 set to 24000 and $31 set to 0.
     
  2. NeeqOne

    NeeqOne Well-Known
    Builder

    Joined:
    Mar 3, 2018
    Messages:
    25
    Likes Received:
    11
    I am not using Arduino Uno, but I believe you need to connect the spindle enable pin to the VFD.
     
  3. IanC

    IanC New
    Builder

    Joined:
    Jun 18, 2018
    Messages:
    13
    Likes Received:
    0
    Thanks for the reply. I tried connecting the VFD fwd pin to Spindle Enable, but from what I understand this isn't needed in GRBL 1.1. The spindle started immediately when I connected it that way too.
     
  4. NeeqOne

    NeeqOne Well-Known
    Builder

    Joined:
    Mar 3, 2018
    Messages:
    25
    Likes Received:
    11
  5. GrayUK

    GrayUK The Secret of Life is ..... Choice!
    Staff Member Moderator Builder

    Joined:
    May 5, 2014
    Messages:
    1,304
    Likes Received:
    407
    It has been a long time since I read this Thread, but it may well help you.
    Chinese Spindle & VFD Setup
    It has been a useful Resource, for many people, as well as myself.
    Hope it can Help
    Gray
     
  6. IanC

    IanC New
    Builder

    Joined:
    Jun 18, 2018
    Messages:
    13
    Likes Received:
    0
    Many thanks for those links.

    I've reset my VFD and configured it again, but it still spins on power-on.

    I've even removed the PWM wire from the arduino, and it's spinning up to 120Hz without any PWM signal at all. From what I understand, it should not spin up without any PWM input?
     
  7. NeeqOne

    NeeqOne Well-Known
    Builder

    Joined:
    Mar 3, 2018
    Messages:
    25
    Likes Received:
    11
    I just bought an arduino mega. Moreover, I am using the same connection you have in your first post. I am using the same spindle as you. Speed control with bCNC works. I am looking for ways to turn the spindle on and off using arduino.

    See this post for the parameters I am using for my VFD: Huanyang Chinese VFD settings and manual here!
     
  8. GrayUK

    GrayUK The Secret of Life is ..... Choice!
    Staff Member Moderator Builder

    Joined:
    May 5, 2014
    Messages:
    1,304
    Likes Received:
    407
    NeeqOne. Thanks for the posting that URL on the Huanyang VFD.
    Any chance you could put a copy in the Resources Section?
     
  9. NeeqOne

    NeeqOne Well-Known
    Builder

    Joined:
    Mar 3, 2018
    Messages:
    25
    Likes Received:
    11
    I will definitely do that after work.
     
    GrayUK likes this.
  10. NeeqOne

    NeeqOne Well-Known
    Builder

    Joined:
    Mar 3, 2018
    Messages:
    25
    Likes Received:
    11
    I got the spindle to work as it should. It seems you will need a relay module for this. With the relay connected as NO, you can switch the spindle on and off.


    20180804_195503.jpg
     
    IanC and GrayUK like this.
  11. IanC

    IanC New
    Builder

    Joined:
    Jun 18, 2018
    Messages:
    13
    Likes Received:
    0
    Good work, I'll try this too :).
     
  12. NeeqOne

    NeeqOne Well-Known
    Builder

    Joined:
    Mar 3, 2018
    Messages:
    25
    Likes Received:
    11
    Connection is as follows:

    upload_2018-8-5_7-52-57.png
     
    IanC 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