-
Notifications
You must be signed in to change notification settings - Fork 0
/
printer-20240110_204608.cfg
342 lines (282 loc) · 6.72 KB
/
printer-20240110_204608.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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
# This file contains common pin mappings for the BigTreeTech Octopus.
# To use this config, the firmware should be compiled for the
# STM32F446 with a "32KiB bootloader" and a "12MHz crystal" clock reference.
# See docs/Config_Reference.md for a description of parameters.
[include kiauh_macros.cfg]
# [include pins.cfg]
[include axes.cfg]
[include extruder.cfg]
[include probe.cfg]
# [include resonance.cfg]
# [include heater_bed.cfg]
[include tmc.cfg]
[respond]
[exclude_object]
# [include filament.cfg]
[include filament_sensor.cfg]
[include timelapse.cfg]
[heater_bed]
heater_pin: PA1
sensor_pin: PF3 # TB
sensor_type: Generic 3950
control = pid
pid_kp = 74.391
pid_ki = 1.968
pid_kd = 702.991
#control: watermark
min_temp: 0
max_temp: 130
[fan]
pin: PA8
#[heater_fan fan2]
[heater_fan extruder]
pin: PD12
heater: extruder
heater_temp: 50.0
fan_speed: 1.0
#[heater_fan fan3]
[temperature_fan octopus]
pin: PD13
sensor_type: temperature_mcu
min_temp: 20
max_temp: 90
target_temp: 30
max_delta: 2.0
control: watermark
[temperature_fan power]
pin: PD14
sensor_pin: PF5
# sensor_type: Generic 3950
sensor_type: ATC Semitec 104GT-2
min_temp: 0
max_temp: 90
target_temp: 30
max_delta: 2.0
control: watermark
[mcu]
# serial: /dev/ttyACM0
serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_2A0021000550534E4E313020-if00
restart_method: command
# CAN bus is also available on this board
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_accel_to_decel: 3000
max_z_velocity: 25
max_z_accel: 500
[firmware_retraction]
retract_length: 1.1 # TPU Sovetov
retract_speed: 20
unretract_speed: 35
[input_shaper]
shaper_type_x: mzv
shaper_freq_x: 50
shaper_type_y: mzv
shaper_freq_y: 51
[board_pins]
aliases:
# EXP1 header
EXP1_1=PE8, EXP1_2=PE7,
EXP1_3=PE9, EXP1_4=PE10,
EXP1_5=PE12, EXP1_6=PE13, # Slot in the socket on this side
EXP1_7=PE14, EXP1_8=PE15,
EXP1_9=<GND>, EXP1_10=<5V>,
# EXP2 header
EXP2_1=PA6, EXP2_2=PA5,
EXP2_3=PB1, EXP2_4=PA4,
EXP2_5=PB2, EXP2_6=PA7, # Slot in the socket on this side
EXP2_7=PC15, EXP2_8=<RST>,
EXP2_9=<GND>, EXP2_10=<5V>
[virtual_sdcard]
path: ~/gcode_files
[display_status]
[pause_resume]
[gcode_macro G29]
gcode:
#G28
# BED_MESH_PROFILE LOAD=default
BED_MESH_CALIBRATE
# BED_MESH_PROFILE SAVE=p1
# G1 X0 Y0 Z5 F4000
[gcode_macro M207]
gcode:
{% set X = params.S|default(0.3)|float %}
{% set X = params.F|default(1200)|float %}
SET_RETRACTION RETRACT_LENGTH={S}
SET_RETRACTION RETRACT_SPEED={F}
[gcode_macro M208]
gcode:
{% set X = params.S|default(0)|float %}
{% set X = params.F|default(1200)|float %}
SET_RETRACTION UNRETRACT_EXTRA_LENGTH={S}
SET_RETRACTION UNRETRACT_SPEED={F}
[gcode_macro M600]
gcode:
{% set X = params.X|default(50)|float %}
{% set Y = params.Y|default(0)|float %}
{% set Z = params.Z|default(10)|float %}
SAVE_GCODE_STATE NAME=M600_state
RESPOND PREFIX=tgalarm MSG="Change Filament"
PAUSE
G91
G1 E-.8 F2700
G1 Z{Z}
G90
G1 X{X} Y{Y} F3000
G91
G1 E-50 F1000
RESTORE_GCODE_STATE NAME=M600_state
########################################
# TMC2209 configuration
########################################
# Driver3
# The Octopus only has 4 heater outputs which leaves an extra stepper
# This can be used for a second Z stepper, dual_carriage, extruder co-stepper,
# or other accesory such as an MMU
#[stepper_]
#step_pin: PG4
#dir_pin: PC1
#enable_pin: PA0
#endstop_pin: PG11
#[filament_switch_sensor material_0]
#switch_pin: PG12
# Driver5
#[extruder1]
#step_pin: PC13
#dir_pin: PF0
#enable_pin: !PF1
#heater_pin: PA3 # HE1
#sensor_pin: PF5 # T1
#...
#[filament_switch_sensor material_1]
#switch_pin: PG13
# Driver6
#[extruder2]
#step_pin: PE2
#dir_pin: PE3
#enable_pin: !PD4
#heater_pin: PB10 # HE2
#sensor_pin: PF6 # T2
#...
#[filament_switch_sensor material_2]
#switch_pin: PG14
# Driver7
#[extruder3]
#step_pin: PE6
#dir_pin: PA14
#enable_pin: !PE0
#heater_pin: PB11 # HE3
#sensor_pin: PF7 # T3
#...
#[filament_switch_sensor material_3]
#switch_pin: PG15
#[tmc2209 stepper_]
#uart_pin: PC7
##diag_pin: PG11
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 999999
#[tmc2209 extruder1]
#uart_pin: PE4
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 999999
#[tmc2209 extruder2]
#uart_pin: PE1
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 999999
#[tmc2209 extruder2]
#uart_pin: PD3
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 999999
#[heater_fan fan1]
#[fan]
#pin: PE5
#[heater_fan fan4]
#pin: PD14
#[controller_fan fan5]
#pin: PD15
########################################
# TMC2130 configuration
########################################
#[tmc2130 stepper_x]
#cs_pin: PC4
#spi_bus: spi1
##diag1_pin: PB10
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 999999
#[tmc2130 stepper_y]
#cs_pin: PD11
#spi_bus: spi1
##diag1_pin: PE12
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 999999
#[tmc2130 stepper_z]
#cs_pin: PC6
#spi_bus: spi1
##diag1_pin: PG8
#run_current: 0.650
#hold_current: 0.450
#stealthchop_threshold: 999999
#[tmc2130 stepper_]
#cs_pin: PC7
#spi_bus: spi1
##diag1_pin: PE15
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 999999
#[tmc2130 extruder]
#cs_pin: PF2
#spi_bus: spi1
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 999999
#[tmc2130 extruder1]
#cs_pin: PE4
#spi_bus: spi1
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 999999
#[tmc2130 extruder2]
#cs_pin: PE1
#spi_bus: spi1
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 999999
#[tmc2130 extruder3]
#cs_pin: PD3
#spi_bus: spi1
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 999999
# See the sample-lcd.cfg file for definitions of common LCD displays.
#[neopixel my_neopixel]
#pin: PB0
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.208750, -0.248750, -0.236250, -0.227500, -0.233750, -0.221250, -0.220000
#*# -0.260000, -0.260000, -0.256250, -0.237500, -0.222500, -0.206250, -0.182500
#*# -0.203750, -0.231250, -0.215000, -0.218750, -0.211250, -0.207500, -0.195000
#*# -0.198750, -0.208750, -0.196250, -0.170000, -0.181250, -0.160000, -0.158750
#*# -0.175000, -0.201250, -0.195000, -0.185000, -0.191250, -0.170000, -0.183750
#*# -0.193750, -0.218750, -0.218750, -0.188750, -0.187500, -0.197500, -0.206250
#*# -0.185000, -0.196250, -0.203750, -0.196250, -0.203750, -0.197500, 0.150000
#*# tension = 0.2
#*# min_x = 65.0
#*# algo = bicubic
#*# y_count = 7
#*# mesh_y_pps = 2
#*# min_y = 0.0
#*# x_count = 7
#*# max_y = 219.96
#*# mesh_x_pps = 2
#*# max_x = 227.96