PDA

View Full Version : Just set up electronics but no x axis motion



Skydeals
21-07-2014, 10:44 PM
Hi
Ive just set up my cnc electronics for now with only wiring for x axis.
Im using the ZP5a int BOB from zapp automation.
When powered the PSU is fine, driver green LEDs are on, the motor sounds energized (based on noise coming from it) and when I run something on MACH 3 the x axis lights on the BOB flash.
However there is no movement of the motor. I cant seem to work out why this is?
Any help would be appreciated. The picture of my wiring is attached.

Gary
22-07-2014, 08:40 AM
you have the connections to the breakout board wrong.
link the negative together and then connect to the N.
Then connect the positive side to the S and the D.

Hi
Ive just set up my cnc electronics for now with only wiring for x axis.
Im using the ZP5a int BOB from zapp automation.
When powered the PSU is fine, driver green LEDs are on, the motor sounds energized (based on noise coming from it) and when I run something on MACH 3 the x axis lights on the BOB flash.
However there is no movement of the motor. I cant seem to work out why this is?
Any help would be appreciated. The picture of my wiring is attached.

irving2008
22-07-2014, 08:57 AM
Are you sure Gary? On another thread there was considerable debate about the lack of source current output from the buffers on the ZP5a and the conclusion was it was better to use the BOB to sink current through the optoisolators, therefore PUL+ & DIR+ to 5v and the - to their respective outputs on the BOB and set Mach3 to 'active low'. Which is the way the OP has it wired apparently, assuming the red wire is to +5v. What's hard to see from these pics is the drive to motor wiring; to check the pairing of the 8 wires down to 4.

@skydeal do you have Mach3 set for active low and pulse length to 5? And can you list the motor wiring.

Gary
22-07-2014, 10:04 AM
Quite sure.
The N is a gnd, so connect all of the negative sides to this.
the buffers output a 5V step, direction and enable signal, so the PUL+ goes to the S, the Dir+ to the D and the ENA+ to E.
Also don't use the USB to power the board, it is very finicky.


Are you sure Gary? On another thread there was considerable debate about the lack of source current output from the buffers on the ZP5a and the conclusion was it was better to use the BOB to sink current through the optoisolators, therefore PUL+ & DIR+ to 5v and the - to their respective outputs on the BOB and set Mach3 to 'active low'. Which is the way the OP has it wired apparently, assuming the red wire is to +5v. What's hard to see from these pics is the drive to motor wiring; to check the pairing of the 8 wires down to 4.

@skydeal do you have Mach3 set for active low and pulse length to 5? And can you list the motor wiring.

irving2008
22-07-2014, 11:10 AM
Ok, but that way you're only driving the optoisolator at half the current it would prefer. Doesn't the ZP5a have a +5v out as well the N on each channel?

Gary
22-07-2014, 11:20 AM
This is the link to the datasheet / manual.
http://www.zappautomation.co.uk/productattachments/index/download?id=17
It is a very simple breakout board and the outputs are N, S, D and E.
the board buffers the signal from the parallel port so as long as you have a good 5V to power the board you will get good +5V signal from the S,D and E connections.
The only issue we have had with this board is when the USB is used to power the board, and never had any issue with it not having enough current to power the opto on the driver.

irving2008
22-07-2014, 12:06 PM
Yes I read the manual. I'm not saying you're wrong, the board will work as you say, but the output buffers can only source 6mA at 3.8v typical output on a 5v supply. With a typical optoisolator circuit as in the MH drives (given a 390ohm input resistor and a 2v forward voltage) you'll actually get around 4.5mA , less than half what the optoisolator needs to meet the recommended drive levels in the MH driver spec, plus the active rising edge is slow due to the input capacitance which could become problematic at higher step rates. By sinking current you only lose 0.4v of the 5v in the buffer so you get closer to 7mA drive and better shape to the active falling edge so better at higher step rates and more resistant to noise on supply rails.

I guess the OP did wire it wrong as he took the + common to N and not to 5v output? If so I stand corrected on that point.

Skydeals
23-07-2014, 08:31 PM
Problem solved! followed garys instructions on using connecting PUL+ and DIR+ to signal and direction and dir-/pul- both to ground. my previous wiring was based on several sources online aswell as Driver Manual, but i guess they werent specific to this BOB.
thanks

Skydeals
23-07-2014, 08:41 PM
wiring was correct. done it according to this motor. http://www.zappautomation.co.uk/electrical-products/stepper-motors/nema-23-stepper-motors/sy60sth86-3008b-nema-23-stepper-motor.html.
yes my settings werent active low enabled for x,y,z. i switched them on but no movement.
but problem has been solved. followed garys advice

JAZZCNC
24-07-2014, 09:54 PM
Are you sure Gary? On another thread there was considerable debate about the lack of source current output from the buffers on the ZP5a and the conclusion was it was better to use the BOB to sink current through the optoisolators

Wasn't my conclusion and I told him this wouldn't be the problem. These Bob's are basic yes but they do work and with what's probably the most used drive to come out of china It would be bad state of affairs if they didn't.! . . . . .Sites would be full complaints and I've not seen many and 99% time it's not what they thought it's some other issue like what Gary mentions being powerd by USB etc.