PDA

View Full Version : help please with first attempt



phill05
30-05-2010, 10:22 PM
Looking for some help and guidance.

This is my first attempt at building a cnc 3 axis controller, I built the power supply and have attained 28vdc output, I purchased a System 4 motherboard and 3 drv25 driver boards, connected to sys4 m/b and get the Blue power light on, 2 Red lights that fade out, and a Yellow that is on all the time.
Each axis board has 4 dipswitches I have them set to 1/8 step and 2.5A.
Next I connected the motor wires 8 in total, green & black with white stripe are joined together, as are blue & white with red stripe joined together, 4 single wires left Red, White with blue stripe test out as a circuit, and have been connected to 1A & 1B on drive, Black, Green with white stripe test out as a circuit, and have been connected to 2A & 2B on drive.
Next to Mach3.
Set up Mach3 as per PDF details and driver test reports excellent, pulses 24840 -25141
Configs port as should be, x axis enabled, dir active low checked, step active low checked, X axis Motor steps 200, Velocity 2300 all saved as should be.
Next g-code a straight line 200mm long mach3 shows X axis running but motor not turning, can anyone help me, tell me how to test this out and get it working please.
Regards Phill

John S
30-05-2010, 10:48 PM
Where about's in Derbyshire ? I'm up that way on Thursday.

Sounds like the motor wiring may well be incorrect.
Can you pin out the 4 coils and tell us that two wires go to each coil.

In config > ports and pins > motor outputs have you got step port and direction port set to 1 ?

In config > motor tuning set step pulse to 5 and save.

phill05
30-05-2010, 11:05 PM
have already got port set to 1, pulse set to 5, can you explain how to pin out the 4 coils please.

John S
30-05-2010, 11:29 PM
Get a multimeter and find which two wires make up a coil.
You have 4 coils so you will have 4 pairs of wires.

I'm guessing Black and white with black stripe is one ?
Red and white with red stripe second ?
Blue and white with blue strip third ?
Green and white with green stripe last ?

If so join white with black and white with red together , then feed red and black into 1A and 1B

Join White with blue and white with green then feed Bluee and Gren into 2A and 2B

phill05
31-05-2010, 08:43 AM
Thanks John, have done as you said, tried again still no motor turn, in Diagnostic's show's all ref xyz in Red and X counter running up and now Red flashing on Output 1.

phill05
31-05-2010, 09:04 AM
In Diagnostic's show's all ref xyz in Red and X counter running up and now Red flashing on Output 1. now tried different driver card in Y same no motor output, Y pos running up, this time no Red flashing on Output, Current state of port pins 5 Green led's, Input signals current state all blank, Output signals current state all blank.

irving2008
31-05-2010, 04:46 PM
What motors are these? do you have datasheet?

phill05
31-05-2010, 07:43 PM
I don't have any datasheets for them the machine was purchased with them on, on the end of the motors it says FL57STH76-2808B, 1.8. 2.8A/PH they look like the Nema double 6mm shaft motors and they look new, if this helps.
The controller for them was a cheep looking thing called (Aliencnc) and the wiring just taped together hence the reason to build a new setup.

irving2008
31-05-2010, 08:21 PM
Ok, the data sheet for those motors is here (http://www.motioncontrolproducts.co.uk/pdf/M57STH76-2808S.pdf) (the S is single shaft, B = double shaft)

With those motors & driver you have the option to run them wired bipolar series at 2A or bipolar parallel at 2.5A (which is the limit of the driver, not the motor)

To run them in bipolar series, you need to join blue to red/white, use blue/white = 1A, red = 1B, join green to black/white, use green/white = 2A, black = 2B

To run bipolar 1A = Red+Blue, 1B = red/white + blue/white, 2A = green + black, 2B = green/white + black/white

phill05
31-05-2010, 10:57 PM
Thanks for the link, Have now tried changing wires to both ways still no motor output, now looking at System 4 pcb, have blue power led on all time, have a green power save led on all time, 2 red signal led's fade out under 60 sec, 4 yellow direction XYZA led's never seen on.
all port pins set as per sys4 book, power is 28vdc, mach3 settings all appear to be correct, am I missing something out should anything else be enabled? can sys4 board be checked out/tested?

irving2008
31-05-2010, 11:18 PM
sounds like you're missing an enable somewhere... when you power up can you turn the motor shaft by hand or is it locked? you shouldnt be able to turn it if the motor is powered up right... (assuming you can turn it when its not powred!)


see the note on charge pump and enable on page 4 of the System4 manual. Have you permanently enabled it, or have you configured a chargepump in Mach3?

phill05
31-05-2010, 11:49 PM
Your a star, I missed that one, I now have the red enabled led on, 4 direction led's and the motor will not turn by hand, still no direction turns from motor through mach3 but we are getting closer.
Many thanks so for.

phill05
01-06-2010, 05:36 PM
motor still refuses to turn so tried a different motor this time one with only 4 wires, just the same, motor locks up with power on, when I test with jog you can feel it move 1 step and thats it.

irving2008
01-06-2010, 05:42 PM
1 step.... suggest you check step and direction are not swapped over...