Please read the PDF that I have linked to. It describes how to wire 4-, 6-, and 8-wire motors.
How do I wier this motor to G251?
I am pretty sure you may need more than that on the step count. 2000 is pretty low and would be for a one turn per inch screw. Also your acceleration seems a little high for 300 IPM.
I run my mill direct drive on X an Y and it has 10 mm lead screws. The step count for those is 5080. I run it at 300 IPM and the acceleration is about 20 I think and this is with some nice THK slides.
Bigest problem is motor gets very hot(after 25min under power I can't hold main hand on it) and looks like is lusing steps faster it runs
At the 2000 step count, you will only get 300 RPM.
10,000 is what I would be setting this at now even on a bench.
I would still reduce the acceleration initially as well.
You didn't mention your power supply size and amps.
Steppers can get hot.
I run some on my lathe that get hot on 201's. Not too hot though, because they still preform well. One gets maybe 140 degrees F. Not comfortable to touch at all.
I construct power supply from these parts:
3 caps from www.abra-electronics.com part#
Radial Capacitors: 6800R63
At no load reads 42Volts
But i tride to run diferent PW 24V 25A and it run the same so back to org.
The carnet setup is:
Steps per 10000
Step pulse 1
Dir pulse 2
I use 1/4W 3K resistor
now problem is that is not repeating position (like G00 X.200 1 full turn of the motor shaft but is not, faster it runs bigger position error/gap from full 360 degrees.
power supply is 42V at 5A
Finally I got it running without loosing steps.
And then I decide to run motor using smooth steppers WOW
(that's table test not on machine)
Steps per 10000
Velocity 1474.8 inch/min :-)
Acceleration 30.6 inch/sec
I did change resistor to 2.4K