Help in wiring a stepper motor on a WM18 Mill
Alan McDade | 21/11/2022 15:03:08 |
15 forum posts 12 photos | Help Please. I am not an electrical guy in any shape or form but want to add a stepper motor to the Z Axis of my Warco WM18 Mill, and I need some help in sorting out the wiring. All I want a simple “On-Off-On” switch to select the up or down motion of the “Z” Axis. I plan to mount the switch on the mill’s control box in a small enclosure. I will use a NEMA 34 stepper motor with 12Nm torque driven by a S-350-60 PSU both of which I have already purchased. The PSU has the Live, Neutral & Earth input connectors as well as the following connectors available: 3 off V+ and 3 off V- The NEMA 34 has the following four wires available: Black = A+ Green = A- Red = A+ Blue = A- I also need to include a microswitch to limit the travel of the Z Axis when it reaches the top of the Z Axis. So, how do I wire this all up without burning anything out? Edited By Alan McDade on 21/11/2022 15:04:51 Edited By Alan McDade on 21/11/2022 15:05:18 |
Joseph Noci 1 | 21/11/2022 15:25:13 |
1323 forum posts 1431 photos | You did not mention the stepper phase drive controller or a step/direction pulse generator, so I am assuming you don't know how steppers work - If I assume incorrectly, I apologise... You need a DC power supply 20 to 40VDC or so at a few amps - The S350-60 is that PSU I think. Then you need a stepper drive controller - feed that with DC from the S350 supply.The Stepper controller has 4 wires out, 2 to each phase of the stepper motor - the 4 wires you mentioned. Then you need a pulse generator that send pulses to the STEP input of the stepper controller. The controller then drives the 2 phase outputs as needed by the stepper motor. The pulse rate determines stepper rotational speed. The controller also has a direction input - logic HI makes the stepper go one way, logic LO , the other way.. So before you get to simple on-off-on and microswitches, you have to sort all the aforementioned goodies out first. Lots of info through google, and we can all help here too.
https://www.damencnc.com/en/advanced-digital-stepper-drive-em422s-36v-2-2a-2phase/a3690 https://learn.adafruit.com/all-about-stepper-motors/types-of-steppers
Edited By Joseph Noci 1 on 21/11/2022 15:29:31 |
Alan McDade | 21/11/2022 15:38:33 |
15 forum posts 12 photos | Thanks Joseph - you are correct on not knowing how SMs work. I am a complete novice on electrical things, but I am having a go! I will check out your links. Many thanks. |
SillyOldDuffer | 21/11/2022 15:38:55 |
10668 forum posts 2415 photos | Hi Alan, Looks from the S-350 specification as if you've bought a power supply, in which case (as is usual), you also need a controller. But I think there's a problem with the S-350-60, it has a 60V output which may make it difficult to source a controller. A popular controller is the TB-6600, but this is max 42V and requires a pulse input to make the motor move, at a speed dependent on the pulse rate. They're good for microcontroller projects rather than simple wiring up. There are alternatives that include speed control and reverse in a box like this but this example is max 30V. It may be possible find one that does 60V. The wiring is simple except for the limit switch. No problem using a microswitch to cut the power, but the problem then is how to restore power so the motor can be reversed out of trouble. Might be easier to wire the switch to a buzzer and position it to warn the operator to STOP NOW! In the example, there are two green terminals marked + and -. Just run one wire from + to any of the three + terminals on the S350, and a second from - to any of the three - terminals on the PSU. The controller also has 4 terminals labelled A+, A-, B+ and B- that match the stepper motor.
Dave
|
Alan McDade | 21/11/2022 16:25:05 |
15 forum posts 12 photos | Dave, most helpful and I like the 'box'. I take your point about the S-350-60. I should have read more about it before ordering. It's going back to the seller now. Now looking for a psu that will run the 'box' you linked to as I like that concept. Is 30v that max? So I should look for a 24v psu? or what would you suggest? I do really appreciate your help on this. |
SillyOldDuffer | 21/11/2022 16:41:02 |
10668 forum posts 2415 photos | Posted by Alan McDade on 21/11/2022 16:25:05:...
Now looking for a psu that will run the 'box' you linked to as I like that concept. Is 30v that max? So I should look for a 24v psu? or what would you suggest? ... Yes, 24V at about 5A should be fine. This example is on Amazon is typical. It's from the same family as the one you bought, just less volts and amps to suit the motor and controller. 60V has the advantage of making the motor run a bit faster and less likely to miss steps, but it's harder to find controllers for high voltages. I'm sure they exist. For what you're doing 24V is more than adequate, or I'll eat my keyboard! Dave
|
Alan McDade | 21/11/2022 16:55:36 |
15 forum posts 12 photos | Cheers Dave, You have been most helpful - the power of this forum is really epitomised by your willingness to help this old pensioner! |
Oven Man | 21/11/2022 17:15:14 |
![]() 204 forum posts 37 photos | A NEMA 34 stepper will certainly be man enough to directly drive the X axis, it's what I have on my Chester Champion 20V which is equivalent. I am not so sure about the TB6600 based driver though. Although it appears to be adequate at 4 amps, from my experience, it gets extemely hot when driving a much smaller stepper drawing only a fraction of the four amps. The 34 size stepper is quite a beast, it might be a bit too much for the integrated pulse generator and driver that Dave (SOD) mentions. Peter |
John Haine | 21/11/2022 17:18:30 |
5563 forum posts 322 photos | Lots of stepper drives that will work off 60V, such as this one. https://www.cnc4you.co.uk/Microstepping-Driver/Stepper-Motor-Driver-6.0A-20~60VAC-or-24~80V-CNC-Microstepping-CW6060AC That one also has an AC supply option. Or look at various suppliers on Amazon, eBay etc. Higher volts is better (though yours is a non-demanding application). |
John Haine | 21/11/2022 17:19:56 |
5563 forum posts 322 photos | TB6600s are out of the Ark and have a poor reputation. Get a modern one. |
Oven Man | 21/11/2022 17:32:53 |
![]() 204 forum posts 37 photos | StepperOnline is another reputable supplier. Have a look for DM860T, this will handle 60 volts and plenty of grunt for a NEMA 34 stepper. I run my large steppers from a 40 VDC home made linear power supply that will easily handle high current peaks without tripping. Peter |
Oven Man | 21/11/2022 17:40:57 |
![]() 204 forum posts 37 photos | Here is a simple but effective pulse generator. https://www.ebay.co.uk/itm/285038218323?hash=item425d9a0c53:g:hYoAAOSw7Eljcds4&amdata=enc%3AAQAHAAAA8EZ3JVtKASeVSBaLGNzzN5UjBayTIX7sEoNaGh4WXAoUorZo%2BBwQ6JR03bM03lwx6NFbqfkRDjFMvbEGpo%2FlXwcxEDo9l0OAFNVaTL5Ny6VxSzheKwwApJGxP96hEFlTri%2BVAJSjBsFaus8tpvSfqp2LxE%2BGXMKJlhYmYlCEhGmawsCQFt%2BQlfVqvKIHv66iiwC79puppK9pEDe1V%2Fw%2FbZjlJAwMT3RT3bWlWywPYaqyy2DL%2FfkhFzIE6bmbrz7DyTM8GEWhnKNA0MBcnAICPUTRwF5yOyWt7Rtep9Ck72Ujtj2%2BleFTNx2tJsaPPGiYiQ%3D%3D%7Ctkp%3ABFBMnuqFtJNh Sorry but I can't rmember how to create a link. Peter Whoops! I don't think this will handle 60 volts though. Edited By Oven Man on 21/11/2022 17:45:26 Having had a second look it says it will work up to 160 volts DC Edited By Oven Man on 21/11/2022 17:48:22 |
Brian Rutherford | 21/11/2022 18:23:39 |
109 forum posts 3 photos | No need to send psu back. You need a dm860h or equivalent driver which will function perfectly with a 60 volt supply.These days about £40 each These are the correct size for nema 34 steppers. I have 3 nema 34 motors running fine on my W18 size mill using these drivers. Take a look on the auction site for' longs motors'. Chinese as they all are but usually shipped from within U.K 6600 driver range are for nema 27 motors. Ok for X & Y axis bit under for Z but still okay Edited By Brian Rutherford on 21/11/2022 18:27:06 |
Speedy Builder5 | 21/11/2022 19:02:10 |
2878 forum posts 248 photos | I assume that you only want to relieve yourself of manually winding the head up and down, in which case, a stepper motor is a bit of an overkill ? A concoction of a battery drill connected to the Z handle would give the same result. If you use micro switch for the limits, you could have the stepper motor going at full speed and coming to a dead stop which could make the drive belt slip or other horrible noises. You would need a soft stop as the limit switch was reached. If you are into programming ARDUINOs or other micro controllers, this can be good fun and would also allow you to "back out" from a micro switch stop that had been triggered. Also, if you used a micro controller, you could display distance travelled, feed speed and anything else you wanted to display. The accuracy of that would not be the same as a linear DRO, but fun all the same. Bob |
Michael Gilligan | 21/11/2022 20:01:51 |
![]() 23121 forum posts 1360 photos | Posted by Oven Man on 21/11/2022 17:40:57:
Here is a simple but effective pulse generator. […] Sorry but I can't rmember how to create a link. Peter
. https://www.ebay.co.uk/itm/285038218323 MichaelG. |
Alan McDade | 21/11/2022 20:37:52 |
15 forum posts 12 photos | thanks Michael, sadly they won't post to me in Northern Ireland because of the NI Protocol, I assume!! |
Grindstone Cowboy | 21/11/2022 20:57:23 |
1160 forum posts 73 photos | Don't know if it would help at all - friends over the border, for instance - but the same items appear to be listed on the Ebay Ireland site here. Rob Links to https://www.ebay.ie/itm/134336602767 |
Alan McDade | 20/12/2022 15:59:56 |
15 forum posts 12 photos | Making progress - I now have all below parts in my house and I am about to try and wire this all up. So HELP - I am a numpty regarding electrics and attempts in the past led to a burning smell or a loud bang. I want to avoid that this time so would some of you kind experts look at my proposed wiring diagram and tell if it is SAFE and won't burn or go bang please. Thanks is advance. Edited By Alan McDade on 20/12/2022 16:00:25 |
Martin Connelly | 20/12/2022 16:23:17 |
![]() 2549 forum posts 235 photos | The very first thing to check before applying power is that the 110/240V switch is set to 240V if that is what you are running on. Otherwise everything looks good to go. You may get away with not connecting the enable wire. Martin C |
John Haine | 20/12/2022 17:18:15 |
5563 forum posts 322 photos | I'm not sure why the dir, pul and ena positive sides are connected to the ground of the controller, I'd have thought it should be the negative sides? Presumably the PSU is a switched mode type that doesn't actually have the voltage switch that Martin mentioned, it just has a wides supply voltage range. Edited By John Haine on 20/12/2022 17:19:21 |
Please login to post a reply.
Want the latest issue of Model Engineer or Model Engineers' Workshop? Use our magazine locator links to find your nearest stockist!
Sign up to our newsletter and get a free digital issue.
You can unsubscribe at anytime. View our privacy policy at www.mortons.co.uk/privacy
You can contact us by phone, mail or email about the magazines including becoming a contributor, submitting reader's letters or making queries about articles. You can also get in touch about this website, advertising or other general issues.
Click THIS LINK for full contact details.
For subscription issues please see THIS LINK.