Untitled

 avatar
unknown
plain_text
2 years ago
3.5 kB
11
Indexable
# This file contains pin mappings for the Creality CR-10S Pro V2. To use
# this config, the firmware should be compiled for the AVR atmega2560.
#STOCK

[include mainsail.cfg]
[virtual_sdcard]
path: ~/left_data/gcodes 

[stepper_x]
step_pin: PF0
dir_pin: PF1
enable_pin: !PD7
rotation_distance: 40
microsteps: 16
full_steps_per_rotation: 200
endstop_pin: ^PE5
position_endstop: 0
position_min: 0
position_max: 309
homing_speed: 120
homing_retract_dist: 5

[stepper_y]
step_pin: PF6
dir_pin: !PF7
enable_pin: !PF2
rotation_distance: 40
microsteps: 16
full_steps_per_rotation: 200
endstop_pin: ^PJ1
position_endstop: 65
position_min: 65
position_max: 390
homing_speed: 120
homing_retract_dist: 5

[stepper_z]
step_pin: PL3
dir_pin: !PL1
enable_pin: !PK0
rotation_distance: 8
microsteps: 16
full_steps_per_rotation: 200
endstop_pin: probe:z_virtual_endstop
position_min: -9
position_max: 351
homing_speed: 120

[extruder]
pressure_advance: 0.0
step_pin: PA4
dir_pin: PA6
enable_pin: !PA2
rotation_distance: 22.900
microsteps: 16
full_steps_per_rotation: 200
nozzle_diameter: 0.400
filament_diameter: 1.750
max_extrude_only_distance: 500.0
max_extrude_only_velocity: 70.0
max_extrude_only_accel: 1000.0
heater_pin: PB4
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK5
#control: pid
#pid_Kp: 22.2
#pid_Ki: 1.08
#pid_Kd: 114
min_extrude_temp: 170
min_temp: 5
max_temp: 275

[heater_bed]
heater_pin: PH5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK6
control: pid
pid_Kp: 690.34
pid_Ki: 111.47
pid_Kd: 1068.83
min_temp: 5
max_temp: 140

[fan]
pin: PH6

[mcu]
serial: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AB0KD34M-if00-port0

[printer]
kinematics: cartesian
max_velocity: 180
max_accel: 2000
max_z_velocity: 10
max_z_accel: 100

square_corner_velocity: 4.0

[input_shaper]
shaper_freq_x: 50
shaper_freq_y: 50


[bltouch]
sensor_pin: ^PD2
control_pin: PB5
stow_on_each_sample: False
probe_with_touch_mode: True
x_offset: 35
y_offset: -45
#z_offset: 0
speed: 7.0
samples: 2
sample_retract_dist: 3.0

[safe_z_home]
home_xy_position: 122,245
speed: 120.0
z_hop: 10.0
z_hop_speed: 5.0

[bed_mesh]
speed: 200
horizontal_move_z: 5
mesh_min: 35, 66
mesh_max: 288, 330
probe_count: 4,4
fade_start: 1
fade_end: 10

[filament_switch_sensor e0_sensor]
switch_pin: PE4
pause_on_runout: False
runout_gcode:
  PAUSE_PARK

[pause_resume]

[respond]
default_type: echo



# https://github.com/Desuuuu/klipper-macros
# If you want to use these macros, follow the instructions from the repository
# and uncomment the following lines.

#[save_variables]
#filename: ~/variables.cfg
#
#[delayed_gcode macros_initialize]
#initial_duration: 1
#gcode:
#  INITIALIZE_VARIABLE VARIABLE=park_x VALUE=20
#  INITIALIZE_VARIABLE VARIABLE=park_y VALUE=290
#  INITIALIZE_VARIABLE VARIABLE=bowden_len VALUE=400
#
#[include macros/*.cfg]

#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 	  0.637500, 0.367500, 0.267500, 0.318750
#*# 	  0.223750, 0.070000, 0.052500, 0.017500
#*# 	  0.267500, 0.066250, 0.047500, 0.062500
#*# 	  0.340000, 0.120000, 0.115000, 0.141250
#*# tension = 0.2
#*# min_x = 35.0
#*# algo = lagrange
#*# y_count = 4
#*# mesh_y_pps = 2
#*# min_y = 66.0
#*# x_count = 4
#*# max_y = 330.0
#*# mesh_x_pps = 2
#*# max_x = 287.99
#*#
#*# [bltouch]
#*# z_offset = 2.545
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 26.279
#*# pid_ki = 1.402
#*# pid_kd = 123.181
Editor is loading...