# Drive motor going in either direction

**URL:** https://forum.sienci.com/t/drive-motor-going-in-either-direction/12995
**Category:** ❓ Something's Up
**Created:** [July 8, 2024, 4:01pm UTC](https://forum.sienci.com/t/drive-motor-going-in-either-direction/12995 "2024-07-08T16:01:47Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![PaBrooks](https://forum.sienci.com/letter_avatar_proxy/v4/letter/p/67e7ee/32.png) [@PaBrooks](https://forum.sienci.com/u/PaBrooks)
#### Post date: [July 8, 2024, 4:01pm UTC](https://forum.sienci.com/t/drive-motor-going-in-either-direction/12995/1 "2024-07-08T16:01:47Z")

</div>

When pressing either x- or x+ the motor may go either way. I am wondering if this would be the motor shorting or the driver in the longmill controller. I had roughed out a part and was finishing when the machine took off in the wrong direction. My machine has been running fine until this happened.

Wired in new Nema 23 and have the same results, so has to be in software or longmill controller.

---

<div class="post-metadata">

### Author: ![paullarson](https://forum.sienci.com/user_avatar/forum.sienci.com/paullarson/32/8543_2.png) [@paullarson](https://forum.sienci.com/u/paullarson)
#### Post date: [July 8, 2024, 7:20pm UTC](https://forum.sienci.com/t/drive-motor-going-in-either-direction/12995/2 "2024-07-08T19:20:27Z")

</div>

I would check to make sure the cable connectors are plugged in and that there is no problem with the cable or connectors, like a bent or missing pin, etc.

---

<div class="post-metadata">

### Author: ![PaBrooks](https://forum.sienci.com/letter_avatar_proxy/v4/letter/p/67e7ee/32.png) [@PaBrooks](https://forum.sienci.com/u/PaBrooks)
#### Post date: [July 8, 2024, 7:21pm UTC](https://forum.sienci.com/t/drive-motor-going-in-either-direction/12995/3 "2024-07-08T19:21:41Z")

</div>

I have done that and back to the controller  
If you hit x- four times in a row it will go two or three in the correct direction and then the other way.

Using GSender Ver 1.4.7  
Longboard Ver 1.4.3

---

<div class="post-metadata">

### Author: ![paullarson](https://forum.sienci.com/user_avatar/forum.sienci.com/paullarson/32/8543_2.png) [@paullarson](https://forum.sienci.com/u/paullarson)
#### Post date: [July 9, 2024, 8:57pm UTC](https://forum.sienci.com/t/drive-motor-going-in-either-direction/12995/4 "2024-07-09T20:57:46Z")

</div>

In Gsender, if you click the console tab in the lower right of the window, you can see the GRBL commands sent to the controller. You might want to check this to see if the commands are actually changing when the direction changes. I doubt it, but it’s something to check.

---

<div class="post-metadata">

### Author: ![Spamming\_Eddie](https://forum.sienci.com/user_avatar/forum.sienci.com/spamming_eddie/32/7296_2.png) [@Spamming\_Eddie](https://forum.sienci.com/u/Spamming_Eddie)
#### Post date: [July 11, 2024, 7:27am UTC](https://forum.sienci.com/t/drive-motor-going-in-either-direction/12995/5 "2024-07-11T07:27:00Z")

</div>

You might try and switch the x and z on the controller to see if the problem migrates to the z axis or stays at the x one. If the z axis becomes the problematic one, the wiring behind the controller is ok. If the x axis keeps doing the dance your focus needs to go to the wiring of the x-axis, the motor and connectors.

If the problem disapears, the wiring on the x-axis is wonky somewhere.

If the z axis is doing the dance, your controller seems the problem.
