Eddy Coil for rapid scan + Klicky probe for automatic z-offset calculation and homing

Basic Information:

Printer Model: custom
MCU / Printerboard: MKS Monster8
Host / SBC - ?
klippy.log

printer.cfg (10.3 KB)
klippy (3).log (7.6 MB)

Describe your issue:

I’m trying to use Eddy Coil for rapid scan and z-tilt as it is not recommended for homing.
So to get homing automated too I’d like to use a Klicky probe with sexbolt z-endstop that would be capable of measuring z-offset each time prior to homing.

But I’m getting errors whenever I put these 2 sections in a single config:

[probe]
pin: EBBCan:PB9
z_offset: 5
speed: 5.0
samples: 1
sample_retract_dist: 2.0

[probe_eddy_current btt_eddy]
sensor_type: ldc1612
i2c_mcu: EBBCan
i2c_bus: i2c3_PB3_PB4
x_offset: 3
y_offset: 45
#z_offset: 3
speed: 100
lift_speed: 60
samples: 6
sample_retract_dist: 2
samples_tolerance: 0.05
samples_tolerance_retries: 5
reg_drive_current: 18

Depending on the order of above section Klipper returns:

gcode command QUERY_PROBE already registered

Or in case of reverse order - it is:

Option ‘pin’ is not valid in section ‘probe’

Can anyone please help mi figuring out how to make the above setup working?

You can only have one probe. If you want to go down this route, the sexbolt endstop needs to be configured as a regular endstop.

Hello @Sineos but how would that work in this case?

Currently I have:

[stepper_z2]
step_pin: PD2
dir_pin: !PD1
enable_pin: !PD3  # z-endstop = sexbolt
microsteps: 16
rotation_distance: 8

The sexbolt is just an endstop for one of Z motors.

Also… Assuming that there can be only one probe configured at once - is it maybe possible to somehow switch whatever is configured as that single probe - e.g. using macros? Or is it static/final?

So that during homing I’d like the probe to be the klicky, but then for bed scan and building (relative) mesh I’d rather use Eddy Coil as it is significantly faster and precise enough.
(Effectively I don’t ever need to use both probes at the same time - i.e. ultimately there is always only one at the time in use, so if I could switch the underneath config at some point, then it’s enough.)

As far as I’m aware, currently no such possibility exists.

There is an open PR, but so far it is unknown if it will be implemented in this way. You could test this with your setup.

2 Likes

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