跳到主要内容

Klipper配置

ALPS示例配置文件

  • 使用BL-Touch口参考配置
  • 其他主板同理
    [output_pin _probe_ready]
    pin: SHT36:gpio24
    shutdown_value: 0
    value:0

    [probe]
    pin: ^SHT36:gpio22
    x_offset: 0 # X轴-传感器相对喷嘴偏移量
    y_offset: 0 # Y轴-传感器相对喷嘴偏移量
    z_offset:0 # Z轴-传感器相对喷嘴偏移量
    speed: 8 # 调平速度
    samples: 3 # 采样次数
    samples_result: median # 取值方式(默认median-中位数)
    sample_retract_dist: 2 # 调平回缩距离
    samples_tolerance: 0.05 # 采样公差(注意过小的值可能造成采样次数增加)
    samples_tolerance_retries: 3 # 超公差重试次数
    activate_gcode:
    G4 P500
    SET_PIN PIN=_probe_ready VALUE=1
    deactivate_gcode:
    SET_PIN PIN=_probe_ready VALUE=0

归位参考配置

以下是推荐的配置文件内容,请根据实际需求进行调整:

提示
  • 如果需要将ALPS 压力模块当Z限位可以参考下方配置
[stepper_z]
endstop_pin: probe:z_virtual_endstop
# position_endstop: -0.5
提示
  • ALPS 压力模块参考配置
[homing_override]
axes: xyz
set_position_z: 10
gcode:
{% set home_all = 'X' not in params and 'Y' not in params and 'Z' not in params %}
{% set e_target = printer.extruder.target %} # 保存当前温度
{% set fan_speed = printer.fan.speed %} # 保存当前风扇速度

{% if home_all or 'X' in params %}
G28 X
{% endif %}

{% if home_all or 'Y' in params %}
G28 Y
{% endif %}

{% if home_all or 'Z' in params %}
G0 X{printer.toolhead.axis_maximum.x / 2} Y{printer.toolhead.axis_maximum.y / 2} F6000
{% if e_target >= 150 or printer.extruder.temperature >= 150 %}
M106 S255 # 打开风扇
M109 S150 # 确保在150度归位Z
{% endif %}
M106 S0 # 关闭风扇

G91
G1 Z5 F2000 # 防止喷嘴距离热床太近,提前拉开距离
G90

# 如果同时使用eddy加压力传感器取消下面注释
#SET_PIN PIN=_probe_ready VALUE=1
G28 Z
#SET_PIN PIN=_probe_ready VALUE=0
G1 Z10 F2000

M109 S{e_target} # 恢复温度
M106 S{fan_speed} # 恢复风扇速度
{% endif %}
Loading...
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -