Welcome to Our Community

Some features disabled for guests. Register Today.

Please help with huanyang VFD

Discussion in 'CNC Mills/Routers' started by Adrianjudy, Jul 16, 2019.

  1. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,051
    Likes Received:
    4,313
    Might be:

    Code:
    PD001 Source of Run Commands 0:Operator 1:External terminal 2:Communication port 0
    PD002 Source of Operating Frequency 0:Operator 1:External terminal 2:Communication port 0
    PD070 Analog Input Set Range:0—10 Unit:1 Factory Setting:0 - 0:0~10V 1:0~5V 2:0~20mA 3:4~20mA 4:0-10V 与 4-20mA stacked 5:XIA 6:(VI+XIA)/2 7:(3VA+XIA)/4 8:(XIA+XIB)/2 9:Max (XIA, XIB) 10:Min (XIA,XIB)
    
    What is your PD001 (Source of run/stop commands), PD002 (source of speed) and PD070 (set the External Terminal input to 0-10v) set to currently?

    And per VFD Spindle Control via OpenBuilds BlackBox Controller and Software :


    Compare the other values to what you are supposed to have though
     
  2. SupaCraig12

    Builder

    Joined:
    Aug 17, 2019
    Messages:
    29
    Likes Received:
    8
    Josh's VFD settings are exactly what I put into my VFD 3 different times now exactly in that order.
     
  3. SupaCraig12

    Builder

    Joined:
    Aug 17, 2019
    Messages:
    29
    Likes Received:
    8
    so yes currently heres my settings...
    PD001 set to 1
    PD002 set to 1
    PD070 set to 0

    The manual is calling for
    PD001 set to 0
    PD002 set to 1
    PD070 set to 1
     
  4. SupaCraig12

    Builder

    Joined:
    Aug 17, 2019
    Messages:
    29
    Likes Received:
    8
    actually there are quite a few settings being called out from the settings that I did not change. The only ones I changed are the ones Josh mentioned to change. Would it make sense to do....

    1st - PD013 - 8
    2nd - Enter the settings in the attached picture
    3rd - Enter the settings Josh is calling out excluding PD013-8

    VFD settings.jpg
     
  5. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,051
    Likes Received:
    4,313
    Its important to read the manual for each PD parameter before commiting it - see what each means, and thus why it may or may not result in the result you want
     
    SupaCraig12 likes this.
  6. that-jim

    that-jim Journeyman
    Builder

    Joined:
    Apr 19, 2020
    Messages:
    143
    Likes Received:
    154
    I have recently set up a machine with VFD and spindle. One thing that tripped me up is that you cannot change some parameters if you are in the run mode. AND installing a jumper between FOR and DCM locks you in run mode. It would probably be better to have a switch installed instead of a jumper, this would give you a run/safe mode.

    I have attached my notes from when I explored a few options for spindle control.

    Hopeful these notes will help. Keep in mind that you need to verify the settings specific to your spindle as they might be different than mine.


    EDITED ON 11/20/2021
    I have removed the attachments and inserted a link to my notes on the resource page.
    HY SERIES VFD AND BLACKBOX SET-UP OPTIONS
     
    #36 that-jim, Nov 10, 2021
    Last edited: Nov 20, 2021
  7. that-jim

    that-jim Journeyman
    Builder

    Joined:
    Apr 19, 2020
    Messages:
    143
    Likes Received:
    154
    I looked at the image you posted of your parameters, you should check
    PD11, PD72 and PD73

    PD011 = 0 Frequency lower limit. With external control the VFD will not allow the spindle to operate below this limit, this parameter is a safeguard to keep you from operating the spindle a speed that might damage it. If you want the 0-10 volt signal to be able to stop the spindle this needs to be set at 0 and you should be aware that you can operate the spindle at a speed that might damage it.

    The following two parameters correlate to the GRBL $30 & $31 this sets the VFD to accept the 0-10 or PWM range that the BLACKBOX will output and set the speed of the spindle accordingly.
    PD072 = 400 High Analog Frequency. 400hz = 24000rpm
    PD073 = 0 Low Analog Frequency.
     
    #37 that-jim, Nov 10, 2021
    Last edited: Nov 10, 2021
    Giarc likes this.
  8. Torin3

    Torin3 Well-Known
    Builder

    Joined:
    Apr 18, 2021
    Messages:
    85
    Likes Received:
    38
    Interesting. I've got a Huanyang 220V, 1.5KW VFD, and I had the FOR and DCM jumpered, and I checked most of the parameters after I programmed them to see if the setting stuck and I don't remember any that wouldn't set. I'll be checking and seeing if they are all still set, and if not, I'll un-jumper it and se if they will set.
     
  9. that-jim

    that-jim Journeyman
    Builder

    Joined:
    Apr 19, 2020
    Messages:
    143
    Likes Received:
    154
    yes it is interesting because I don't think it is all parameters just some. in the troubleshooting section of the manual it is mentioned on page 63
     

    Attached Files:

    #39 that-jim, Nov 10, 2021
    Last edited: Nov 10, 2021
  10. SupaCraig12

    Builder

    Joined:
    Aug 17, 2019
    Messages:
    29
    Likes Received:
    8
    Good morning, I did get the VFD to start recognizing speed commands but it’s going double whatever I call out. So an M3 s5000 command and the spindle will turn on and stop at 10000 rpm. I got the spindle to at least recognize the signal commands by changing PD001 to set range 2. Also here are some pictures of the manual. 0D299C88-B07F-43BE-A56E-8DF101F7BE2E.jpeg D2DDB99A-B95E-426D-8212-47C61A9B7974.jpeg
     

    Attached Files:

  11. SupaCraig12

    Builder

    Joined:
    Aug 17, 2019
    Messages:
    29
    Likes Received:
    8
    Just checked my GRBL settings and saw that I had the max spindle rpm set at 12000 still. Changed to 24000 and it works perfectly. Thank you all for your help and advice.
     
  12. Torin3

    Torin3 Well-Known
    Builder

    Joined:
    Apr 18, 2021
    Messages:
    85
    Likes Received:
    38
    Thank you for the PDF. It is the same model as I have, and it is nice to have an electronic copy in case I lose the paper copy.

    However looking at what you pointed out, I think it is 'Chinglish' for you can't change parameters while it is running the spindle, not that FOR is jumpered.

    I'll do some testing this weekend, but if you have a PD that you remember that can't be changed I'll give it a go.

    I did notice I had 1 PD that I couldn't set to what the guide I had said it should, but after some testing it was due to the value from the guide being out of range for the PD and it would accept and store a value that was in its range.
     
  13. that-jim

    that-jim Journeyman
    Builder

    Joined:
    Apr 19, 2020
    Messages:
    143
    Likes Received:
    154
    Jumpering between the DCM to FOR terminals is the source of the run command, given the the following settings
    PD001=1 this set the source of the run command to the wiring terminals
    PD044=2 is the default 'Forward' function for FOR terminal wiring terminal
    With this set up the VFD should spin the spindle in the forward direction when the FOR terminal is connected to the DCM (common) terminal. Of course you also need to set the source of the frequency to control the speed that is the PWM or 0-10v component.

    The translation for Chinese to English in this manual can be hard to understand, but the information is there if you take the time and do a little research. Understanding that the programing parameters and wiring connections are doing is key. AND doing them in the proper order is equally important. With all of that said, I can't think of a compelling reason to put the VFD in run and try to change parameters anyway and I know that some can not be changed with a jumper in place because I have made that mistake. I would suggest putting a switch in place between the FOR and DCM and turning turning it off when setting the parameters or at least disconnecting the jumper.

    I hope this is helps with your setup.
     
    #43 that-jim, Nov 13, 2021
    Last edited: Nov 13, 2021
  14. that-jim

    that-jim Journeyman
    Builder

    Joined:
    Apr 19, 2020
    Messages:
    143
    Likes Received:
    154
  15. Torin3

    Torin3 Well-Known
    Builder

    Joined:
    Apr 18, 2021
    Messages:
    85
    Likes Received:
    38
    Just a follow up. The PDs I set were 1,2,3,4,5,8,9,10,11,14,15,70,72,73,141,142,143,144, and they all seemed to update with no issues and my DCM and FOR jumpered before I ever turned it on. FWIW.
     
  16. SupaCraig12

    Builder

    Joined:
    Aug 17, 2019
    Messages:
    29
    Likes Received:
    8
    I came down this morning to run a toolpath, turned everything on and my VFD is blinking. Last I used it everything ran fine but now something is up. I'm not sure what the two codes are on power up.

    ASR 1.0
    Ur 1.00
    I've reset all my parameters again
    PD013 = 8
    PD001 = 2
    PD002 = 1

    PD005 = 400
    PD004 = 400
    PD008 = 110
    PD024 = 1
    PD070 = 0
    PD072 = 400
    PD144 = 3000

    When powering off I get the ELu 5 which is low voltage but i'm guessing i'm only getting that error because i've cut the power source. Thanks again...
     

    Attached Files:

  17. that-jim

    that-jim Journeyman
    Builder

    Joined:
    Apr 19, 2020
    Messages:
    143
    Likes Received:
    154
    U1 1.0 is the software version you can display this by checking the value of PD181

    ASR 1.0 I do not know what this is but I assume it is just informational and both of my HY inverters show the same.

    I believe you are correct about the low voltage alarm when turning the unit off. Mine do the same thing, so I don't think its anything to worry about.

    PD001 sets the source of the run command, this should be set to 1 if you want to run from the 'FOR' wiring terminal 2 is for rs485 control.


    I cleaned up my setup notes for HY series inverters and posted it as a resource you can find it here.

    HY SERIES VFD AND BLACKBOX SET-UP OPTIONS
     
  18. that-jim

    that-jim Journeyman
    Builder

    Joined:
    Apr 19, 2020
    Messages:
    143
    Likes Received:
    154
    I should have mentioned FOR light in your video is likely blinking because of the PD001 setting.
     
  19. SupaCraig12

    Builder

    Joined:
    Aug 17, 2019
    Messages:
    29
    Likes Received:
    8
    That’s good to know. I changed it to 2 because that was the only way I could get the software to recognize the called out RPM. When I set it to 1 when the software turns the spindle on it automatically maxes out the rpm to 24000 regardless of what I have my grbl settings at.
     
  20. that-jim

    that-jim Journeyman
    Builder

    Joined:
    Apr 19, 2020
    Messages:
    143
    Likes Received:
    154
    I hope this does not come across as rude but you have to spend sometime understanding what the parameters you are changing are related to. You are talking about changing the source of the run command PD01 and having it affect the frequency range of the motor. So I think you are mistaken on the result of your changes. My notes have an explanation of these settings. I have used these notes to set up 3 of these HY series inverters and I believe them to be accurate. It takes a while to understand all of the settings but I feel it is better than just plugging in numbers.
     
    #50 that-jim, Nov 20, 2021
    Last edited: Nov 20, 2021
  21. Rhett E

    Rhett E Well-Known
    Builder

    Joined:
    Aug 3, 2020
    Messages:
    113
    Likes Received:
    45
    If setting PD011 to a value other than 0, how can you command spindle to turn off?
     
  22. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,051
    Likes Received:
    4,313
    If your VFD really has no way to keep Minimum RPM, and turn off with 0-10v set to 0v see section 2.1.3 of docs.openbuilds.com/blackbox
     
  23. that-jim

    that-jim Journeyman
    Builder

    Joined:
    Apr 19, 2020
    Messages:
    143
    Likes Received:
    154

    With the configuration that most people use, you are relaying on the 0-10 to control the spindle. The 0-10 going to 0 volts is what turn the spindle off so you cannot set a minimum speed on the VFD.

    If you want to set a minimum speed, there is a way to use the relay from the blackbox but its a little more set up and you need custom firmware. I posted my notes in the resource section you can find it here.
    HY SERIES VFD AND BLACKBOX SET-UP OPTIONS

    Hope this helps.
     
    Rhett E likes this.
  24. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,051
    Likes Received:
    4,313
    Very very well written resource!
     
    that-jim likes this.
  25. Rhett E

    Rhett E Well-Known
    Builder

    Joined:
    Aug 3, 2020
    Messages:
    113
    Likes Received:
    45
    Spindle is bogging down when doing same toolpath as Router11. It's a simple facing operation I've done a hundred times and the spindle bogs down and essentially stops. I've verified RPM as instructed in the video, m3 s18000...dial in pot on blackbox till vfd shows roughly the same 18000. I'm at a loss here. Router11 plowed through it.
     
  26. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,051
    Likes Received:
    4,313
    What wattage of spindle is it?
    Could also be the Torque curve parameters on the VFD, supplier you purchased it from will have to advise on the correct values for the spindle
     
  27. that-jim

    that-jim Journeyman
    Builder

    Joined:
    Apr 19, 2020
    Messages:
    143
    Likes Received:
    154
    I would double check the the motor parameters like voltage and numbers of poles against any info you can get from the supplier.
     
    Peter Van Der Walt likes this.
  28. Rhett E

    Rhett E Well-Known
    Builder

    Joined:
    Aug 3, 2020
    Messages:
    113
    Likes Received:
    45
    Thanks for the replies. I actually just resolved this by switching two spindle wires. I thought it didn’t matter as long as it went clockwise but apparently not.
     

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