585,687 active members*
4,460 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Gecko Drives > G540 to generic DC controller
Results 1 to 11 of 11
  1. #1
    Join Date
    Dec 2005
    Posts
    436

    G540 to generic DC controller

    I would like advice on connecting a G540 to a speed controller for a brushed 110 VDC motor ( stock motor on a Sieg X2 mill)
    I will use mach 4 and have a UC100 to connect to the G540.

    My main concern is connecting the Gecko G540 pins: VFD GND(pin7), VFD OUTPUT(Pin8), VFD +10VDC( Pin 9).
    Attached is the picture from the Controller "instructions" and a link to the controller sales website.
    (https://www.aliexpress.com/item/HX-P...65962e0eNK8xFg)

    Could someone confirm that :
    Gecko Pin 7 connects to controller pin marked GND
    Gecko Pin 8 connects to controller pin marked PWM
    Gecko Pin 9 connects to controller pin marked 0-10V


    Attachment 412296

  2. #2
    Join Date
    Jun 2011
    Posts
    692

    Re: G540 to generic DC controller

    Best connection for that would be:
    Gecko Pin 7 (GND) to driver GND
    Gecko Pin 8 (OUTPUT) to driver 0-5V
    Gecko Pin 9 (+10V) to driver +5V

    The Gecko Pin 9 is the input voltage, and it varies pin 8 between GND and the voltage on pin 9. So if you've only got 5v on pin 9, you'll only get 0-5ish V on pin 8.
    I have read that there is some voltage drop on the G540 that really shows on 5v inputs, so you may have some trouble getting all the way to top speed for the drive if you can't compensate in the drive.

  3. #3
    Join Date
    Mar 2007
    Posts
    2083

    Re: G540 to generic DC controller

    an alternative solution can be to use a low power regulated 10V power supply (10V @ 200 to 500 mA )
    just to power the G540 PWM to analogue converter

    Attachment 412408

    from the G540 manual

    "
    ANALOG OUTPUT: This is a 0V to +10V opto-isolated analog output intended for use with VFD drives. VFD OUT goes to 0VDC while the G540 is disabled. Connect VFD GND, VFD OUT and VFD +10V to the VFD drive inputs. Make sure the VFD drive positive voltage does not exceed +12VDC. Do not short VFD OUT to any other terminal. Do not reverse polarity to VFD GND and VFD +10V or the G540 may be damaged.
    "

    John

  4. #4
    Join Date
    Dec 2005
    Posts
    436

    Re: G540 to generic DC controller

    @john-100 Can I use the type of external power supply that comes with consumer electronics like an internet router, i.e. a wall wart, ( provided the Volts and amps are OK)?

  5. #5
    Join Date
    Mar 2007
    Posts
    2083

    Re: G540 to generic DC controller

    provided it has a regulated 10V output it should work OK
    (the output voltage of unregulated varies depending on load current and may be too high for the G540 )

    the G540 manual states the maximum supply voltage is 12V so a regulated 12V supply can be another option

    the G540's PWM to 10V analogue converter supply current is not given in the manual but I expect its only a few mA

    John

  6. #6
    Join Date
    Dec 2005
    Posts
    436

    Re: G540 to generic DC controller

    Hey John and skubol, I am having this problem now.

    When I connect the gecko directly to the controller the voltage across the gecko pin 8 drops to about 2.7 volts, as skrubol predicted.

    So in looking into John suggested, I am having problems understanding power supply terminology.

    Regulated I understand, but I only find big ones of many amps that look like they are meant for prototyping electronic circuits.

    I see regulated supplies that are also switching. But I am worried the switching property won't play nice with the PWM to analogue converter of the G540, any advice?

    This is the regulated supply:

    Attachment 414132
    This is the switching supply described as regulated: https://www.ebay.ca/itm/Regulated-Switching-Supply-for-LED-3D-Printer-Security-Camera-System-12VDC/253187238447?hash=item3af322aa2f:m:myr_nOiuPUjl1Rz xL_Q7yyQ:rk:67f:0#shpCntId

  7. #7
    Join Date
    Mar 2007
    Posts
    2083

    Re: G540 to generic DC controller

    there is not enough detail but photo of the ABRA power supply looks too large
    but it would power the G540 PWM circuit OK

    a regulated "wall wart" with a 12V @ 200mA output will be more like what you need for your G540

    an old style power supply with a transformer , rectifier , capacitor & 7812 linear regulator will be less noisey than the switch mode power supplies in your second link

    I don't know what its like in your country but in the UK the greens have made it almost impossible to buy the old linear plug in adaptors

    John

  8. #8
    Join Date
    Dec 2005
    Posts
    436

    Re: G540 to generic DC controller

    Cheers John, I'll try the wall-wart route using your suggested diagram as a reference. ( I have a box of them to search through)

  9. #9
    Join Date
    Dec 2005
    Posts
    436

    Re: G540 to generic DC controller

    John, I made an attempt but have a problem, could you take a look?
    I have a 14V wall wart, but thought it was too high a voltage ( 12V max). I built a voltage regulator circuit with an LM317T, R1=270Ohms, R2=1800 Ohms, Throughout my problems the voltage across point A-B are 10V within a few mV.

    The problem is my spindle shaft RPM is at about 60% max rpm. The hiccup is this happens when I boot up the entire driver/power supply box ( G540, main PS, spindle controller etc). Note in this scenario the voltage across C-D is 6V and the current flow through D is about 0.3 mA. So it seems that there is a 4V drop across the G540.

    But when I cycle the enable switch (EN) on the spindle controller, the spindle RPM goes to 100% and the voltage across C-D is 10V and the current flow through D is about 0.5mA! Sometimes when I cycle the enable the RPM goes to max and then drops to 60%, sometimes is stays at 100%.

    At the begging of my tests just touching the the multi-meter probe to one of A, B, C, D caused a change in the RPM, so I put a 0.01MF capacitor across A-B and another across C-D. This eliminated the change in RPM due to just touching one probe to a circuit point, but the main issue remained.

    If you have any advice I'd appreciate it.



    Attachment 414986

  10. #10
    Join Date
    Mar 2007
    Posts
    2083

    Re: G540 to generic DC controller

    usually with voltage regulators like the LM317T or 78xx positive regulators
    I put a 0.1uF capacitors across the input and output
    and a electrolytic capacitor of about 1 to 10uF across the output

    if the wires from the 14V wall wart are long then add a electrolytic capacitor of about 100 to 1000 uF across the regulator input

    without the capacitors the regulator IC will oscillate and very likely output a 14V square wave output !!!

    I check the current that flows into the G540 pin 9
    if its less than 100mA I would be more inclined to use a 78L10 regulator that limits the output current to 100mA
    Attachment 415012

    save from a cnczone post
    Attachment 415010

    John

    PS
    LMC6032
    LMC6032.pdfLMC6032.pdf

  11. #11
    Join Date
    Dec 2005
    Posts
    436

    Re: G540 to generic DC controller

    Thanks John
    I'll try the caps.

Similar Threads

  1. My G540 Controller
    By gpraceman in forum Gecko Drives
    Replies: 9
    Last Post: 01-26-2017, 09:34 PM
  2. Generic CNC keyboard/ Controller keypad for mill/lathe retrofits and custom machines
    By PIVOTALCUSTOMS in forum Vertical Mill, Lathe Project Log
    Replies: 7
    Last Post: 12-10-2014, 09:38 AM
  3. New 4 axis G540 controller
    By automationtechinc in forum News Announcements
    Replies: 14
    Last Post: 03-01-2013, 04:01 AM
  4. New G540 controller
    By automationtechinc in forum Automation Technology Products
    Replies: 6
    Last Post: 12-12-2011, 10:24 PM
  5. Replies: 33
    Last Post: 02-24-2010, 10:39 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
  •