<p>I need to add two external stepper drivers to my MKS Gen L board. I am using <code>E1</code> as an extra Y-axis and that is working great. I have three Z motors and I want to move them independently if I can.</p>
<p>I am using:</p>
<ul>
<li>pins <code>63</code>, <code>40</code>, and <code>42</code> for <code>Z2</code>, and;</li>
<li>pins <code>59</code>, <code>64</code>, and <code>44</code> for <code>Z3</code>.</li>
</ul>
<p>I step up the pins in Marlin and set it to use three motors but when try to move Z only the normal Z motor moves, i.e. the default on-board z stepper driver.</p>
<p>What else do I need to do?</p>

CC BY-SA 4.0
2021-06-11T14:48:01.597Z
How did you define the pins for the extra steppers, please add the lines you added in your `pins_[board].h`, e.g. I expect you defined `Zx_yyy_PIN` for all pins.
0scar
CC BY-SA 4.0
2021-06-11T16:06:27.893Z
I did that, added pins for Y2 and Y3 to the pins I want to use.
jardane
CC BY-SA 4.0
2021-06-11T17:52:07.230Z
Please update the question with the lines you added, and where, the MKS GEN L (version ?) is a RAMPS derivative, possibly are the pins redefined. Adding the information gives others more information to answer, it is basically guesswork at the moment. Have you chosen a driver type for Z2 and Z3?
0scar
<marlin><stepper>
Using external stepper driver
jardane
# Using external stepper driver

(Asked by: username_0 on 2021-06-11)

I need to add two external stepper drivers to my MKS Gen L board. I am using `E1` as an extra Y-axis and that is working great. I have three Z motors and I want to move them independently if I can.

I am using:

* pins `63`, `40`, and `42` for `Z2`, and;
* pins `59`, `64`, and `44` for `Z3`.

I step up the pins in Marlin and set it to use three motors but when try to move Z only the normal Z motor moves, i.e. the default on-board z stepper driver.

What else do I need to do?

**Tags:** marlin, stepper
> **Comments:**
> **username_1**: How did you define the pins for the extra steppers, please add the lines you added in your `pins_[board].h`, e.g. I expect you defined `Zx_yyy_PIN` for all pins.  
> **username_0**: I did that, added pins for Y2 and Y3 to the pins I want to use.  
> **username_1**: Please update the question with the lines you added, and where, the MKS GEN L (version ?) is a RAMPS derivative, possibly are the pins redefined. Adding the information gives others more information to answer, it is basically guesswork at the moment. Have you chosen a driver type for Z2 and Z3?  

---

## 0 answers

