Z_offset not accepted in printer.cfg

Hello!

I try to get Klipper running on my formbot t-rex 3

But now I’m stuck with the configuration of the BLTouch.

No matter what value I use, I always get:
Option ‘z_offset’ in section ‘bltouch’ must have minimum of 0.0

I already inserted a line in [probe] as suggested at another place.

[probe]
z_offset: 1.25

[bltouch]
sensor_pin: ^PD3
#   Pin connected to the BLTouch sensor pin. Most BLTouch devices
#   require a pullup on the sensor pin (prefix the pin name with "^").
#   This parameter must be provided.
control_pin: PB5
#   Pin connected to the BLTouch control pin. This parameter must be
#   provided.
pin_move_time: 0.680
#   The amount of time (in seconds) to wait for the BLTouch pin to
#   move up or down. The default is 0.680 seconds.
#stow_on_each_sample: True
#   This determines if Klipper should command the pin to move up
#   between each probe attempt when performing a multiple probe
#   sequence. Read the directions in docs/BLTouch.md before setting
#   this to False. The default is True.
#probe_with_touch_mode: False
#   If this is set to True then Klipper will probe with the device in
#   "touch_mode". The default is False (probing in "pin_down" mode).
#pin_up_reports_not_triggered: True
#   Set if the BLTouch consistently reports the probe in a "not
#   triggered" state after a successful "pin_up" command. This should
#   be True for all genuine BLTouch devices. Read the directions in
#   docs/BLTouch.md before setting this to False. The default is True.
#pin_up_touch_mode_reports_triggered: True
#   Set if the BLTouch consistently reports a "triggered" state after
#   the commands "pin_up" followed by "touch_mode". This should be
#   True for all genuine BLTouch devices. Read the directions in
#   docs/BLTouch.md before setting this to False. The default is True.
#set_output_mode:
#   Request a specific sensor pin output mode on the BLTouch V3.0 (and
#   later). This setting should not be used on other types of probes.
#   Set to "5V" to request a sensor pin output of 5 Volts (only use if
#   the controller board needs 5V mode and is 5V tolerant on its input
#   signal line). Set to "OD" to request the sensor pin output use
#   open drain mode. The default is to not request an output mode.
x_offset: -3
y_offset: 35
z_offset: 1.25

Found it: OctoPrint did not restart properly after I changed the values…

When you use [bltouch] you should not define [probe]. The z_offset value should be placed inside the [bltouch] block per Config_Reference.md.

1 Like

Thanks for your advice. It works now :+1:

1 Like