Results 1 to 3 of 3

Thread: Charge pump vs estop fun

  1. #1
    Registered
    Join Date
    Jan 2011
    Location
    USA
    Posts
    53
    Downloads
    0
    Uploads
    0

    Charge pump vs estop fun

    I am setting up Mach 3 with a Geckodrive G540.

    When I turn the charge pump switch off on the front panel of the G540, I have normal stepper motor control. Good so far.

    When the charge pump switch is on, and Mach 3 is not running, the G540 fault light come on, so far so good.

    I have port 1 pin 16 configured to output the charge pump signal in Mach 3. The LPT1 port is in EPP.

    If I set "charge pump on in estop" true in the config, I can press reset in Mach 3 and the G540 goes ready. I suspect this tells me that the electrical connectivity for pin 16 is fine. Pressing RESET does not fault the g540, as I would expect with the charge pump signal always active. the hardware estop switch does fault the g540 normally though, and I see estop toggle on the diagnostics screen as i would expect.

    If "charge pump on in estop" is set to false, when I send a reset, the g540 flashes green and immediately goes back to red (fault), I suspect due to the estop signal coming from the g540 not toggeling to estop false quickly enough, perhaps? A race condition of sorts, I think.....

    When the reset is pushed and I get a green flash on the g540, I also see a very fast flash on the diagnostics screen "emergency" LED. I also get the "fix inputs" box pops up at various time in this process when it loses track of the estop state.

    Running drivertest gives what the docs say is normal results, a nice straight line with few or no glitches.

    I tried setting the charge pump to active low with no real change apparent, either way.

    What am I missing here? I desire that the g540 fault when RESET is pressed, or is it working the way it is supposed to?

    Oh, and the g540 faults, as expected, when Mach3 is shut down, and goes ready when mach 3 is started with "charge pump on in estop" = true. Hmmmmm.

    If I disble the estop input in Mach 3 (port 1, pin 15) then the g540 toggles normally, however it will no sense the hardware estop switch as I would expect. I think it might be a Mach 3 timing problem.

    Suspected sequence of events:
    Starting from a Mach 3 "not ready" state, with port 1 pin 15 enabled:

    1. I press Mach 3 "reset"
    2. Mach 3 enables the charge pump out on pin 16
    3. G540 goes ready momentarily (flashes green)
    4. Mach 3 checks estop input and still sees estop on pin 15 (flashes estop input red)
    5. Mach 3 turns off charge pump signal on pin 16
    6. g540 faults due to lack of charge pump signal
    7. Mach 3 faults on estop

    If there was a short delay in checking estop status I bet this would work. I like the idea that the motor controller would fault if the motion control software is not running, and I cannot have Mach 3 not fault when the estop switch is activated. Hmmmmm.

    I am running the demo version (still building my machine) version R3.043.022 on Windows 7 Ultimate. It's a AMD 64 machine about a year old, 4gb ram, 2.2 ghz, vanilla machine....

    Any ideas?


  2. #2
    Registered
    Join Date
    Jan 2011
    Location
    USA
    Posts
    53
    Downloads
    0
    Uploads
    0
    Anybody have any ideas? And, yes, I have tried both active high and active low on my estop input....


  3. #3
    Registered
    Join Date
    Apr 2010
    Location
    USA
    Posts
    464
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by dgates80 View Post
    I am setting up Mach 3 with a Geckodrive G540.
    <snip>
    I tried setting the charge pump to active low with no real change apparent, either way.
    <snip>
    Active low or high is irrelevant on the charge pump.

    The charge pump circuit is looking for an AC (usually square wave) signal with a frequency more than 1000 hz.

    Tom


Similar Threads

  1. Charge Pump
    By cadmonkey in forum LinuxCNC (formerly EMC2)
    Replies: 8
    Last Post: 04-06-2010, 02:19 AM
  2. Charge pump - do I need this on?
    By zeeway in forum Gecko Drives
    Replies: 17
    Last Post: 01-05-2010, 01:40 AM
  3. charge pump
    By michaelf in forum Benchtop Machines
    Replies: 23
    Last Post: 10-25-2009, 06:55 PM
  4. charge pump
    By eloid in forum DIY CNC Router Table Machines
    Replies: 3
    Last Post: 01-25-2009, 10:14 AM
  5. Charge pump
    By mlaws1172 in forum Screen Layouts, Post Processors & Misc
    Replies: 0
    Last Post: 01-03-2006, 11:46 PM

Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.