603,323 active members*
2,588 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2013
    Posts
    3

    Mach3 G540 0-10V spindle control

    Hello,

    I am trying to use Mach3 and a Gecko G540 to control a "Sangmutan" 2200W BLDC motor + driver. I am using the motor on a direct belt driven G0704 conversion.

    The motor and driver is here:
    http://www.automationtechnologiesinc...tor-and-driver

    The main discussion thread is here:
    http://www.cnczone.com/forums/bencht...tml#post800897

    I followed this condensed guide to get an external potentiometer working and have made the appropriate connections to put the spindle in the FOR direction and Start stage.
    http://www.cnczone.com/forums/attach.../432048.attach

    I am trying to use a 0-5V analog signal to control the speed of the motor by using the relevant analog input pin on the BLDC motor driver board. I have verified that this functionality works by using an external potentiometer and varying a 0-5V signal to the relevant ports. I was able to control the motor across its full range of 0-6000rpm with the 0-5V input.

    I now want to replicate this using my G540. I have my G540 hooked up and it correctly controls the 3 stepper motors using a DB25 parallel printer port on a Windows XP machine.
    I have supplied the G540 "VFD" pins with external 5V supply, external 5V ground and then I have connected the G540 VFD output to the "Sangmutan" driver board analog input and also the respective grounds have been joined.

    From this point on I am unsure what to do in relation to the Mach3 configuration settings. I have read through all of the forums and discussion posts that I could find but there is a huge amount of incorrect and contradictory information.

    Mach3 Settings that I think are correct:
    Spindle Pulley 1 set to 7000rpm.

    Mach3 Settings I am not sure about:
    • Ports and Pins
    • Spindle Settings
    • Whether a physical on/off spindle control relay is required
    • Whether motor speed feedback in required


    I would greatly appreciate any help.

    Regards,

    Barry

  2. #2
    Join Date
    Sep 2009
    Posts
    1856

    Re: Mach3 G540 0-10V spindle control

    one problem from 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.
    http://danielscnc.webs.com/

    being disabled is not a hindrance it gives you attitude
    [SIGPIC][/SIGPIC]

  3. #3
    Join Date
    May 2013
    Posts
    3

    Re: Mach3 G540 0-10V spindle control - SOLVED

    Quote Originally Posted by daniellyall View Post
    one problem from 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.
    UPDATE - SOLVED: I got it working after a bit of troubleshooting. It appears that my motor driver board had a factory fault and the pick and place machine seems to have put an incorrect value resistor on the analog input going to the LM358 Op Amp. Basically, the input was extremely low impedance and the G540 was unable to drive the input sufficiently.

    I have fixed the board fault by bypassing it and the system works correctly now. I can control it in MACH3.

    Regards,

    Barry

Similar Threads

  1. G540 spindle control.
    By krakenatwork in forum Gecko Drives
    Replies: 1
    Last Post: 05-08-2017, 05:12 AM
  2. LMS G540 Mach3 Spindle Control Help - Diagram?
    By coherent in forum Gecko Drives
    Replies: 4
    Last Post: 08-22-2013, 12:08 AM
  3. Spindle control problems with X2,G540,Mach3...
    By forrest39 in forum Benchtop Machines
    Replies: 30
    Last Post: 01-03-2013, 02:42 PM
  4. Is it possible? (G540 spindle control)
    By fretsman in forum Gecko Drives
    Replies: 6
    Last Post: 10-14-2009, 12:27 AM
  5. Spindle Control Through G540
    By john1285 in forum Gecko Drives
    Replies: 1
    Last Post: 09-30-2009, 04:26 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
  •