View Full Version : Stepper Motor Wire Colour Codes

c cunningham
14-01-2011, 11:51 AM
HELP, is there a standard colour code for nema moters?
IE what wire doz what!!!!

14-01-2011, 02:04 PM
Try these
It would also help if you quote the model number

c cunningham
14-01-2011, 05:18 PM
well yes I could ,, and will doo tomoz ,, and be very thank full if you can help but the question is
Is there a standard colour code for nema motors ?
there should be , they are standardized motors arnt they??
found it !!
they are 57bygh633
1.8 deg
3 amp
made by Wantai motor
6 wires B,W,R,G,Y,B

14-01-2011, 05:52 PM
Goggle is a good friend http://www.google.co.uk (http://www.google.co.uk/)



14-01-2011, 08:51 PM
6 wires B,W,R,G,Y,B

Six wires, oh dear...that means you're either running in Unipolar or Bipolar with only half the coils neither of which is an attractive option.

What are you intending to use them for?

16-01-2011, 02:30 PM
Is there a standard colour code for nema motors ?
there should be , they are standardized motors arnt they??

AFAIK the NEMA standard for motors only standardizes the sizes of the mountings i.e. all 23s are the same all 34s etc.. I'm pretty certain there is no standardization of wire colours. Here's a killer example that makes it even worse than you might at first think. The M60STH88 (a replacement for) and the FL60STH86 have the same colour wires and they all refer to the same "coil ends" if you see what I mean - BUT the STARTS of the coils are different! Bit me right in the *ss that one!

16-01-2011, 02:40 PM
Yes I've had many different colours of wires on steppers. You often find they're quite logical colours - i.e. the similar ones go together.

size 23 = 2.3"
size 34 = 3.4"

c cunningham
24-01-2011, 11:24 AM
Well jonathan has come up with the solution of all the heat was running at full power , too hi .
turned the board down to 3a and now a lot better so far , is there a better way of wireing the moters?

24-01-2011, 02:15 PM
Well jonathan has come up with the solution of all the heat was running at full power , too hi .
turned the board down to 3a and now a lot better so far , is there a better way of wireing the moters?

Sorry? - have I just gone through a time warp - I thought we were talking about standardized wire colours :confused:

c cunningham
24-01-2011, 02:40 PM
I was but aparently there is no standard colour code for the wires got the nema 23 size ones infront of me and they have 6 wires
these are BL,G,R,B conected to the board A+,A-,B+,B- white and yellow not used at all
I can follow a wireing diagram but as to the indeph tecnical stuff with electirkery I am a bit fooked
Jonathan gave me the ides to turn the power down on the controler board which has worked
they have been running the roadrunner for 2 hours and only luke warm now
as for bipolar ECT just dont know as the wireing crapagram dont actualy say which is which
Any help M8 ?

24-01-2011, 04:32 PM
[2 posts for the price of one]

24-01-2011, 04:33 PM
The way you have it connected is probably the best. The other way would be what's called 'half coil' which, as the name suggests, only uses two out of the 4 coils in the motor. You'd then use the center white/yellow wires and BL / R. That, I think, would get the motors going faster - but with much less torque since the magnetic field is smaller due to using less coils. If I recall correctly the manual for the stepper drivers I use explains it:


If not google is your friend.

Before you were using 3.5 amps, now 3 amps so since power lost is I^2*R, that's 3^2/3.5^2 = 73% of the heat you had before.

24-01-2011, 05:01 PM
LOL - are you two using ESP or am I missing some posts here?

I've gleaned you have six wire motors and bi-polar drivers. Other than that it's impossible to say which wiring scheme would be best for you without knowing a) the torque curves and specs. of your motors (phase I, V, L etc.) and b) your PS specs. c) your driver specs. d) the demands/requirements of your system. You simply can't generalize.

I think I've gleaned that you may or may not have a problem with something overheating, is that motors or drivers or what? and what do you regard as hot?

c cunningham
25-01-2011, 10:44 AM
AHHH your getting all teci on me now LOL , yes will prob learn all the tec as i go along (usualy at some expence LOL)
The original question was "is there a standard colour code to nema moters" Aparently not !
I think the way they are wired is correct , least for the moment
The heat was caused by runnin 3a motors at 3.5a turning the driver board down to 3a via the dip swiches solved it
they where almost to hot to touch after 2/3 hours (there is no load on the motors just testing the setup)
as for the final demands of the finished CNC , I just dont know M8 my intention is to build a CNC for roughting wood
Its for mainly simple tasks not fine intricate work so going for .5mm acurate as a goal
The set of motors in question are 4x nema 23 with 230oz torque
A 4 axis toshiba board
24v 14,4a power supplie
The final goal is to build a practical CNC 900mm wide 3000m long with a working area of at least 2ft x 10ft aproxx
I am a furniture maker and have a workshop and shop , there are 4 of us we mainly make fitted bedrooms and kitchens some bespoke furniture as well as sell furniture from the show room shop floor
The cnc is my personal project but hopefully will develop in to a usefull tool for the work shop , I just dont have the money to buy a reddy made CNC and the buisiness cant aford it (times are ard M8)
Ive only been leaning about CNCs for 2 months and got the bug big style
YES the moters are too small for the BIG cnc also got a set of nema 32 880oz , board and power supplies ECT
So now it looks like I am building 2 LOL
This forum is great! and so helpfull and frendly , Thank you and every one for all the advise
Shure I will cock up many times but thats all part of the fun

c cunningham
26-01-2011, 01:13 PM
sorry stirling I posted but it dident work?
I was the moters I was feeding 3.5a to 3a moters so they got quite hot LOL