Connecting Huanyang VFD to Mach3 via Gecko 540


Page 1 of 4 1234 LastLast
Results 1 to 20 of 71

Thread: Connecting Huanyang VFD to Mach3 via Gecko 540

  1. #1
    Registered
    Join Date
    May 2010
    Location
    Norway
    Posts
    64
    Downloads
    0
    Uploads
    0

    Default 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!!

    Similar Threads:


  2. #2
    Member
    Join Date
    Dec 2009
    Location
    usa
    Posts
    528
    Downloads
    0
    Uploads
    0

    Default

    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
    Member
    Join Date
    Dec 2009
    Location
    usa
    Posts
    528
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    May 2010
    Location
    Norway
    Posts
    64
    Downloads
    0
    Uploads
    0

    Default

    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
    Member
    Join Date
    Dec 2009
    Location
    usa
    Posts
    528
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered Action-KAT's Avatar
    Join Date
    Aug 2008
    Location
    England
    Posts
    110
    Downloads
    0
    Uploads
    0

    Default 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 Connecting Huanyang VFD to Mach3 via Gecko 540-ssr-jpg   Connecting Huanyang VFD to Mach3 via Gecko 540-cnc-vfd-introduction2-1-pdf   Connecting Huanyang VFD to Mach3 via Gecko 540-mach3-setup-jpg  


  7. #7
    Member
    Join Date
    Dec 2009
    Location
    usa
    Posts
    528
    Downloads
    0
    Uploads
    0

    Default

    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 Connecting Huanyang VFD to Mach3 via Gecko 540-s1-jpg   Connecting Huanyang VFD to Mach3 via Gecko 540-s2-jpg   Connecting Huanyang VFD to Mach3 via Gecko 540-s3-jpg   Connecting Huanyang VFD to Mach3 via Gecko 540-s4-jpg  



  8. #8
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24220
    Downloads
    0
    Uploads
    0

    Default

    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
    Member
    Join Date
    Dec 2009
    Location
    usa
    Posts
    528
    Downloads
    0
    Uploads
    0

    Default

    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 Connecting Huanyang VFD to Mach3 via Gecko 540-xt6e1274-jpg  


  10. #10
    Registered Action-KAT's Avatar
    Join Date
    Aug 2008
    Location
    England
    Posts
    110
    Downloads
    0
    Uploads
    0

    Default

    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
    Member
    Join Date
    Dec 2009
    Location
    usa
    Posts
    528
    Downloads
    0
    Uploads
    0

    Default

    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
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24220
    Downloads
    0
    Uploads
    0

    Default

    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 Connecting Huanyang VFD to Mach3 via Gecko 540-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
    Registered Action-KAT's Avatar
    Join Date
    Aug 2008
    Location
    England
    Posts
    110
    Downloads
    0
    Uploads
    0

    Default

    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
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24220
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered Action-KAT's Avatar
    Join Date
    Aug 2008
    Location
    England
    Posts
    110
    Downloads
    0
    Uploads
    0

    Default

    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
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24220
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    Apr 2010
    Location
    UK
    Posts
    294
    Downloads
    0
    Uploads
    0

    Default

    Maplins do relays. There may be an outlet near you.



  18. #18
    Registered Action-KAT's Avatar
    Join Date
    Aug 2008
    Location
    England
    Posts
    110
    Downloads
    0
    Uploads
    0

    Default

    Cheers Al

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



  19. #19
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24220
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered Action-KAT's Avatar
    Join Date
    Aug 2008
    Location
    England
    Posts
    110
    Downloads
    0
    Uploads
    0

    Default

    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 1234 LastLast

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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Connecting Huanyang VFD to Mach3 via Gecko 540

Connecting Huanyang VFD to Mach3 via Gecko 540