# Modified ender 3 dual Z klipper options?

**URL:** https://klipper.discourse.group/t/modified-ender-3-dual-z-klipper-options/10640
**Category:** General Discussion
**Created:** [September 23, 2023, 12:25pm UTC](https://klipper.discourse.group/t/modified-ender-3-dual-z-klipper-options/10640 "2023-09-23T12:25:32Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![mylsr](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@mylsr](https://klipper.discourse.group/u/mylsr)
#### Post date: [September 23, 2023, 12:25pm UTC](https://klipper.discourse.group/t/modified-ender-3-dual-z-klipper-options/10640/1 "2023-09-23T12:25:32Z")

</div>

### Basic Information:

Printer Model: Modified Ender 3v2  
 MCU / Printerboard: 4.2.2 boards x2 OR SKR E3 Turbo  
 `klippy.log`

_Fill out above information and_ **_in all cases attach your_ `klippy.log` _file_** (use zip to compress it, if too big). _Pasting your_ `printer.cfg` _is **not** needed_  
_ **Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there** _

### Describe your issue:

Hello everyone,

I bought a parts bin which comprised of parts for almost 3 ender 3v2’s, black knight rails and bondtech direct drive extruder in one of them, two BL touch systems, three 4.2.2 boards, one SKR E3 Turbo board etc.

I built one of them as an “original” and got it working with klipper so that went well.

Now I’ve built the mechanical side of the one with black knight rails, dual z motors and BondTech extruder. I guess my best bet would be to use the SKR e3 Turbo board for this build. I’ve had hard time getting this to run though as I can’t get this to flash with klipper and there isn’t much info about E3 Turbo around? For the mini yes but not for the turbo.

So I thought that I’ll run this with two 4.2.2. boards one running everything else and the other running Z motors. I ran into a problem as I am using BLtouch instead of physical endstops and I got this error:

Invalid pin description ‘zboard:probe:z\_virtual\_endstop’  
Format is: [^~] [!] [chip\_name:] pin\_name

The problem is clearly in the part below. If you have info & ideas what is the best way of getting dual z with individual controllers working (z tilt) with two 4.2.2. boards or with the E3 turbo I really would appreciate it!

[stepper\_z]  
step\_pin: zboard:PB6  
dir\_pin: !zboard:PB5  
enable\_pin: !zboard:PC3  
microsteps: 16  
rotation\_distance: 8  
endstop\_pin: zboard:probe:z\_virtual\_endstop  
position\_max: 250  
position\_min: -5  
homing\_speed: 4  
second\_homing\_speed: 1  
homing\_retract\_dist: 2.0

#2nd z og y  
[stepper\_z1]  
step\_pin: zboard:PB8  
dir\_pin: zboard:PB7  
enable\_pin: !zboard:PC3  
microsteps: 16  
rotation\_distance: 8  
endstop\_pin: zboard:probe:z\_virtual\_endstop  
position\_max: 250  
position\_min: -5  
homing\_speed: 4  
second\_homing\_speed: 1  
homing\_retract\_dist: 2.0

[printer cfg.txt](https://klipper.discourse.group/uploads/short-url/DD2YVcztq8EtsUuTLK61lUDKkG.txt) (5.3 KB)

---

<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: [September 23, 2023, 5:39pm UTC](https://klipper.discourse.group/t/modified-ender-3-dual-z-klipper-options/10640/2 "2023-09-23T17:39:30Z")

</div>

Hello @mylsr !

If you run a dual Z setup and use a probe for z homing, you just need one `endstop_pin` etc configured in `stepper_z`.

You home with `safe_z_home`  
You align the z axis with `z_tilt`

---

<div class="post-metadata">

### Author: ![mylsr](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@mylsr](https://klipper.discourse.group/u/mylsr)
#### Post date: [September 23, 2023, 9:15pm UTC](https://klipper.discourse.group/t/modified-ender-3-dual-z-klipper-options/10640/3 "2023-09-23T21:15:58Z")

</div>

Hello @EddyMI3D

thanks for the reply.

I removed (or commented out actually) the 2nd endstop as suggested, however the syntax I have on that endstop appears to be incorrect and I don’t know how to get it right on a 2nd MCU?

Correct syntax for this on a single MCU machine is: endstop\_pin: probe:Z\_virtual\_endstop  
Now when I try to tell that this is on the 2nd MCU (zboard in my case) it gives an error:

Invalid pin description ‘zboard:probe:z\_virtual\_endstop’  
Format is: [^~] [!] [chip\_name:] pin\_name

Below how I’ve tried to define the virtual endstop now for the 2nd MCU.

[stepper\_z]  
step\_pin: zboard:PB6  
dir\_pin: !zboard:PB5  
enable\_pin: !zboard:PC3  
microsteps: 16  
rotation\_distance: 8  
endstop\_pin: zboard:probe:z\_virtual\_endstop  
position\_max: 250  
position\_min: -5  
homing\_speed: 4  
second\_homing\_speed: 1  
homing\_retract\_dist: 2.0

#2nd z og y  
[stepper\_z1]  
step\_pin: zboard:PB8  
dir\_pin: zboard:PB7  
enable\_pin: !zboard:PC3  
microsteps: 16  
rotation\_distance: 8  
#endstop\_pin: zboard:probe:z\_virtual\_endstop  
position\_max: 250  
position\_min: -5  
homing\_speed: 4  
second\_homing\_speed: 1  
homing\_retract\_dist: 2.0

---

<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: [September 24, 2023, 6:06am UTC](https://klipper.discourse.group/t/modified-ender-3-dual-z-klipper-options/10640/4 "2023-09-24T06:06:44Z")

</div>

As I said:

When you home Z with a probe, there is **`no`** endstop section with Z1

```auto
#2nd z og y
[stepper_z1]
step_pin: zboard:PB8
dir_pin: zboard:PB7
enable_pin: !zboard:PC3
microsteps: 16
rotation_distance: 8

```

---

<div class="post-metadata">

### Author: ![mylsr](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@mylsr](https://klipper.discourse.group/u/mylsr)
#### Post date: [September 24, 2023, 6:52am UTC](https://klipper.discourse.group/t/modified-ender-3-dual-z-klipper-options/10640/5 "2023-09-24T06:52:04Z")

</div>

Understood. However, my syntax for the virtual endstop is incorrect still and I don’t know what this should be? What is the correct syntax for this?´I’ve commented out the 2nd endstop as you can see from the copy / paste below.

endstop\_pin: zboard:probe:z\_virtual\_endstop

above results in this error msg

Invalid pin description ‘zboard:probe:z\_virtual\_endstop’  
Format is: [^~] [!] [chip\_name:] pin\_name

[stepper\_z]  
step\_pin: zboard:PB6  
dir\_pin: !zboard:PB5  
enable\_pin: !zboard:PC3  
microsteps: 16  
rotation\_distance: 8  
endstop\_pin: zboard:probe:z\_virtual\_endstop  
position\_max: 250  
position\_min: -5  
homing\_speed: 4  
second\_homing\_speed: 1  
homing\_retract\_dist: 2.0

#2nd z og y  
[stepper\_z1]  
step\_pin: zboard:PB8  
dir\_pin: zboard:PB7  
enable\_pin: !zboard:PC3  
microsteps: 16  
rotation\_distance: 8  
#endstop\_pin: zboard:probe:z\_virtual\_endstop  
#position\_max: 250  
#position\_min: -5  
#homing\_speed: 4  
#second\_homing\_speed: 1  
#homing\_retract\_dist: 2.0

---

<div class="post-metadata">

### Author: ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)
#### Post date: [September 25, 2023, 7:56am UTC](https://klipper.discourse.group/t/modified-ender-3-dual-z-klipper-options/10640/6 "2023-09-25T07:56:36Z")

</div>

Just use

```auto
endstop_pin: probe:z_virtual_endstop

```

The actual pin definition relating to your zboard needs to be done in the `[bltouch]` section

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)
#### Post date: [November 24, 2023, 7:57am UTC](https://klipper.discourse.group/t/modified-ender-3-dual-z-klipper-options/10640/7 "2023-11-24T07:57:33Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
