Hello Guest it is March 29, 2024, 04:40:38 AM

Author Topic: Still unable to get motors to turn under mach 3 after 1.5 weeks  (Read 12464 times)

0 Members and 1 Guest are viewing this topic.

Still unable to get motors to turn under mach 3 after 1.5 weeks
« on: December 22, 2007, 08:09:51 AM »
Despite the help from KTM and Arturo Duncan at CPC4PC I am unable to get the motors turning in my system.
I am now exceedingly frustrated.
Here is a list of what I have tried:-
1. 2 different computers.
2. A dedicated PSU and a Bench PSU
3. Both sets of drivers in MACH3
4. 3 stepper drivers and 3 motors
5. Changed the ports and motor tuning countless times
6. Measured the output of the Breakout board with an oscilloscope
7. Used a signal generator on the breaout board with an oscilloscope
8. Checked the wiring countless times
9. Put the corrrect pulses in for the motor.
10. Checked the pins on the lpt1 cable
11. I have the setup videos about 5 times.

Does anyone have the optimisation files please.

Whats even more frustrating is that my modified mill is ready to move.

Anyone help a desperate, dispirited,downhearted and grumpy old man?

Clive


Offline comet

*
  •  336 336
    • View Profile
Re: Still unable to get motors to turn under mach 3 after 1.5 weeks
« Reply #1 on: December 22, 2007, 10:22:43 AM »
Clive,
   I have read back through your posts,have you definatly got a pulse signal going from your
breakout board to your driver when you Jog? I usually just attach a small speaker/earphone to the step wire and it
will buzz at differant pitches for differant feed rates,and should be clear and un stutterng.
If you have the buzz and the enable system is disconnected then the motors should turn.
  Do the motors do do anything? I know you say they are energised which is as it should be at stand still with the
enable system disconnected.Do the motors make any noise when commanded to move?
   I have had no expieriance with the cpc4pc system  but they are all very similar.
Whereabouts are you prehaps one of our local forum members can visit you to help.
  Tony

Offline TonyP

*
  •  132 132
    • View Profile
Re: Still unable to get motors to turn under mach 3 after 1.5 weeks
« Reply #2 on: December 22, 2007, 11:18:47 AM »
What connections are available to your driver? There are usually step, direction & common also possibly inhibit. Then the supply volts, say +24v & 0v. There will also be 4 motor outputs.

On some drives the inhibit may be left unconnected but on others it may need definitely pulling one way or another.

TonyP

Re: Still unable to get motors to turn under mach 3 after 1.5 weeks
« Reply #3 on: December 22, 2007, 12:08:54 PM »
Thanks for the responses.
I am definately getting something as I saw it on the oscilloscope, there is a pulse train for the step signal and the level changes for the direction.
The connections that are available are
1. VCC which is 24V
2. Ground
3. 2 x 5V
4. 4 x motor connections
These are wired in basic form exactly as the wiring diagram and no inhibits.
I have just tried it with no breakout board and it still doesnt work and also swapped psu.
I am now suspecting the parallel port and have tried to buy one but failed as the local PC superstore doesnt have things like this any more.
For information I am in East Sussex.

Clive

Offline TonyP

*
  •  132 132
    • View Profile
Re: Still unable to get motors to turn under mach 3 after 1.5 weeks
« Reply #4 on: December 22, 2007, 12:25:45 PM »
Clive,

When you say 2x 5v do you mean that these are the step & direction? If you've seen the step & direction pulses swinging between 0 & +5v, I don't think you've got a problem with the port or the breakout board. What driver are you using?
Dabs have some parallel cards if you really need one. Maplin also do one.

I'm just north of Reading. If you want to ring me please do. ( 0118 972 2324 )

Tony
Re: Still unable to get motors to turn under mach 3 after 1.5 weeks
« Reply #5 on: December 22, 2007, 12:40:34 PM »
Hi Tony
The 5 volts are different to the step and direction if you look at the keling website for the wiring diagram of the kl 4030 driver the curcuit diagram that I am using is there.
Yes I had found the maplin one its £30. CCL have them for <£10.
I will try to borrow one in the morning.
I am in danger from she who must be obeyed so I think its time to pack it in for the day.

Regards
Clive

Offline TonyP

*
  •  132 132
    • View Profile
Re: Still unable to get motors to turn under mach 3 after 1.5 weeks
« Reply #6 on: December 22, 2007, 12:50:30 PM »
Hmm,

Just looking at the diagram on the site. I don't see any common connection between the Vcc - and the 5v -. ie There is no common ground for the power & signal. If its wired exactly like that I wouldn't expect it to work.

Tony
Re: Still unable to get motors to turn under mach 3 after 1.5 weeks
« Reply #7 on: December 22, 2007, 02:16:51 PM »
http://www.kelinginc.net/KL-4030Wiring.pdf
Just curious....where are you getting the 5v for the machine side of the BOB ?
I used the USB.
I think I see what you mean about the ground Tony.
Another thread..from John at Keling.
Reset signal is same as Enable signal in some other driver. This signal is used for enabling/disabling the driver. High level for enabling the driver and low level for disabling the driver. Usually left unconnected(enabled).
Re: Still unable to get motors to turn under mach 3 after 1.5 weeks
« Reply #8 on: December 22, 2007, 03:38:46 PM »
I built a 5v and 12v power supply which runs off of the 24v 8.3A psu.
The 5v for the breakout and drivers and the 12v for the charge pump.
I asked about the ground somewhere else but I cant remember where.
I have spent months making the parts turning down ballscrews and modifying my mill.
I bought what is effectively a kit for the electronics expecting it to work first time.
 
Clive

Offline TonyP

*
  •  132 132
    • View Profile
Re: Still unable to get motors to turn under mach 3 after 1.5 weeks
« Reply #9 on: December 22, 2007, 03:41:13 PM »
I may have spoken too soon about the common 0v connection. Although data sheet doesn't say it, the driver input may consist of the input to an opto- isolator with an internal resistor connected to the +5v input. That would allow the breakout board to pull current though it via it's own 0v. So my previous  comment may be a 'red herring'.
A test you could try would be to switch the drive to it's coarsest setting of 1 step per pulse. Disconnect the step input from the bob. Connect the step input to 0v (the 5v supply 0v) via a push button ( or just dab the wire on & off). You should be able to manually pulse the motor one step at a time.
This is about as basic a test you can do.

Tony