BL Touch and Z stepper_position endstop conflict

Basic Information:

Printer Model: Creality Ender 3
MCU / Printerboard: BTT SKR Mini E3 -v-3.0
Host / SBC: Raspberry Pi 4B
klippy.log (79.0 KB)
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:

Trying to get Klipper/Mainsail to successfully load. Worked out initial /device/serial/by-id/* issue (no such file or directory,…), but this one has me stopped. I’m trying to use BL Touch for Z homing, and I’ve followed the instructions in the Configuration Reference to the letter: *

  • (copy/paste): If the BL-Touch will be used to home the Z axis then set endstop_pin: probe:z_virtual_endstop and remove position_endstop in the [stepper_z] config section, then add a [safe_z_home] config section to raise the z axis, home the xy axes, move to the center of the bed, and home the z axis*
    I’ve done exactly that, but Klipper keeps insisting that: “Option ‘position_endstop’ in section ‘stepper_z’ must be specified.” even after deleting the line entirely.

No idea where to take this next; kind of frustrating to follow explicit directions and end up with a stubborn contradiction like this.

Uhm. I just did a quick scan of your klippy.log (thank you for providing that) but there’s nowhere in it do you have an endstop_pin:probe:z_virtual_endstop line in any of the configurations listed in the klippy.log.

Regardless, you still have a connection problem - in the klippy.log I see the following sequence repeatedly:

mcu 'mcu': Starting serial connect
mcu 'mcu': Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00'

I very much appreciate your reply, and sorry… between all the back and forth making changes to the printer.cfg file and rebooting the machine, I neglected to update the klippy.log; you saw an older copy that doesn’t show some of the changes. I’ve attached the most recent.
klippy.log (40.9 KB)
Working on trying to ferret out where the issues are exactly, and then what to do about them.

You’ve misunderstood the instructions. You need to delete the endstop_pin line from your bltouch section, and change the enstop_pin in your stepper_z section to endstop_pin: probe:z_virtual_endstop

1 Like

Thanks for your input, mykepredko & jakep! I did as you said jakep; I’d never have gotten that from the instructions as written. Apparantly you are correct, since now the Klipper has ceased to throw error messages at me. Had to make a correction to the mcu Id (had some extra characters and a missing “1” from the string.) Klipper now sees the machine, but is going into shutdown because at the moment it’s all torn apart in a major modification; nothing in the hot end is connected to the board anymore, so Klipper doesn’t like it. Fine with me now that I have Klipper and the machine talking, thanks to your help!

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