Skip to main content

Multi-Z Reference Configuration

Dual Z Single Endstop

  • No need to add endstop_pin: in the second Z configuration.

    [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

Dual Z Dual Endstops

  • Need to add endstop_pin: in the second Z configuration.

    [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

  • Change the pin after endstop_pin: in the first Z configuration to probe:z_virtual_endstop.

  • Need to 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

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