-
Notifications
You must be signed in to change notification settings - Fork 0
/
printer-20230908_210605.cfg
233 lines (197 loc) · 5.02 KB
/
printer-20230908_210605.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
[include mainsail.cfg]
[exclude_object]
[printer]
kinematics: corexy
max_velocity: 500
max_accel: 7000
max_accel_to_decel:3500
max_z_velocity: 65
max_z_accel: 600
square_corner_velocity: 6.0
###############################################
[stepper_x]
step_pin: PF13
dir_pin: PF12
enable_pin: !PF14
microsteps: 16
rotation_distance: 32
full_steps_per_rotation: 400
endstop_pin: PG6
position_endstop: 0
position_max: 520
position_min: -15
homing_speed: 75
homing_retract_dist: 2
###########################################
[stepper_y]
step_pin: PG0
dir_pin: !PG1
enable_pin: !PF15
microsteps: 16
rotation_distance: 32
full_steps_per_rotation: 400
endstop_pin: PG9
position_min: -15
position_endstop: 0
position_max: 520
homing_speed:75
homing_retract_dist: 2
###########################################
[stepper_z]
step_pin: PF11
dir_pin: PG3
enable_pin: !PG5
microsteps: 16
rotation_distance: 4
full_steps_per_rotation: 200
endstop_pin = probe:z_virtual_endstop
position_min = -15
position_max: 450
homing_speed: 5
homing_retract_dist: 0
#second_homing_speed: 5
###########################################
[stepper_z1]
step_pin: PF9
dir_pin: PF10
enable_pin: !PG2
microsteps: 16
rotation_distance: 4
##########################################
[stepper_z2]
step_pin: PC13
dir_pin: PF0
enable_pin: !PF1
microsteps: 16
rotation_distance: 4
##########################################
[extruder]
step_pin: PG4
dir_pin: !PC1
enable_pin: !PA0
microsteps: 16
rotation_distance: 8
full_steps_per_rotation: 200
nozzle_diameter: 0.420
filament_diameter: 1.750
heater_pin: PA2 # Heat0
sensor_pin: PF4 # T0 Header
sensor_type: ATC Semitec 104GT-2
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 310
max_extrude_only_distance: 1000.0
#max_extrude_only_velocity: 120
#max_extrude_only_accel: 3000
#pressure_advance: 0.025
#pressure_advance_smooth_time: 0.04
max_extrude_cross_section: 1000
smooth_time: 1.0
instantaneous_corner_velocity: 1
# The maximum instantaneous velocity change (in mm/s) of the
# extruder during the junction of two moves. The default is 1mm/s.
[gcode_arcs]
resolution: 0.1
[gcode_macro m201]
gcode:
{% if 'X' in params or 'Y' in params %}
{% set accel = (params.X|default(params.Y)|float,
params.Y|default(params.X)|float)|min %}
SET_VELOCITY_LIMIT ACCEL={accel} ACCEL_TO_DECEL={accel * 0.5}
{% else %}
SET_VELOCITY_LIMIT
{% endif %}
[gcode_macro m203]
gcode:
{% if 'X' in params or 'Y' in params %}
{% set speed = (params.X|default(params.Y)|float,
params.Y|default(params.X)|float)|min %}
SET_VELOCITY_LIMIT VELOCITY={speed}
{% else %}
SET_VELOCITY_LIMIT
{% endif %}
[gcode_macro M205]
gcode:
{% if 'X' in params or 'Y' in params %}
{% set corner_speed = (params.X|default(params.Y)|float,
params.Y|default(params.X)|float)|min %}
SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY={corner_speed}
{% else %}
SET_VELOCITY_LIMIT
{% endif %}
[gcode_macro M900]
gcode:
SET_PRESSURE_ADVANCE ADVANCE={params.K}
##########################################
[fan]
pin = PA8
##################################
[heater_fan fan1]
pin = PE5
##################################
[controller_fan my_controller_fan fan2]
pin = PD12
fan_speed: 0.75
idle_timeout: 10
###########################################
[mcu]
baud = 250000
restart_method = command
serial =/dev/serial/by-id/usb-Klipper_stm32f429xx_330051000D50533850353920-if00
###############################################
#[input_shaper]
#shaper_type_x = mzv
#shaper_freq_x = 34.6
#shaper_type_y = 2hump_ei
#shaper_freq_y = 42.6
###########################################
#[include print_area_bed_mesh.cfg]
[include Euclid.cfg]
[include Macro.cfg]
[include Display.cfg]
[include TMC2209.cfg]
[include config_backup.cfg]
#[include Adaptive_Mesh.cfg]
#[include Adaptive_Purge.cfg]
#[include kiauh_macros.cfg]
#[include Dockable_probe.cfg]
#[include macro_g28.cfg]
#[include Probe.cfg]
#[include PIS.cfg]
###########################################
[gcode_macro CANCEL_PRINT]
description: Cancel the actual running print
rename_existing: CANCEL_PRINT_BASE
gcode:
TURN_OFF_HEATERS
CANCEL_PRINT_BASE
###########################################
#[include ./klicky-bed-mesh-calibrate.cfg]
[output_pin beeper]
pin: EXP1_1
############################################
[pause_resume]
############################################
[idle_timeout]
timeout: 3700
############################################
[virtual_sdcard]
path: /home/pi/printer_data/gcodes
#############################################
[display_status]
#############################################
[force_move]
enable_force_move: True
# Set to true to enable FORCE_MOVE and SET_KINEMATIC_POSITION
# extended G-Code commands. The default is false.
##############################################
#[save_variables]
#filename: ~/klipper_config/saved_variables.cfg
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [probe]
#*# z_offset = 3.020