Hello Guest it is March 28, 2024, 11:32:57 AM

Author Topic: motor does not run  (Read 15507 times)

0 Members and 1 Guest are viewing this topic.

Re: motor does not run
« Reply #20 on: July 23, 2009, 05:03:46 AM »
No, switches are working properly.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: motor does not run
« Reply #21 on: July 23, 2009, 06:30:30 AM »
I have just tested with your xml and a switch connected between pin10 and Gnd and its working fine so not likely a config issue, almost definitely has to be hardware. I know you say the switches are good but can you test by removing the switches and just using a piece of wire connecting pin 10 to gnd and see what happens when you break then reconnect.
Hood
Re: motor does not run
« Reply #22 on: July 23, 2009, 04:01:58 PM »
I did that.  When closed, I read 0.02 volts.  When open I read 4.99 volts.
Also, when closed, there are no limit or estop LEDs lit in the configuration window.  When opened, they light.
Is it normal for the 3 LEDs to be lit at all times (see before picture)?  Could that be it?
garhar1   

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: motor does not run
« Reply #23 on: July 23, 2009, 04:09:21 PM »
Is it normal for the 3 LEDs to be lit at all times (see before picture)?  Could that be it?
garhar1   

Which LEDs are you meaning?
Hood
Re: motor does not run
« Reply #24 on: July 23, 2009, 06:16:02 PM »
Looks like the 0.02V is enough to keep it from resetting.  If I bypass all the limit switches (and all the limit switch wiring running in the cable carrier) everything works fine.  I guess I'm getting some bleed from the stepper wiring.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: motor does not run
« Reply #25 on: July 23, 2009, 06:36:06 PM »
Have you got the wires shielded and the shielding only grounded at one end?
Hood
Re: motor does not run
« Reply #26 on: July 24, 2009, 06:46:04 AM »
The stepper motor wires are shielded and ground at one end.  I have nowhere to ground the other end.  The limit wires are not shielded.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: motor does not run
« Reply #27 on: July 24, 2009, 06:55:46 AM »
Should only be grounded at one end anyway and ideally all shielding should be grounded to the same point in your control cabinet.
Hood
Re: motor does not run
« Reply #28 on: July 24, 2009, 07:17:09 AM »
I think its the cheap wire I used for the limit switch wiring.  Time to rewire them. yuk
Re: motor does not run
« Reply #29 on: July 25, 2009, 07:41:26 AM »
Rewired and still the same problem.  Searched the forum more and found I should set debounce to 500 to 2000.  The 500 setting seems to have fixed the problem.  Should have searched better the first time. Would have saved me a lot of time.