클리퍼 출력물이 중앙으로 안오는데 어디 수정하면 됨? 그리고 출력시작 하면 BL터치 하게끔 코드를 수정 했는데 안함 코드 수정 사항좀 알려줘 이게 찾아볼려고 인터넷 뒤져봐도 나랑 같은 예시도 적고 설명도 두루뭉실하게 1+1=2가 아니라 1+1=2일 수 있을까? 이런 형식에다 설정방법도 마를린보다 어렵고 올리는것도 마를린 보다 어려워서 그냥 클리퍼 올린 프린터 하나 구매해서 하나하나 뜯어보는게 빠를것 같음 원래 클리퍼가 마를린보다 훨신 어려움?
[stepper_x]
step_pin:PC14
dir_pin:PC13
enable_pin:!PC15
microsteps: 16
rotation_distance: 40
#full_steps_per_rotation:200 #set to 400 for 0.9 degree stepper
endstop_pin:!PA14
#position_min: 0
position_endstop:0
position_max: 300
homing_speed:50
#homing_retract_dist:5
#homing_positive_dir:true
#step_pulse_duration:0.000008
[stepper_y]
step_pin:PE5
dir_pin:PE4
enable_pin:!PD14
microsteps:16
rotation_distance: 40
#full_steps_per_rotation:200 #set to 400 for 0.9 degree stepper
endstop_pin:!PA15
#position_min: 0
position_endstop:300
position_max:300
homing_speed:50
#homing_retract_dist:5
#homing_positive_dir:true
#step_pulse_duration:0.000008
[stepper_z]
step_pin:PE1
dir_pin:PE0
enable_pin: !PE2
microsteps: 16
rotation_distance: 8
#full_steps_per_rotation: 200
#gear_ratio: 80:16
endstop_pin:probe:z_virtual_endstop ## PB12 for Z-max; endstop have'!' is NO
## Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0)
## (+) value = endstop above Z0, (-) value = endstop below
## Increasing position_endstop brings nozzle closer to the bed
## After you run Z_ENDSTOP_CALIBRATE, position_endstop will be stored at the very end of your config
#position_endstop:-5
position_max: 340
position_min: -5
homing_speed: 5
second_homing_speed: 3
[stepper_z1]
step_pin:PD6
dir_pin:PD5
enable_pin:!PD7
microsteps:16
rotation_distance: 8
#gear_ratio: 80:16
#full_steps_per_rotation: 200
[extruder]
step_pin:PB5
dir_pin:PB4
enable_pin:!PB6
microsteps:16
rotation_distance: 4.637 #Bondtech 5mm Drive Gears
#gear_ratio: 50:17
full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree
nozzle_diameter: 0.400
filament_diameter: 1.750
min_temp: 0
max_temp: 300
heater_pin: PB1
sensor_type: NTC 100K MGB18-104F39050L32
sensor_pin: PC1
#max_power: 1.0
control : pid
pid_kp : 26.213
pid_ki : 1.304
pid_kd : 131.721
pressure_advance: 0.065
pressure_advance_smooth_time: 0.03
#max_extrude_cross_section:20
#instantaneous_corner_velocity: 1.000
max_extrude_only_distance: 500
max_extrude_only_velocity:120
#max_extrude_only_accel:2000
#step_pulse_duration:0.000004
[heater_bed]
heater_pin: PD12
sensor_type: EPCOS 100K B57560G104F # Stock NTC 100K MGB18-104F39050L32
sensor_pin: PC0
max_power: 1.0
#control = pid
#pid_kp = 71.039
#pid_ki = 2.223
#pid_kd = 567.421
min_temp: 0
max_temp: 130
#fan for printed model FAN0
[fan]
pin: PA2
#fan for hotend FAN1
#[heater_fan my_nozzle_fan]
[heater_fan fan1]
pin: PA1
shutdown_speed: 1
#fan for control board FAN2
#[heater_fan my_control_fan]
[heater_fan fan2]
pin: PA0
shutdown_speed: 1
####################################################################
# Homing and Gantry Adjustment Routines
#####################################################################
[idle_timeout]
timeout: 3600
[homing_override]
gcode:
G90 ; Use absolute position mode
G1 Z10 ; Move up 10mm
G28 X Y
G1 X160 Y180 F6000 ; Change the X and Y coordinates to the center of your print bed
G28 Z
set_position_z: 0.0
#[safe_z_home]
#home_xy_position: 115,115 # Change coordinates to the center of your print bed
#speed: 100
#z_hop: 10 # Move up 10mm
#z_hop_speed: 5
#[z_tilt]
#z_positions:
# 20,141.5
# 280,141.5
#points:
# 20,141.5
# 280,141.5
#speed:50
#horizontal_move_z: 5
#retries: 5
#retry_tolerance: 0.05
#####################################################################
# Probe
#####################################################################
[bltouch]
sensor_pin: PB15
control_pin: PA8
pin_move_time: 0.68
stow_on_each_sample: True
probe_with_touch_mode: False
pin_up_reports_not_triggered: True
pin_up_touch_mode_reports_triggered: True
#set_output_mode:
x_offset: 0
y_offset: -20.0
#z_offset: 0
speed: 3
lift_speed: 5
samples: 2
sample_retract_dist: 5.0
samples_result: median
samples_tolerance: 0.05
samples_tolerance_retries: 2
[bed_mesh]
speed: 120
horizontal_move_z: 3
mesh_min: 30, 30
mesh_max: 280, 280
probe_count: 4, 4
mesh_pps: 2, 2
algorithm: bicubic
bicubic_tension: 0.2
[printer]
kinematics:corexy
max_velocity: 400
max_accel: 4500
max_accel_to_decel: 1800
max_z_velocity: 15
max_z_accel: 100
square_corner_velocity: 2.0
#####################################################################
# LED Control
#####################################################################
#[output_pin caselight ](Use PA9)
## Chamber Lighting - In 5V-RGB Position
#pin: PC5
#pwm: true
#shutdown_value: 0
#value:100
#cycle_time: 0.01
########################################
# TMC UART configuration
########################################
[tmc2209 stepper_x]
uart_pin: PE6
run_current: 0.8
hold_current: 0.5
interpolate: True
stealthchop_threshold: 400
[tmc2209 stepper_y]
uart_pin: PE3
run_current: 0.8
hold_current: 0.5
interpolate: True
stealthchop_threshold: 400
[tmc2209 stepper_z]
uart_pin: PB7
run_current: 1.6
hold_current: 1.6
interpolate: True
stealthchop_threshold: 120
[tmc2209 stepper_z1]
uart_pin: PD4
interpolate: True
run_current: 1.6
hold_current: 1.6
stealthchop_threshold: 120
#[tmc2209 stepper_z2]
#uart_pin: PD0
#interpolate: True
#run_current: 0.8
#hold_current: 0.5
#interpolate: True
#stealthchop_threshold: 120
[tmc2209 extruder]
uart_pin: PB3
run_current: 0.85
hold_current: 0.11
interpolate: True
stealthchop_threshold: 0
driver_TBL: 0
driver_HEND: 6
driver_HSTRT: 7
driver_TOFF: 4
########################################
# EXP1 / EXP2 (display) pins
########################################
[board_pins]
aliases:
# EXP1 header
EXP1_1=PB2, EXP1_3=PE11, EXP1_5=PD9, EXP1_7=PE15, EXP1_9=<GND>,
EXP1_2=PE10, EXP1_4=PD10, EXP1_6=PD8, EXP1_8=PE7, EXP1_10=<5V>,
# EXP2 header
EXP2_1=PA6, EXP2_3=PE9, EXP2_5=PE8, EXP2_7=PD13, EXP2_9=<GND>,
EXP2_2=PA5, EXP2_4=PA4, EXP2_6=PA7, EXP2_8=<RST>, EXP2_10=<3.3v>
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp1"
# See the sample-lcd.cfg file for definitions of common LCD displays.
# Some alternate glyphs for use with 128x64 LCDs. These are used by
# adding them to your printer.cfg.
# See docs/Config_Reference.md for a description of parameters.
######################################################################
# MKS Mini 12864v3.0 (with neopixel backlight leds)
######################################################################
[display]
lcd_type: uc1701
cs_pin: EXP1_3
a0_pin: EXP1_4
rst_pin: EXP1_5
contrast: 63
encoder_pins: ^EXP2_5, ^EXP2_3
click_pin: ^!EXP1_2
## Some micro-controller boards may require an spi bus to be specified:
#spi_bus: spi
## Alternatively, some micro-controller boards may work with software spi:
spi_software_miso_pin: EXP2_1
spi_software_mosi_pin: EXP2_6
spi_software_sclk_pin: EXP2_2
[output_pin beeper]
pin: EXP1_1
[neopixel fysetc_mini12864]
pin: EXP1_6
chain_count: 3
color_order: RGB
initial_RED: 1.0
initial_GREEN: 1.0
initial_BLUE: 0.0
# See the MKS Lcd Config path file for definitions of common LCD displays.
[mcu adxl]
serial: /dev/serial/by-id/usb-Klipper_rp2040_E6626005A7317134-if00
[adxl345]
cs_pin: adxl:gpio9
spi_software_sclk_pin: adxl:gpio10
spi_software_mosi_pin: adxl:gpio11
spi_software_miso_pin: adxl:gpio12
[resonance_tester]
accel_chip:adxl345
probe_points:
150,150,20
[input_shaper]
#shaper_freq_x: 68.4
#shaper_type_x: mzv
#shaper_freq_y: 45.6
#shaper_type_y: mzv
[virtual_sdcard]
#path:/home/mks/uploads
path: ~/printer_data/gcodes
[pause_resume]
[gcode_macro CANCEL_PRINT]
description: Cancel the actual running print
rename_existing: CANCEL_PRINT_BASE
gcode:
TURN_OFF_HEATERS
CANCEL_PRINT_BASE
[display_status]
[gcode_macro AUTO_LEVEL]
gcode:
G28
BED_MESH_CLEAR
BED_MESH_CALIBRATE
G28
[gcode_macro START_PRINT]
# Use PRINT_START for the slicer starting - please customize for your slicer of choice
gcode:
{% set target_bed = params.BED_TEMP|int %}
{% set target_EXTRUDER = params.EXTRUDER_TEMP|int %}
#{% set target_Chamber = params.CHAMBER_TEMP|int %}
M104 S130
M190 S{target_bed}
#G4 P1800000 for delay ### 30min 1800000mms
G28
G90
BED_MESH_CALIBRATE
BED_MESH_PROFILE "default"
#TEMPERATURE_WAIT SENSOR="temperature_sensor Chamber_Temp" MINIMUM={target_Chamber}
G1 Z2
G1 X20.0 Y2.0
G1 Z0.1
M109 S{target_EXTRUDER}
G92 E0
G1 X20.0 Y2.0 Z0.3 F3000.0 ;
G1 X100.0 Y2.0 Z0.3 F500.0 E14 ;
G1 X100.0 Y4.0 Z0.3 F3000.0 ;
G1 X20.0 Y4.0 Z0.3 F500.0 E28 ;
G1 Z2.0 F3000
G92 E0
[gcode_macro END_PRINT]
gcode:
# Turn off bed, extruder, and fan
M140 S0
M104 S0
M106 S0
SET_FAN_SPEED FAN=Motor_coolingfan SPEED=0.0
SET_FAN_SPEED FAN=motherboard_coolingfan SPEED=0.0
# Move nozzle away from print while retracting
G91
G1 X-2 Y-2 E-3 F300
# Raise nozzle by 10mm
G1 Z10 F3000
G90
# Disable steppers
M84
댓글 영역
획득법
① NFT 발행
작성한 게시물을 NFT로 발행하면 일주일 동안 사용할 수 있습니다. (최초 1회)
② NFT 구매
다른 이용자의 NFT를 구매하면 한 달 동안 사용할 수 있습니다. (구매 시마다 갱신)
사용법
디시콘에서지갑연결시 바로 사용 가능합니다.