working...
Printable View
working...
Hi Kwackers
What is Swap Clock Pulse? What is Enable Polarity? I am trying to connect your step generator to a Rutex R90H servo drive and having a bit of trouble. The pulse generator will reset sometimes and quit pulsing sometimes and other eronious faults results. The signals from the step generator (step and direction) are low while the step/direction pins on the rutex drive are high. Can that be the problem? How to fix? I should also add that the servo drive has its own power supply and the 0V from must be connected to the 0V on the step driver to get any response whatsoever.
TIA
The clock pulse line is held at either a logic '0' or '1' (0v or 5v), when a clock pulse is sent to step the motor it flips state for a few microseconds.
Some controllers expect this state to be normally low and flip high, some expect it high and flip low. The 'Swap Clock Pulse' option simply allows this to be changed.
Some controllers will work fine in either position, some will be intermittent or not work at all in one position.
With regards to your controller I'm afraid I'm not familiar.
Enable polarity is the same, but for the enable line. When the divider wants to start to move the stepper it 'enables' the controller by pulling this line high (or low) depending on the setting in this option.
However, some controllers will stop driving the motor when not enabled and 'relax' this may cause steps to be lost or you may find it's possible to move your work due to the loss of motor braking. (Probably not an issue with a servo).
In my setup I use this line to put the controller into a low current state - i.e. it still drives the stepper but at a lower current.
Whilst trying to get the device working properly I would ignore the enable line.
Other things to check. You're not trying to accelerate the device to quickly? You're not exceeding the maximum clock rate for your device?
If in doubt set the max rates in the divider to smallish values (1000?) and try swapping the clock pulse polarity. You'd expect all but the weediest of systems to work properly with that.
When using steppers, another thing is to try to resist the movement of the table with your hand - if it mis-steps earlier then you're exceeding the maximum step rate you can get with that motor and power supply combination (higher voltage power supplies can maintain torque better at higher speeds - assuming your stepper controller is of the switching variety.)
I have just finished my rotary table indexer attached to a Shoba 6" table. All the electronics is mounted in an Eddystone die cast box. The keyboard overlay was constructed from a colour laser print on paper sealed by a laminating sheet. The display window was cut out before lamination. The overlay was secured with 3M double sided cut from an A4 sheet. A 0.5mm plastic spacer sheet was sandwiched between the overlay and the box to allow clearence for the keytops.
There is a video of it on Youtube at:
[ame="http://www.youtube.com/watch?v=sIAeic1DEoc"]YouTube - Digital indexer added to Shoba 6" rotary table[/ame]
Thanks Steve, great design.
Good job and nice work mp3 !
I have just found this thread and I am very impressed with this electronic indexer. My electronic skills are not very good and I don't know if I could make one of these myself. Is there anybody out there that would want to make me one and I would pay them for their services. I could come up with the rotary table and the stepper motor. I just need the driver box.
Hi Kwackers
Congratulations on this magnificent project, now my CNC will be a little more complete.
Next...
The End.
Mr. Kwackers
I do not know programming language Pic, you could help me?
In my opinion, missing two commands to the project:
1° A reset button, the rotary table to go (0 zero) in any position and at any function you wish;
2° The function of halting the program, the indexer does not work, when the rotary table is locked.
As part of my contribution to the friends I leave here board in the Eagle 5.6.
This board has a buzzer, but not it has the sensor.
Sorry my bad English.
Hi Viumau,
The first I understand - should be easy to do. Perhaps press and hold the '0' key for a couple of seconds, or press it followed by [enter] to rotate to 'home' (0 degrees).
The second however I don't understand, can you explain a little better what you mean?
Nice build by the way!
No;
1° I wanted to go (0 zero) the indexer and the rotary table does not move, just reset the indexer.
2° Use a pin the pic to send signal lock the indexer when locked the rotary table, the image is below.
This function that you said it would also be very well.
(The first I understand - should be easy to do. Perhaps press and hold the '0' key for a couple of seconds, or press it followed by [enter] to rotate to 'home' (0 degrees)).