587,887 active members*
3,148 visitors online*
Register for free
Login
IndustryArena Forum > WoodWorking Machines > DIY CNC Router Table Machines > Stepper not working with G540, HELP!
Results 1 to 19 of 19
  1. #1
    Join Date
    Oct 2009
    Posts
    254

    Stepper not working with G540, HELP!

    Hello everyone,

    Just hooked up my g540 tonight to test it out. I hooked up 1 servo in a test. I downloaded the g540.xml file and verified that it IS loaded.

    I jumpered the estop and it does go from fault to power. When I do that, the servo makes kind of a high pitch sound and holds torque. The high pitch sound isn't very loud. It's pretty faint. ~~ should it make that sound?

    I ran a program in Mach 3 and I don't get any motor output. Is there anyway I can actually verify that Mach 3 actuall 'sees' the G540.

    My motor wiring to the g540 is correct, verified it several times according to Keling's site.

    edit: just to add to this, If I do the estop on the g540 should mach3 stop, or is that only if I do the on-screen estop within mach3? Cuz, I do the g540 stop and the program just keeps running. I did enable EPP in the bios as well.

    Thanks!!!

  2. #2
    Join Date
    Mar 2010
    Posts
    371
    Is the charge pump switch enabled?

    If it is, and it comes out of fault, the gecko sees Mach

    You are clicking the Reset button on Mach, right? Is it green outline? If it is, it's believing it sees the gecko.

    After that, ports and pins

  3. #3
    Join Date
    Oct 2009
    Posts
    254
    Thanks for responding to my post. Yes, the charge pump is enabled. I tried it both ways. And yes, I did click the Mach estop button and it had green around it.

    I did find something late last night. I check my DB25 cable and most of the top row of pins aren't connected at the other end. It utilized mostly the bottom row. Serial cable maybe? Perhaps this is my problem??

    Thanks.

  4. #4
    Join Date
    Apr 2003
    Posts
    550
    Quote Originally Posted by Rotax91 View Post
    Thanks for responding to my post. Yes, the charge pump is enabled. I tried it both ways. And yes, I did click the Mach estop button and it had green around it.

    I did find something late last night. I check my DB25 cable and most of the top row of pins aren't connected at the other end. It utilized mostly the bottom row. Serial cable maybe? Perhaps this is my problem??

    Thanks.
    I think it has always been pretty clear that you need a pin to pin cable.
    Why would you even try anything else? Where did you get this cable and what was it called?


    It could be any kind of cable if you don't know what it is. A serial, a null modem cable, a cable that only has the pins a parallel printer uses or one of many special cables out there. Connectors alone don't make the cable...

    Hopefully you haven't damaged anything...

  5. #5
    Join Date
    Oct 2009
    Posts
    254
    I didn't purposely try to make a non-working cable, work. The cable is a (M) DB25- (M) DB25. It's a cable I had around for years. There's no labeling on the cable. Not sure where I got it.

    Can you please post a link to a site that has the appropriate cable? Radio Shack appears to have a very limited selection.

    Thanks.

  6. #6
    Join Date
    Mar 2010
    Posts
    371
    One obvious cable is [ame=http://www.amazon.com/Belkin-Parallel-Switchbox-Cable-DB25M/dp/B00000J1UL/ref=sr_1_14?ie=UTF8&qid=1289577482&sr=8-14]Amazon.com: Belkin IEEE 1284 Parallel Switchbox Cable (6 Feet, DB25M to DB25M): Electronics: Reviews, Prices & more[/ame]

    Then there is:
    6ft DB25 M/M Cable - Cables To Go
    or
    25 pin Parallel DB25 DB-25 Printer Cable Male M/M 10 Ft - eBay (item 170348038827 end time Nov-14-10 22:56:58 PST)

  7. #7
    Join Date
    Apr 2003
    Posts
    550
    Ebay item
    300490904323 should work


    PMDX sells a cable specifically for this and breakout boxes and cnc stuff in general. He has a cable here..
    PMDX.COM - Products for CNC and motion control applications

    Actually most parallel port extension cables should work.

    Here is a bunch of standard cable wiring diagram..
    http://www.jspayne.com/io/schematics.html
    I have sometimes had to use a cable with male and female connectors and then use a 25 pin to pin gender changer on one end.

    Good luck..

  8. #8
    Join Date
    Oct 2009
    Posts
    254
    Thanks guys!! I appreciate the effort. I will pick the one that can get it to me the fastest. I don't think I would have hurt anything since the port is pretty much made up of I/O and not voltage transmission.

    Looking at the pinout in the g540 manual, looks like the step/direction lines are in 1-9 which on the cable I was using, are not connected.

    When the servo is at idle/ unit is powered on. Do the steppers make a high frequency noise? I describe it like the noise that old tube televisions made. Also, the shaft is tight. Can't turn it by hand when power is applied. Normal?

    Thanks again.

  9. #9
    Join Date
    Apr 2003
    Posts
    550
    Quote Originally Posted by Rotax91 View Post
    Thanks guys!! I appreciate the effort. I will pick the one that can get it to me the fastest. I don't think I would have hurt anything since the port is pretty much made up of I/O and not voltage transmission.

    Looking at the pinout in the g540 manual, looks like the step/direction lines are in 1-9 which on the cable I was using, are not connected.

    When the servo is at idle/ unit is powered on. Do the steppers make a high frequency noise? I describe it like the noise that old tube televisions made. Also, the shaft is tight. Can't turn it by hand when power is applied. Normal?

    Thanks again.
    Another thing there is a difference between steppers and servos. You have steppers not servos. To be a servo it needs feed back to say where it is..
    Just FYI....

    And the noise steppers make at idle is usually from the drivers. I have not heard the G540 so I can't say what is normal...

    Garry

  10. #10
    Join Date
    Mar 2010
    Posts
    371
    My G540 doesn't make that noise. The steppers are held in place when the Gecko is enabled, so that part is normal, yes.

  11. #11
    Join Date
    Oct 2009
    Posts
    254
    Hi again. Well I got it going. I found an old cable in storage that came over on the mayflower. It was M/F so I had to use a straight thru gender changer. I ran a program and all is good.

    That being said, I still hear that high frequency noise. The noise is coming from the stepper itself, NOT the g540. The 540 is fine. I can only hear it when the stepper is still. Is this normal for the motor when power is applied to it. It's not a mechanical noise (ie bad bearing, etc..) this is an high frequency electrical noise.

    Thanks.

    edit: I emailed John @ Keling and he thinks I need to tune the motor(s). Perhaps that's all it is?

  12. #12
    Join Date
    Mar 2010
    Posts
    371
    It doesn't happen to me. I don't know if it's really a problem. Ask Keiling; they are usually responsive.

  13. #13
    Join Date
    Apr 2003
    Posts
    550
    Quote Originally Posted by Rotax91 View Post
    Hi again. Well I got it going. I found an old cable in storage that came over on the mayflower. It was M/F so I had to use a straight thru gender changer. I ran a program and all is good.

    That being said, I still hear that high frequency noise. The noise is coming from the stepper itself, NOT the g540. The 540 is fine. I can only hear it when the stepper is still. Is this normal for the motor when power is applied to it. It's not a mechanical noise (ie bad bearing, etc..) this is an high frequency electrical noise.

    Thanks.

    edit: I emailed John @ Keling and he thinks I need to tune the motor(s). Perhaps that's all it is?
    I understand the sound is from the motor but the source is usually the signals to the motor from the driver....even at idle the motor is being powered by the driver or it would freewheel. I don't know what you would tune on the motors at idle...You did say it is at idle didn'y you?

    Garry

  14. #14
    Join Date
    Oct 2009
    Posts
    254
    Hi Garry,

    Yes, it's definitely coming from the motor and it is at idle. I do understand that voltage is at the motor even at idle, I just didn't think that it would make that high pitch noise. I'm going to hook up another motor after work.

    I have it in workbench mode, meaning that the 4 wires from the motor are directly wired to the DB9 connector. That means no shielded wire with a drain wire etc..

    /tim

  15. #15
    Join Date
    Dec 2007
    Posts
    362
    Have you adjusted the trimpots on the G540?

    Refer to step 7 on the G540 instruction manual.
    Regards
    Geoff

  16. #16
    Join Date
    Oct 2009
    Posts
    254
    Hi, thanks for your recommendation. I was thinking it was time to look at the trimpots.

    Meanwhile, when I got home.. I hooked up another stepper but this time professional. A nice braided sleeve and a beautiful solder job into the db9 connector. I hooked up up and it's the same as the first motor. However, I did find that holding the motors up off the countertop makes a slight difference. Seems to echo off the counter more when lying on it.

    Not that I have bionic hearing but I have extremely good high pitch noise sense. Unfortunately not very good low tone sensitivity. When I play with the trimpots and if it don't do or help anything, I'm going to rule this out as normal. And that it's just the power applied to the motor. After all, it's using power to hold the motor in torque.

    Thanks.

  17. #17
    Join Date
    Nov 2009
    Posts
    724
    funny i initially experienced the same thing with my G540, and it was just a little resonance from it sitting on my S.S. workbench top once I lifted it up the noise went away

    JTCUSTOMS

  18. #18
    Join Date
    Oct 2009
    Posts
    254
    Ahhh! Where were you about 6 hours ago?! LOL I searched all over the zone & google on this. I'm still going to look into the trimpot tuning. Man those pots are down in there far it seems. Plus the LED light nearly blinds you trying to see in there. I don't really have anything non conductive. Might way till I take a trip to Radio Shack to see if they got something. I don't want to screw it up with a metal screwdriver.

    btw- I'm building the Pilot Pro by PDJINC. For now I get to just sit and looking the tape on the shaft go round and round

    Cheers.

  19. #19
    Join Date
    Nov 2009
    Posts
    4415
    you dont need anything non conductive just dont flail around. Put a piece of heat shrink over your screwdrivers shaft if you are that worried.

Similar Threads

  1. G540 Spindle Control Working
    By whitehedr in forum Benchtop Machines
    Replies: 10
    Last Post: 06-30-2018, 12:51 AM
  2. anyone have a working emc g540 configuration?
    By coltz in forum Gecko Drives
    Replies: 4
    Last Post: 10-26-2009, 08:06 AM
  3. G540 x-axis slow jog stops working after a minute
    By Waldermac in forum Benchtop Machines
    Replies: 3
    Last Post: 07-12-2009, 05:50 AM
  4. Anyone get the G540 working?
    By Fixittt in forum Gecko Drives
    Replies: 10
    Last Post: 05-08-2009, 03:12 PM
  5. G540 input not working?
    By stoneyreef in forum Gecko Drives
    Replies: 1
    Last Post: 05-08-2009, 07:52 AM

Posting Permissions

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