Skip to main content

Multi-Z Reference Configuration

Dual Z Single Limit

  • In the second Z configuration, do not add endstop_pin:

    [stepper_z]
    step_pin: PA5
    dir_pin: PA4
    enable_pin: !PA6
    rotation_distance: 4
    full_steps_per_rotation: 200
    microsteps: 16
    endstop_pin: ^!PA9
    position_endstop: 0
    position_max: 300
    homing_speed: 50
    homing_retract_dist: 5

    [stepper_z1]
    step_pin: PB10
    dir_pin: PB2
    enable_pin: !PB11
    rotation_distance: 4
    full_steps_per_rotation: 200
    microsteps: 16
    step_pulse_duration: 0.000004

Dual Z Dual Limit

  • In the second Z configuration, add endstop_pin:

    [stepper_z]
    step_pin: PA5
    dir_pin: PA4
    enable_pin: !PA6
    rotation_distance: 4
    full_steps_per_rotation: 200
    microsteps: 16
    endstop_pin: ^!PA9
    position_endstop: 0
    position_max: 300
    homing_speed: 50
    homing_retract_dist: 5
    step_pulse_duration: 0.000004

    [stepper_z1]
    step_pin: PB10
    dir_pin: PB2
    enable_pin: !PB11
    rotation_distance: 4
    full_steps_per_rotation: 200
    microsteps: 16
    step_pulse_duration: 0.000004
    endstop_pin: ^!PA10

Dual Z Using Probe or BL Touch

  • After endstop_pin: in the first Z configuration, change the pin to probe:z_virtual_endstop

  • Set up the Probe or BL Touch

    [stepper_z]
    step_pin: PA5
    dir_pin: PA4
    enable_pin: !PA6
    rotation_distance: 4
    full_steps_per_rotation: 200
    microsteps: 16
    endstop_pin: probe:z_virtual_endstop
    # position_endstop: 0
    position_max: 300
    homing_speed: 50
    homing_retract_dist: 5
    step_pulse_duration: 0.000004

    [stepper_z1]
    step_pin: PB10
    dir_pin: PB2
    enable_pin: !PB11
    rotation_distance: 4
    full_steps_per_rotation: 200
    microsteps: 16
    step_pulse_duration: 0.000004
    endstop_pin: ^!PA10

    [probe]
    pin: ^PB4 # Signal interface
    x_offset: 0 # X-axis - sensor offset relative to nozzle
    y_offset: 0 # Y-axis - sensor offset relative to nozzle
    #z_offset: 0 # Z-axis - sensor offset relative to nozzle
    speed: 3.0 # Leveling speed
    lift_speed: 5 # Probe lifting speed
    samples: 3 # Number of samples
    samples_result: median # Value calculation method (default is median)
    sample_retract_dist: 3.0 # Retract distance during leveling
    samples_tolerance: 0.075 # Sample tolerance (note that too small a value may increase the number of samples)
    samples_tolerance_retries: 3 # Retry count for exceeding tolerance