585,973 active members*
4,026 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Spindles / VFD > Connecting Huanyang VFD to Mach3 via Gecko 540
Page 1 of 4 123
Results 1 to 20 of 70
  1. #1
    Join Date
    May 2010
    Posts
    0

    Connecting Huanyang VFD to Mach3 via Gecko 540

    Hi,

    So I've searched all day both on google and on this forum for someone explaning how to control the huanyang VFD+spindle from mach3 via gecko540, without any luck.

    I'm having trouble getting this to work.

    Ive connected the +10V, Vi and ACM from VFD to the 7, 8 and 9 pins on the G540 as of the manual. The VFD was setup to correctly run from the VFD panel first (so I know its working on its own). Then I changed the PD001 and 002 to 1

    I also changed the PD070's to the correct values. 0-10V = 0-400Hz, etc.

    In Mach3, spindle is turned on, and step is put on pin 14, dir on 0. The port is 1 for both.

    PWM is turned on, and base freq is set 50 (should this be 400?) and min PWM is set to 0%.

    Spindle step is set to 1000, acc set to 1. And pulley: min 0, max 24000, ratio 1.

    So when I turn on the spindle by command: M3 S10000 - nothing happens. The VFD display is not showing any difference.

    What have I missed? When I get home, I will measure that Gecko actually puts out a voltage of something between 0 and 10V on the Vi.

    Thanks for any and all help!!

  2. #2
    Join Date
    Dec 2009
    Posts
    528
    The connections you've made between the G540 and your VFD controls the speed of your spindle.

    You will also need to have the connections between the G540 and your VFD to start and stop the spindle. You'll have to connect your VFD's FWD (Run Forward) and CMN (Common) to a relay that is in turned connected to OUTPUT1 or OUTPUT2 of the G540.

    Once you've got the above setup, you then setup the Relay Control in Mach3, Config->Ports and Pins-> Spindle Setup to select OUTPUT1 or OUTPUT2 for your M3.

  3. #3
    Join Date
    Dec 2009
    Posts
    528
    Download this -> http://www.homanndesigns.com/EN010_V8.pdf

    It's the best wiring diagram I've seen for the G540 and includes all the wiring you'll need for your VFD.

  4. #4
    Join Date
    May 2010
    Posts
    0
    Thanks dudes!

    So, if I just short the FOR and Commons terminal on the VFD, I would get the same effect as turning on the relay, right?

    But if I do this, the spindle will be running at mininmum speed all the time?

    Thanks!

  5. #5
    Join Date
    Dec 2009
    Posts
    528
    Quote Originally Posted by Vaffel View Post
    Thanks dudes!

    So, if I just short the FOR and Commons terminal on the VFD, I would get the same effect as turning on the relay, right?

    But if I do this, the spindle will be running at mininmum speed all the time?

    Thanks!
    Shorting the FOR and COM terminal on the VFD just starts the spindle. You can still control the speed of the spindle with your S command or the Spindle Panel on Mach 3.

  6. #6
    Join Date
    Aug 2008
    Posts
    110

    need a little help

    Hi need a little help setting up same setup
    I've been trying to follow the setup here with no look.

    I have connected my G540 to the VFD as the drawing EN010_V8.pdf
    7 - ACM / 8 - VI / 9 - 10V

    wire from pin 5 G540 to pin 4 SSR
    wire from +Vdc to pin 4 SSR
    wire from pin 2 SSR to VFD FOR
    wire from pin 1 SSR to VFD DCM

    I have been using the VFD to control my spindle prior to trying this setup all worked fine.

    On the VFD control panel I changed PD001 to 1 & PD002 to 1 for external terminal.

    now not to sure if I have it right in Mach3.
    attached pic of setup I set PWM base to 400 not sure if this correct it also keeps changing to 401 or 403 !

    I'm sure i've miss understood something
    cheers for any help
    Attached Thumbnails Attached Thumbnails SSR.jpg   Mach3 setup.jpg  
    Attached Files Attached Files

  7. #7
    Join Date
    Dec 2009
    Posts
    528
    Your wiring looks good.

    I changed my relay from an electro-mechanical relay to the Crydom SSR. Unfortunately, I couldn't get the SSR to work. It would start up the spindle but it would never completely stop. So I had to go back to my electro-mechanical relay.

    The attachments show how I've got Mach 3 set-up to run my spindle.
    Attached Thumbnails Attached Thumbnails s1.jpg   s2.jpg   s3.jpg   s4.jpg  


  8. #8
    Join Date
    Dec 2003
    Posts
    24221
    Quote Originally Posted by Action-KAT View Post
    wire from pin 5 G540 to pin 4 SSR
    wire from +Vdc to pin 4 SSR
    wire from pin 2 SSR to VFD FOR
    wire from pin 1 SSR to VFD DCM

    I have been using the VFD to control my spindle prior to trying this setup all worked fine.
    It appears you are using a SSR that is totally unsuitable for what you are trying to do.
    If I understand it correctly, you are using a 240vac TRIAC output SSR to switch low voltage DC control.
    If going with an isolated switch, you need something with a DC logic level output.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  9. #9
    Join Date
    Dec 2009
    Posts
    528
    Quote Originally Posted by Al_The_Man View Post
    It appears you are using a SSR that is totally unsuitable for what you are trying to do.
    If I understand it correctly, you are using a 240vac TRIAC output SSR to switch low voltage DC control.
    If going with an isolated switch, you need something with a DC logic level output.
    Al.
    Good eye, Al! I didn't even notice that.

    But I'm using (I think) a DC logic level output and it didn't work for me either. It seemed that the output does not completely shut down. Attached is what I tried. They work if I use them to turn my stepper motor brake on and off on my z-axis, but not when I use it to turn my spindle on/off.

    I would love to replace my electro-mech relay with an SSR. Anything you can recommend?
    Attached Thumbnails Attached Thumbnails XT6E1274.jpg  

  10. #10
    Join Date
    Aug 2008
    Posts
    110
    Hi Al

    Electrics Not my best subject.
    I have looked for a similar relay that homanndesigns sells in the UK.
    not having much look,
    if you could point me in the right direction what i'm looking for from a UK supplier
    it would save me a lot of hair pulling ( what little I have )

    cheers for the heads up
    KAT

  11. #11
    Join Date
    Dec 2009
    Posts
    528
    Quote Originally Posted by Action-KAT View Post
    Hi Al

    Electrics Not my best subject.
    I have looked for a similar relay that homanndesigns sells in the UK.
    not having much look,
    if you could point me in the right direction what i'm looking for from a UK supplier
    it would save me a lot of hair pulling ( what little I have )

    cheers for the heads up
    KAT
    If you're looking for the 48V relay that HomannDesign sells, it's similar/same to the Tyco Electronics (Potter & Brumsfield) T9A series "DC Coil 30 Amp Panel Mount Relay". Get the 48V coil. They're what I'm using.

  12. #12
    Join Date
    Dec 2003
    Posts
    24221
    What you have to look at is the Off state output current, many have 5ma off current, which can be the cause of not turning off.
    You could simply use a 4N25 for 50¢.
    In the attached drawing, just separate the commons for isolation, and you do not need the 4.7k output resistor on the collector.
    Al.
    Attached Thumbnails Attached Thumbnails 4N25.jpg  
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  13. #13
    Join Date
    Aug 2008
    Posts
    110
    Cheers Al / jsantos

    thanks for the help, I think I have located one T9A series in the UK.
    T9A

    could you have a quick look to see if I got it right this time.
    many thanks guys as I said not my best subject..

  14. #14
    Join Date
    Dec 2003
    Posts
    24221
    You do realize that is a mechanical relay?
    At 30A rating it is slightly over kill
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  15. #15
    Join Date
    Aug 2008
    Posts
    110
    Al That's all I have managed to track down so far.
    I have no idea why it's so had to find a similar relay to homanndesigns
    here in England.

    If you can show me what would be a better option,
    I would be more than happy to take your advise
    cheers for taking the time out to help

  16. #16
    Join Date
    Dec 2003
    Posts
    24221
    If you decide to use a relay, you want to go with something with low cost, low coil current such as this.
    Digi-Key - Z773-ND (Manufacturer - G5V-1-DC5)
    You must have many DIP relay options in the UK.
    Farnell UK
    http://uk.farnell.com/omron-electron...vdc/dp/9949488
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  17. #17
    Join Date
    Apr 2010
    Posts
    294
    Maplins do relays. There may be an outlet near you.

  18. #18
    Join Date
    Aug 2008
    Posts
    110
    Cheers Al

    will either of these work OK wired to my G540 & 48v 12.5a power supply

  19. #19
    Join Date
    Dec 2003
    Posts
    24221
    The ones I indicated are 5vdc coil, it depends what you are switching the relays with?
    You need to order the coil voltage according to the supply it is being switched with.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  20. #20
    Join Date
    Aug 2008
    Posts
    110
    Sorry Al not following very well.

    I am following EN010_V8.pdf
    wiring diag using my Gecko G540 and my 48v 12.5A power supply
    so am I looking for a 48vdc 12.5A relay ?

Page 1 of 4 123

Similar Threads

  1. Replies: 2
    Last Post: 12-31-2013, 04:33 PM
  2. huanyang vfd and mach3
    By Elektryk in forum Phase Converters
    Replies: 4
    Last Post: 07-29-2013, 05:14 AM
  3. Connecting 2 Gecko G540 to Mach 3 for ATC
    By tgab101 in forum Gecko Drives
    Replies: 2
    Last Post: 01-22-2013, 05:52 PM
  4. Huanyang 2.2kw VFD PWM Mach3
    By Kkatkhuda in forum Phase Converters
    Replies: 0
    Last Post: 11-14-2012, 02:31 PM
  5. Replies: 30
    Last Post: 07-08-2011, 07:07 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •