1 / 16
Qidi XMAX3 Filament Runout and Post Extruder cutter (4mm bearing) — image 1
1 / 16

Qidi XMAX3 Filament Runout and Post Extruder cutter (4mm bearing)

Order a print of this model

We calculate the final price from your selected file. You review and accept it before payment.

Saved on this device.

A Remix of the original design for a Qidi XMAX3 toolhead runout sensor and post extruder cutter.

Rating
5 / 5
Likes
15
Downloads
62
Makes
0
Views
380
Reviews
2

Updated at source:

Model information

License
Creative Commons — Attribution

Only a remix of the original extruder cage to allow the usage of a 4mm bearing with a Omron D2F-L switch. I didn't have 5mm ball bearing and was missing the predrill for the switch.

 

Additionnaly, if you have an inductive Probe on your XMAX-3 you can connect the sensor to the toolhead directly.

For that, you need to move the black wire of the probe to the 3 pin JST XH 2.54 next to the blue wire to free the top JST XH 2P connector.

Your runout sensor will then be configured on gpio21 and the Probe z-stop on gpio11.

You need to shorten the omron switch lever to fit inside as per the pictures.

Used 2 small self tapping screws to attach it in the predrilled 1mm holes.

BOM: 
Same as original
1x 4mm bearing
2x self tapping screws (1-1.5mm diameter x 10mm)
1x wired 2 pins JST 2.54mm connector (red/black as the picture)

Modify your printer.cfg probe and filament_switch sections:
 

[filament_switch_sensor fila]
[...] # Rest of your config
switch_pin: ^MKS_THR:gpio21

[probe] pin: ^!MKS_THR:gpio11 [...] # Rest of your config

New Homing sequence and coordinates: Stock Qidi firmware 

[stepper_x]
step_pin:PB4
dir_pin:PB3
enable_pin:!PB5
microsteps:16
rotation_distance: 39.94
full_steps_per_rotation:200  #set to 400 for 0.9 degree stepper
endstop_pin:tmc2209_stepper_x:virtual_endstop
#position_min: -7
#position_endstop:-7
#position_max:325
#homing_positive_dir:False
homing_speed:40
homing_retract_dist:0
step_pulse_duration:0.000002

filament cutter

position_min: -8 #Update for new homing procedure position_endstop: 328 #Update for new homing procedure position_max: 328 #Update for new homing procedure homing_positive_dir: True

[stepper_y] step_pin:PC14 dir_pin:PC13 enable_pin:!PC15 microsteps: 16 rotation_distance: 39.94 full_steps_per_rotation:200 #set to 400 for 0.9 degree stepper endstop_pin:tmc2209_stepper_y:virtual_endstop position_min: -9.5 #position_endstop: -9.5 #homing_positive_dir: False #position_max: 325 position_max: 335 position_endstop: 335 homing_positive_dir: True homing_speed:40 homing_retract_dist:0 step_pulse_duration:0.000002

[homing_override] #set_position_x:0 #set_position_y:15 #set_position_z:0 axes:xy gcode: {% set HOME_CUR = 1 %} {% set driver_config = printer.configfile.settings['tmc2209 stepper_x'] %} {% set RUN_CUR = driver_config.run_current %} {% set HOLD_CUR = driver_config.hold_current %} {% set home_all = (params.X is undefined) and (params.Y is undefined) and (params.Z is undefined) %} {% set homed_axes = printer.toolhead.homed_axes %} {% set home_z = home_all or (params.Z is defined) %} #Always home X if Z or Y needs to home and not already homed in X {% set home_x = home_all or (params.X is defined) or ( ((params.Y is defined) or (params.Z is defined)) and ("x" not in homed_axes) ) %} #Always home Y if Z needs to home and not already homed in Y {% set home_y = home_all or (params.Y is defined) or ((params.Z is defined) and ("y" not in homed_axes)) %}

G91
{% if("y" in homed_axes) %}
    {% if printer.toolhead.position.y > (printer.toolhead.axis_maximum.y-15) %}
        G1 Y-15 F3600
    {% endif %}


    {% if printer.toolhead.position.y < 40 %}
        G90
        G1 Y40 F3600
        G91
    {% endif %}
{% else %}
    G1 Y-15 F3600
{% endif %}
G4 P500


{% if home_x %}
    { action_respond_info("Homing X alone") }
    SET_TMC_CURRENT STEPPER=stepper_x CURRENT={HOME_CUR * 0.8}
    G28 X
    SET_TMC_CURRENT STEPPER=stepper_x CURRENT={HOME_CUR}        
    G1 X-15 F3600
{% endif %}


{% if home_y %}
    { action_respond_info("Homing Y alone") }
    G90
    G1 X{printer.toolhead.axis_maximum.x/2 - printer.probe["x_offset"]} F7800
    G91
    SET_TMC_CURRENT STEPPER=stepper_y CURRENT={HOME_CUR * 0.9}
    G28 Y
    SET_TMC_CURRENT STEPPER=stepper_y CURRENT={HOME_CUR}
   
    G1 Y-15 F3600  
{% endif %}


{% if home_z %}
    { action_respond_info("Homing Z alone") }
    G90
    G1 X{printer.toolhead.axis_maximum.x/2 - printer.probe["x_offset"]} Y{printer.toolhead.axis_maximum.y/2 - printer.probe["y_offset"]} F7800
    G91
    G28 Z
    G1 Z25 F480          
{% endif %}


#RESPOND MSG="Homing done, restoring RUN_CUR"
SET_TMC_CURRENT STEPPER=stepper_x CURRENT={RUN_CUR}
SET_TMC_CURRENT STEPPER=stepper_y CURRENT={RUN_CUR}
M204 S10000


G90</code></pre>

Tags