# SET\_STEPPER\_ENABLE not working after homing is done

**URL:** https://klipper.discourse.group/t/set-stepper-enable-not-working-after-homing-is-done/1128
**Category:** General Discussion
**Created:** [October 18, 2021, 12:18pm UTC](https://klipper.discourse.group/t/set-stepper-enable-not-working-after-homing-is-done/1128 "2021-10-18T12:18:07Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![r0st](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/r0st/32/524_2.png) [@r0st](https://klipper.discourse.group/u/r0st)
#### Post date: [October 18, 2021, 12:18pm UTC](https://klipper.discourse.group/t/set-stepper-enable-not-working-after-homing-is-done/1128/1 "2021-10-18T12:18:07Z")

</div>

Hi,  
I habe an Ender 3V2 Printer with Creality V4.2.2 board.

I use a direct drive, so disabling an extruder motor for a filament change would be very handy.  
However, G Code **SET\_STEPPER\_ENABLE** does not disable or enable stepper motors after homing is done.  
It means, i cannot use it in macro during print.

However, if motors were disabled by **M18** or **M84** , **SET\_STEPPER\_ENABLE STEPPER=[stepper name] ENABLE=1** turns **ALL** stepper motors on and **… ENABLE=0** switches them off again. So it doesn’t seem to work with a single stepper, but for all of them at the same time.

Is it somehow possible to make this command work for a single stepper without stopping the print?  
Or does it work only for stepper drivers in UART mode?

---

<div class="post-metadata">

### Author: ![koconnor](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@koconnor](https://klipper.discourse.group/u/koconnor)
#### Post date: [October 18, 2021, 5:22pm UTC](https://klipper.discourse.group/t/set-stepper-enable-not-working-after-homing-is-done/1128/2 "2021-10-18T17:22:15Z")

</div>

I’m not familiar with that particular printer, but several Ender printers have just one wire to control the enable state of several motors - in that case, there’s nothing the software can do to selectively enable just one motor.

-Kevin

---

<div class="post-metadata">

### Author: ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)
#### Post date: [October 18, 2021, 9:24pm UTC](https://klipper.discourse.group/t/set-stepper-enable-not-working-after-homing-is-done/1128/3 "2021-10-18T21:24:37Z")

</div>

Why do you want disable motors after homing?  
If you disable the motors after homing, Klipper assumes the positions are not correct any more. In particular the X, Y and Z axis. The E axis is not homed. So you have to home again.

Disabling the motors only make sense after a print.

---

<div class="post-metadata">

### Author: ![r0st](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/r0st/32/524_2.png) [@r0st](https://klipper.discourse.group/u/r0st)
#### Post date: [October 19, 2021, 11:33am UTC](https://klipper.discourse.group/t/set-stepper-enable-not-working-after-homing-is-done/1128/4 "2021-10-19T11:33:50Z")

</div>

Ok, that could be the reason. The drivers are in standalone mode, not even UART on the board, so i guess, they could be really controlled by a single wire. I should look into schematic then.

**UPD.:**  
Yes, that should be it. The steppers are all disabled at once, when i do it for each single motor at the same time:

```auto
SET_STEPPER_ENABLE STEPPER=extruder ENABLE=0
SET_STEPPER_ENABLE STEPPER=stepper_x ENABLE=0
SET_STEPPER_ENABLE STEPPER=stepper_y ENABLE=0
SET_STEPPER_ENABLE STEPPER=stepper_z ENABLE=0

```

But if I enable at least one, all four of them are switched on.

---

<div class="post-metadata">

### Author: ![r0st](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/r0st/32/524_2.png) [@r0st](https://klipper.discourse.group/u/r0st)
#### Post date: [October 19, 2021, 11:39am UTC](https://klipper.discourse.group/t/set-stepper-enable-not-working-after-homing-is-done/1128/5 "2021-10-19T11:39:02Z")

</div>

I only need to do it for an extruder during filament change, not for axis motors.

---

<div class="post-metadata">

### Author: ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)
#### Post date: [March 18, 2026, 7:35pm UTC](https://klipper.discourse.group/t/set-stepper-enable-not-working-after-homing-is-done/1128/6 "2026-03-18T19:35:38Z")

</div>


