# Position\_endstop problem

**URL:** <https://klipper.discourse.group/t/position-endstop-problem/21151>\
**Category:** General Discussion\
**Created:** [January 5, 2025, 8:29am UTC](https://klipper.discourse.group/t/position-endstop-problem/21151 "2025-01-05T08:29:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FFFerret](https://avatars.discourse-cdn.com/v4/letter/f/c77e96/32.png) [@FFFerret](https://klipper.discourse.group/u/FFFerret)\
**Post date:** [January 5, 2025, 8:29am UTC](https://klipper.discourse.group/t/position-endstop-problem/21151/1 "2025-01-05T08:29:48Z")

</div>

### Basic Information:

Printer Model: Elegoo Neptune 3 pro  
 MCU / Printerboard: BTT M8P 2.0  
 Host / SBC BTT CB1  
 klippy.log  
Extruder max\_extrude\_ratio=2.078758  
Config error  
Traceback (most recent call last):  
File “/home/biqu/klipper/klippy/klippy.py”, line 175, in \_connect  
self.\_read\_config()  
File “/home/biqu/klipper/klippy/klippy.py”, line 145, in \_read\_config  
pconfig.check\_unused\_options(config)  
File “/home/biqu/klipper/klippy/configfile.py”, line 309, in check\_unused\_options  
raise error(“Option ‘%s’ is not valid in section ‘%s’”  
configparser.Error: Option ‘position\_endstop’ is not valid in section ‘stepper\_z’  
webhooks client 281473850231344: New connection  
webhooks client 281473850231344: Client info {‘program’: ‘Moonraker’, ‘version’: ‘v0.8.0-324-ga3e4dac’}  
Error message

Option ‘position\_endstop’ is not valid in section ‘stepper\_z’  
Once the underlying issue is corrected, use the “RESTART”  
command to reload the config and restart the host software.  
Printer is halted

Error message  
Printer.cfg fragment:

# Motor3

[stepper\_z]  
step\_pin: PB8  
dir\_pin: PB7  
enable\_pin: !PE0  
microsteps: 16  
rotation\_distance: 8  
#endstop\_pin: PF2  
endstop\_pin: probe:z\_virtual\_endstop  
#position\_endstop: 0  
position\_max: 260  
position\_min: -5.0  
homing\_speed: 10  
second\_homing\_speed: 3  
homing\_retract\_dist: 3

# Motor4

[stepper\_z1]  
step\_pin: PB4  
dir\_pin: PB3  
enable\_pin: !PE0  
microsteps: 16  
rotation\_distance: 8  
#endstop\_pin: PF2  
#endstop\_pin: probe:z\_virtual\_endstop  
#position\_endstop: 0

[probe]  
pin: ^PF2  
x\_offset: 0 # Если ваш зонд смещен влево или вправо от сопла, укажите это  
y\_offset: 0 # Если ваш зонд смещен вперед или назад от сопла, укажите это  
z\_offset: 1.0 # Убедитесь, что значение z\_offset откалибровано  
speed: 5.0

There is a configuration file for a Cartezian printer with two separately controlled motors along the z axis (there was no adapter)The end cap and the z-level sensor must be an induction sensor, the offsets of which are specified in the PROBE. Position\_endstop should be missing in sections of stepper motors, but what if it is present, what if it is absent, the clipper swears that “Option ‘position\_endstop’ is not valid in section ‘stepper\_z’”  
Tellingly, if you encode the entire PROBE and simply insert a level sensor into the ends of the motors, then the axes are homed, but there is no removal of the height map.

---

<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:** [January 5, 2025, 11:20am UTC](https://klipper.discourse.group/t/position-endstop-problem/21151/2 "2025-01-05T11:20:02Z")

</div>

See [How-To Ask for Help](https://klipper.discourse.group/t/how-to-ask-for-help/6327)

---

<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:** [March 6, 2025, 11:20am UTC](https://klipper.discourse.group/t/position-endstop-problem/21151/3 "2025-03-06T11:20:35Z")

</div>

Closed on March 6, 2025, 11:20am UTC

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