Hello Guest it is December 10, 2024, 10:29:12 AM

Author Topic: Only X-axis motor is working  (Read 51028 times)

0 Members and 1 Guest are viewing this topic.

Offline rcaffin

*
  •  1,066 1,066
Re: Only X-axis motor is working
« Reply #20 on: March 20, 2018, 04:42:09 AM »
I did wonder why you would feed +24 V into an optocoupler ... But I do not know the board.

Cheers
Roger
Re: Only X-axis motor is working
« Reply #21 on: March 20, 2018, 04:44:03 AM »
Hi,
and unless theres some current limit you can be bound that the opto LED is fried.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'

Offline rcaffin

*
  •  1,066 1,066
Re: Only X-axis motor is working
« Reply #22 on: March 20, 2018, 05:05:45 AM »
or poached.
Re: Only X-axis motor is working
« Reply #23 on: March 20, 2018, 09:54:07 AM »
Thanks for the input guys.

I will check into the Enable line being checked wrong. In my head it makes sense that it could be the problem.

As for the wiring.
The picture is an optical illusion.
The first pin and second pin are common (visually bridged on the circuit board) and supposed to be +5. The third pin is gnd.
The second pin has the red wire and the third one has the black wire. Those are correct.

The 24v is within the rating of the board and connected to the proper spot.

Offline TPS

*
  •  2,536 2,536
Re: Only X-axis motor is working
« Reply #24 on: March 20, 2018, 11:54:38 AM »
ok, i have rotated my pic, and put both underneath,
just to avoid optical Illusion.

and now i am out of ideas to Point you to the fault
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Only X-axis motor is working
« Reply #25 on: March 20, 2018, 12:39:40 PM »
Hmm...
Second looks tonight will be had.

I apologize for not seeing this before.

Offline TPS

*
  •  2,536 2,536
Re: Only X-axis motor is working
« Reply #26 on: March 20, 2018, 03:56:22 PM »
insight -> 100 points
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Only X-axis motor is working
« Reply #27 on: March 20, 2018, 10:25:39 PM »
You were correct. I had the power supply on the wrong side. I feel so dumb.

Hooked it up correctly and the weird thing is nothing changed.

X still works. The other three axis do not work.

So, did I burn out two boards with them being hooked up backwards? And why would this stupid thing work with the X-axis no matter how it's hooked up? I know this is stepping outside of the Mach3 software questions at this point and do appreciate the help I've received.

Offline rcaffin

*
  •  1,066 1,066
Re: Only X-axis motor is working
« Reply #28 on: March 20, 2018, 11:01:51 PM »
The attached photo shows a Homann Designs MB-02 BoB. The little red squares are my addition: each one is a Red LED, and they show the states of the input and output pins. This lets me see at a glance whether an input pin is actually working or not, and it lets me also see at a glance whether thoe output pins are working.

The LEDs acrosa the bottom of the pic are the motor pins, Step and Dir, for X, Y, Z, A. Consider trying the following:
g0 x0 y0 z0
f0.1   (Yes, this is a ridiculously slow speed, but bear with me.)
g1 x5   (assuming metric)

You should see one of the red LEDs blinking slightly. Those are the step pulses (albeit very narrow). One of the adjacent LEDs will be the Dir signal.
Now try
g1 x0
More blinking on the Step LED, but the Dir LED next to it should change state.

If you cannot see the Step signals, go to Ports&Pins and change the motor Step pins from Active HI to Active LO (or vice versa). This chould change the state of the LEDs while the system is not doing anything.

You do not have these LEDs on your Bob, but you could hook up some external LEDs to the screw terminals. Put a 220 ohm resistor in series with each LED. And you will have to figure out which way around the LEDs should go as well. They only conduct in one direction, but you can test for that between Gnd and +5V. A rather good idea would be to remove the +24V from the BoB completely while you do this.

All this will let you see whether the BoB output pins are doing anything.

Cheers
Roger

« Last Edit: March 20, 2018, 11:18:20 PM by rcaffin »

Offline TPS

*
  •  2,536 2,536
Re: Only X-axis motor is working
« Reply #29 on: March 21, 2018, 03:34:03 AM »
You were correct. I had the power supply on the wrong side. I feel so dumb.

Hooked it up correctly and the weird thing is nothing changed.

X still works. The other three axis do not work.

So, did I burn out two boards with them being hooked up backwards? And why would this stupid thing work with the X-axis no matter how it's hooked up? I know this is stepping outside of the Mach3 software questions at this point and do appreciate the help I've received.

so have you tried to swap X an Y Step/Dir Connection on your breakout board ?

have you configured enable pin14 now ?

can you please post your XML ?

your axis dro's are changing on Screen if you move the other axis ?


« Last Edit: March 21, 2018, 03:45:39 AM by TPS »
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.