VORON 2.4 参考設定
#####################################################################
# 変更/確認が必要な項目
#####################################################################
## MCU パス [mcu]
## プリンターの動作範囲 xyzのposition
## サーミスタの種類 [extruder] と [heater_bed]
## Z軸リミットスイッチ停止位置 [safe_z_home]
## Z軸リミットスイッチオフセット位置 [stepper_z]
## PID キャリブレーション [extruder] と [heater_bed]
## エクストルーダーモーターステップ値の微調整 [extruder]
#####################################################################
# ファイル呼び出し
#####################################################################
### FluidまたはMainsailをフロントエンドとして使用する場合、#[include XXX.cfg]の前にある#を削除してください。
### When using fuidd or mainsail as the frontend, remove the '#' before #[include XXX.cfg].
[include fluidd.cfg]
#[include mainsail.cfg]
### 以下の/home/fly内のflyはホストコンピュータのユーザー名に変更してください。rootユーザーではないことを確認してください。
### Replace 'fly' in /home/fly with your host computer username, ensuring it's not the ROOT user.
[virtual_sdcard]
path: /home/fly/printer_data/gcodes
on_error_gcode: CANCEL_PRINT
#####################################################################
# マスターID設定
#####################################################################
[mcu]
serial: /dev/serial/by-id/usb-Klipper_rp2040_MELLOW-if00
### USBファームウェアIDをls /dev/serial/by-id/*で検索し、
### /dev/serial/by-id/usb-Klipper_rp2040_MELLOW-if00 を見つかったIDに置き換えてください。
### Find the USB firmware ID with: ls /dev/serial/by-id/* and replace
### /dev/serial/by-id/usb-Klipper_rp2040_MELLOW-if00 with the ID you discover.
#canbus_uuid: 114514114514
### CANファームウェアIDを調べるには: ~/klippy#env/bin/python ~/klipper/scripts/canbus_query.py can0
### canのidはserial: をcanbus_uuid: に置き換え後、IDを追加します。
### Query the CAN firmware ID with: ~/klippy#env/bin/python ~/klipper/scripts/canbus_query.py can0
### Replace 'serial:' in the CAN ID with 'canbus_uuid:', then append the ID.
#####################################################################
# 温度監視
#####################################################################
[temperature_sensor motherboard]
sensor_type: temperature_mcu
[temperature_sensor Raspberry Pi]
sensor_type: temperature_host
#####################################################################
# Tmodelおよび加速設定
#####################################################################
[printer]
kinematics: corexy
max_velocity: 300
max_accel: 2000
max_z_velocity: 15
max_z_accel: 300
square_corner_velocity: 6.0
#####################################################################
# X/Y ステッパーモーター設定
#####################################################################
[stepper_x]
## 参照: https://docs.vorondesign.com/build/startup/#v0
step_pin:
dir_pin: # 上記リンクでモーター方向を確認してください。反転している場合はgpio3の前に!を追加してください。
enable_pin:!
rotation_distance: 40
microsteps: 32
full_steps_per_rotation: 200 # 0.9°のステッパーモーターの場合は400、1.8°のステッパーモーターの場合は200に設定してください。
endstop_pin:
# endstop_pin: tmc2209_stepper_x:virtual_endstop
# endstop_pin: tmc5160_stepper_x:virtual_endstop
position_min: 0
position_endstop: 300 # (250mm-300mm-350mm)
position_max: 300 # (250mm-300mm-350mm)
homing_speed: 40 # センサーレスホームでは40mm/sを超えないことが推奨されます。
homing_retract_dist: 0
homing_positive_dir: true
[tmc2209 stepper_x]
uart_pin:
interpolate: False
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0 # Stealthchopを有効にするには999999に設定し、Spreadcycleを使用する場合は0に設定してください。
diag_pin: ^
driver_SGTHRS: 80
[tmc5160 stepper_x]
cs_pin:
### spi_busとspi_softwareはどちらか一方だけ使用できます。
### spi_bus and spi_software can only use one of them.
# spi_bus:
spi_software_mosi_pin:
spi_software_miso_pin:
spi_software_sclk_pin:
run_current: 1.0
interpolate: False
### ドライバーのサンプリング抵抗はドライバーに合わせて変更する必要があります。
### The driver sampling resistor needs to be modified according to the driver
sense_resistor: 0.075
stealthchop_threshold: 0
diag0_pin: ^!
driver_SGT: 1
[stepper_y]
## 参照: https://docs.vorondesign.com/build/startup/#v0
step_pin:
dir_pin: # 上記リンクでモーター方向を確認してください。反転している場合はgpio0の前に!を追加してください。
enable_pin:!
rotation_distance: 40
microsteps: 32
full_steps_per_rotation: 200
endstop_pin:
# endstop_pin: tmc2209_stepper_y:virtual_endstop
# endstop_pin: tmc5160_stepper_y:virtual_endstop
position_min: 0
position_endstop: 300
position_max: 300
homing_speed: 40
homing_retract_dist: 0
homing_positive_dir: true
[tmc2209 stepper_y]
uart_pin:
interpolate: False
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0
diag_pin: ^
driver_SGTHRS: 80
[tmc5160 stepper_y]
cs_pin:
### spi_busとspi_softwareはどちらか一方だけ使用できます。
### spi_bus and spi_software can only use one of them.
# spi_bus:
spi_software_mosi_pin:
spi_software_miso_pin:
spi_software_sclk_pin:
run_current: 1.0
interpolate: False
### ドライバーのサンプリング抵抗はドライバーに合わせて変更する必要があります。
### The driver sampling resistor needs to be modified according to the driver
sense_resistor: 0.075
stealthchop_threshold: 0
diag0_pin: ^!
driver_SGT: 1
#####################################################################
# Z ステッパーモーター設定
#####################################################################
[stepper_z]
## 参照: https://docs.vorondesign.com/build/startup/#v0
step_pin:
dir_pin:! # 上記リンクでモーター方向を確認してください。反転している場合はgpio25の前に!を追加してください。
enable_pin: !
rotation_distance: 8
microsteps: 32
endstop_pin: ^
# endstop_pin: probe:z_virtual_endstop
position_endstop:-0.5
position_max: 270
position_min: -15
homing_speed: 20
second_homing_speed: 3.0
homing_retract_dist: 3.0
[tmc2209 stepper_z]
uart_pin:
interpolate: False
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0
[stepper_z1]
step_pin:
dir_pin:
enable_pin: !
rotation_distance: 40
gear_ratio: 80:16
full_steps_per_rotation: 200
microsteps: 16
[tmc2209 stepper_z1]
uart_pin:
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0
## Z2 ステッパーモーター - ドライバー5の右後方
[stepper_z2]
step_pin:
dir_pin:
enable_pin:!
rotation_distance: 40
gear_ratio: 80:16
full_steps_per_rotation: 200
microsteps: 16
[tmc2209 stepper_z2]
uart_pin:
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0
[stepper_z3]
step_pin:
dir_pin:
enable_pin: !
rotation_distance: 40
gear_ratio: 80:16
full_steps_per_rotation: 200
microsteps: 16
[tmc2209 stepper_z3]
uart_pin:
interpolate: false
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0
#####################################################################
# エクストルーダー
#####################################################################
[extruder]
## センサーの種類 # 一般的なサーミスタは (Generic 3950, ATC Semitec 104GT#2)
## 传感器类型#常见的热敏电阻器是 (Generic 3950, ATC Semitec 104GT#2)
sensor_type: ATC Semitec 104GT-2
sensor_pin:
#####################################################################
## PT1000を使用する場合、サーミスタの隣にあるジャンパを接続してください。
## If using PT1000 please connect the jumper next to the thermal sensitivity.
# sensor_type:PT1000
# pullup_resistor: 1100
# sensor_pin:
#####################################################################
# エクストルーダー
#####################################################################
## https://www.klipper3d.org/Config_Reference.html#extruder
[extruder]
step_pin:
dir_pin:
enable_pin: !
rotation_distance: 21.84
## rotation_distance = 元のrotation_distance × 実際の押出長さ ÷ 要求された押出長さ。
## 校正ステップ値: 22.44=旧値22×実測値102÷目標値100
gear_ratio:50:10
## 減速比(ガリレオの歯車比7.5:1 またこの行はコメントアウトされています。BMGは50:17で、出力軸が先、入力軸が後)
microsteps:16
full_steps_per_rotation: 200
nozzle_diameter:0.400
filament_diameter:1.75
heater_pin:
min_temp: -50
max_temp: 300
max_power: 1.0
min_extrude_temp: 150
pressure_advance: 0.05
## 圧力補正
## 圧力アドバンス
##https://www.klipper3d.org/zh/Pressure_Advance.html
pressure_advance_smooth_time: 0.040
#max_extrude_only_distance: 200.0 # 押出流量エラーでこの行をコメントアウトしても構いませんが、再スライスすることをお勧めします。
# ノズル温度PIDキャリブレーションコマンド: PID_CALIBRATE HEATER=extruder TARGET=245
# Calibrate the nozzle temperature PID command : PID_CALIBRATE HEATER=extruder TARGET=245
control: pid
pid_kp: 26.213
pid_ki:1.304
pid_kd: 131.721
step_pulse_duration: 0.000004
[tmc2209 extruder]
uart_pin:gpio9
uart_address:3
interpolate: False
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0
#####################################################################
# ベッドヒーター
#####################################################################
[heater_bed]
heater_pin:
## 使用しているサーミスタの種類を確認してください。一般的なサーミスタの種類は https://www.klipper3d.org/Config_Reference.html#common#thermistors を参照してください。
## Keenovoヒーターの場合は "Generic 3950" を使用してください。
sensor_type:
sensor_pin:
max_power: 1.0
min_temp: -50
max_temp: 120
# 熱床温度PIDキャリブレーションコマンド: PID_CALIBRATE HEATER=heater_bed TARGET=100
# Calibrate the heated bed temperature PID command: PID_CALIBRATE HEATER=heater_bed TARGET=100
control: pid
pid_kp: 68.453
pid_ki: 2.749
pid_kd: 426.122
#####################################################################
# ファンコントロール
#####################################################################
[fan]
pin:
max_power: 1.0
kick_start_time: 0.5 # ファンによっては起動しない場合があるため、この値を上げる必要があります。
off_below: 0.13
cycle_time: 0.010
#####################################################################
[heater_fan hotend_fan]
pin:
max_power: 1.0
kick_start_time: 0.5
heater: extruder
heater_temp: 50.0
#####################################################################
# フィラメントランアウトセンサー
#####################################################################
#[filament_switch_sensor Filament_Runout_Sensor]
#pause_on_runout: True
#runout_gcode: PAUSE
#switch_pin:
#####################################################################
# プローブ
#####################################################################
### TAP
[probe]
pin:
x_offset: 0
y_offset: 0
# z_offset: 0
speed: 10.0
samples: 3
samples_result: median
sample_retract_dist: 4.0
samples_tolerance: 0.006
samples_tolerance_retries: 3
### EDDY
# [probe_eddy_current fly_eddy_probe]
# sensor_type: ldc1612
# z_offset: 0.8
# i2c_address: 43
# i2c_mcu:
# i2c_bus:
# x_offset: 0
# y_offset: 0
# speed:40
# lift_speed: 5
#####################################################################
# ホーム位置およびガントリ調整ルーチン
#####################################################################
### safe_z_homeまたはhoming_overrideのどちらか一方だけ使用できます。
### You can only use either safe_z_home or homing_override
#[safe_z_home]
#home_xy_position: 206,300
#speed: 100
#z_hop: 5
#[homing_override]
#axes: z
#set_position_z: 0
#gcode:
# G90
# G0 Z15 F600
# G28 X Y
# ## Z 軸リミットスイッチの XY 位置
# ## 通過後、X0とY0を自分の値(例: X157、Y305)に更新してください。
# ## Z 軸リミット位置の定義
# G0 X185 Y250 F3600 #250mm
# G28 Z
# G0 Z10 F1800
#####################################################################
# quad_gantry_level
#####################################################################
[quad_gantry_level]
#gantry_corners:
# -60,-10
# 310,320
#points: # 250mm
# 50,25
# 50,175
# 200,175
# 200,25
gantry_corners: # 300mm
-60,-10
360,370
points:
50,25
50,225
250,225
250,25
#gantry_corners: # 350mm
# -60,-10
# 410,420
#points:
# 50,25
# 50,275
# 300,275
# 300,25
speed: 100
horizontal_move_z: 1
retry_tolerance: 0.0075
retries: 5
max_adjust: 10
#####################################################################
# マクロ
#####################################################################
[idle_timeout]
### 30分以上アイドル状態の場合、加熱ベッドをオフにします。
### If idle for more than 30 minutes, heated bed will be turned off.
timeout: 1800
#[gcode_arcs]
#### 円弧補間を許可します。
#### Allowing arc interpolation
#resolution: 1.0
[gcode_macro PRINT_START]
### PRINT_STARTを印刷開始時のマクロとして設定し、印刷前の動作をカスタマイズします。
### Set PRINT_START as a macro for the start of printing, customize actions before printing.
gcode:
G92 E0
BED_MESH_CLEAR
G28
quad_gantry_level
G28
G1 Z20 F3000
#BED_MESH_PROFILE LOAD=default
BED_MESH_CALIBRATE adaptive=1 METHOD=scan SCAN_MODE=rapid
[gcode_macro PRINT_END]
### PRINT_ENDを印刷終了時のマクロとして設定し、印刷完了後の動作をカスタマイズします。
### Set PRINT_END as a macro for the end of printing, customize actions after printing completion
gcode:
# 境界を取得
{% set max_x = printer.configfile.config["stepper_x"]["position_max"]|float %}
{% set max_y = printer.configfile.config["stepper_y"]["position_max"]|float %}
{% set max_z = printer.configfile.config["stepper_z"]["position_max"]|float %}
# エンドポジションを確認して安全な移動方向を決定
{% if printer.toolhead.position.x < (max_x - 20) %}
{% set x_safe = 20.0 %}
{% else %}
{% set x_safe = -20.0 %}
{% endif %}
{% if printer.toolhead.position.y < (max_y - 20) %}
{% set y_safe = 20.0 %}
{% else %}
{% set y_safe = -20.0 %}
{% endif %}
{% if printer.toolhead.position.z < (max_z - 2) %}
{% set z_safe = 2.0 %}
{% else %}
{% set z_safe = max_z - printer.toolhead.position.z %}
{% endif %}
M400 # バッファクリアを待つ
G92 E0 # エクストルーダーをゼロに設定
G1 E-10.0 F3600 # フィラメントをリトラクト
G91 # 相対座標モード
G0 Z{z_safe} F3600 # ガントリーを上げる
G0 X{x_safe} Y{y_safe} F20000 # ノズルを移動してフィラメントを除去
M104 S0 # エクストルーダーをオフ
M140 S0 # ベッドをオフ
M106 S0 # モデルファンをオフ
G90 # 絶対座標モード
G0 X{max_x / 2} Y{max_y} F3600 # ノズルを後方に移動
BED_MESH_CLEAR # メッシュベッドをクリア
#*# <---------------------- SAVE_CONFIG --------------------->
#*# このブロック以下は編集しないでください。内容は自動生成されます。
#*#
Loading...