-
Notifications
You must be signed in to change notification settings - Fork 0
/
printer-20230102_151108.cfg
254 lines (219 loc) · 10.6 KB
/
printer-20230102_151108.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
# This is a Klipper configuration for Tron XY-2 Pro, with
# CXY-V6 motherboard.
# === FLASHING WITH STOCK BOOTLOADER ===
# You should make firmware for STM32F103 with bootloader offset
# at 0x8008800 (Chitu v6 Bootloader). Uncheck USB, and leave default
# serial settings.
#
# Use "./scripts/update_chitu.py ./out/klipper.bin ./out/update.cbd" after make to generate update.cbd.
# Put `update.cbd` onto SD card, and reboot the printer.
# It will be automatically installed, and you will be able to update it this way.
[bltouch]
x_offset: 46
y_offset: 15
control_pin:PB11
sensor_pin:^PD12
pin_up_touch_mode_reports_triggered:False
#z_offset: 0.8
[mcu]
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
restart_method: command
[idle_timeout]
gcode:
timeout: 0.1
[printer]
kinematics: cartesian
max_velocity: 150
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100
[stepper_x]
step_pin: PE5
dir_pin: PE6
enable_pin: !PC13
microsteps: 16
rotation_distance: 20
endstop_pin: !PG10
position_endstop: 2
position_min: 2
position_max: 249
homing_speed: 50
homing_retract_dist: 10
second_homing_speed: 10.0
[stepper_y]
step_pin: PE2
dir_pin: PE3
enable_pin: !PE4
microsteps: 16
rotation_distance: 20
endstop_pin: !PA12
position_endstop: -11
position_min:-11
position_max: 250
homing_retract_dist: 10
homing_speed: 50.0
second_homing_speed: 10.0
[stepper_z]
step_pin: PB9
dir_pin: !PE0
enable_pin: !PE1
microsteps: 16
rotation_distance: 1
endstop_pin: probe:z_virtual_endstop
position_max: 260
position_min: -10
[extruder]
step_pin: PB4
dir_pin: !PB5
enable_pin: !PB8
microsteps: 16
rotation_distance: 1.94884287454324
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PG12
sensor_type: ATC Semitec 104GT-2
sensor_pin: PA1
control: pid
pid_Kp: 18.831
pid_Ki: 0.821
pid_Kd: 108.044
min_temp: 0
max_temp: 260
max_extrude_only_distance: 800
min_extrude_temp: 0
max_extrude_cross_section: 1.5
[heater_bed]
heater_pin: PG11
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA0
control: pid
min_temp: 0
max_temp: 130
pid_Kp: 73.932
pid_Ki: 1.521
pid_Kd: 898.279
[heater_fan hotend_fan]
pin: PG14
heater: extruder
shutdown_speed: 0
cycle_time: 0.010
#hardware_pwm: True
kick_start_time: 0.100
heater_temp: 50
fan_speed: 1.0
[fan]
pin: PG13
max_power: 1
[controller_fan drivers_fan]
pin: PD6
[filament_switch_sensor sentinel]
pause_on_runout: True
runout_gcode:
M25
switch_pin: PA15
[output_pin beeper]
pin: PB0
[safe_z_home]
home_xy_position: 127,127
speed: 150
z_hop: 20
z_hop_speed: 5
[bed_mesh]
speed: 70
probe_count: 25,25
horizontal_move_z: 5
algorithm: lagrange
mesh_min : 60,15
mesh_max : 240,220
mesh_pps: 0
[virtual_sdcard]
path: ~/gcode_files
[display_status]
[pause_resume]
[gcode_macro BL_DOWN]
gcode:
BLTOUCH_DEBUG COMMAND=pin_down
[gcode_macro BL_UP]
gcode:
BLTOUCH_DEBUG COMMAND=pin_up
[gcode_macro BL_TOUCHMODE]
gcode:
BLTOUCH_DEBUG COMMAND=touch_mode
[gcode_macro BL_QUERY_PROBE]
gcode:
QUERY_PROBE
######################################################################
# Filament Change
######################################################################
# M600: Filament Change. This macro will pause the printer, move the
# tool to the change position, and retract the filament 50mm. Adjust
# the retraction settings for your own extruder. After filament has
# been changed, the print can be resumed from its previous position
# with the "RESUME" gcode.
[pause_resume]
[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
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
[force_move]
enable_force_move: True
[gcode_macro UNLOCK_MOTORS]
gcode:
SET_KINEMATIC_POSITION X=127 Y=127 Z=127
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [probe]
#*#
#*# [bltouch]
#*# z_offset = 0.700
#*#
#*# [bed_mesh 70 Grad]
#*# version = 1
#*# points =
#*# -0.162813, 0.044687, 0.006562, 0.135937, 0.155000, 0.155625, 0.133125, 0.124375, 0.120937, 0.117187, 0.106875, 0.097500, 0.122812, 0.104062, 0.069687, 0.023125, 0.013125, 0.008750, -0.020938, -0.042813, -0.070625, -0.085000, -0.129063, -0.169063, -0.204375
#*# -0.480938, -0.989375, -0.147813, 0.131250, 0.144375, 0.139687, 0.117812, 0.098750, 0.092187, 0.078750, 0.067187, 0.080625, 0.080625, 0.064687, 0.028750, -0.006563, -0.014375, -0.024375, -0.047813, -0.067500, -0.102500, -0.117813, -0.152500, -0.205938, -0.242813
#*# 0.079062, -0.597813, 0.066875, 0.084375, 0.110625, 0.111875, 0.086250, 0.076562, 0.076875, 0.070312, 0.058125, 0.060312, 0.087187, 0.064375, 0.047812, 0.006250, 0.007187, 0.009687, -0.009063, -0.012500, -0.048125, -0.045313, -0.079063, -0.110938, -0.148125
#*# -0.012188, -0.005313, -0.000938, 0.025000, 0.036875, 0.045625, 0.036875, 0.016562, 0.020937, 0.013125, 0.005937, 0.012812, 0.038437, 0.027500, 0.011875, -0.020938, -0.010625, -0.012500, -0.029063, -0.026875, -0.045000, -0.046875, -0.070625, -0.097813, -0.128438
#*# -0.109375, -0.102813, -0.094063, -0.072813, -0.057500, -0.032188, -0.057500, -0.059688, -0.038750, -0.063438, -0.068750, -0.067500, -0.026563, -0.031250, -0.051250, -0.071875, -0.070938, -0.057500, -0.058438, -0.067813, -0.084375, -0.068438, -0.094688, -0.107188, -0.130625
#*# -0.120938, -0.115313, -0.098750, -0.068125, -0.064688, -0.031875, -0.059688, -0.067500, -0.061875, -0.065313, -0.074375, -0.072813, -0.032500, -0.038438, -0.043438, -0.075000, -0.037813, -0.056250, -0.062500, -0.056875, -0.065625, -0.058750, -0.074688, -0.087500, -0.100000
#*# -0.079375, -0.072188, -0.075938, -0.055938, -0.033438, -0.029375, -0.038438, -0.042813, -0.045000, -0.049375, -0.055313, -0.056563, -0.024375, -0.034688, -0.049375, -0.072188, -0.069375, -0.057813, -0.069375, -0.060000, -0.073750, -0.058438, -0.080938, -0.083750, -0.108438
#*# 0.057187, 0.061250, 0.058750, 0.079062, 0.081562, 0.084375, 0.075312, 0.062187, 0.057187, 0.044375, 0.033437, 0.031250, 0.054375, 0.042812, 0.024687, -0.004688, 0.001562, -0.000000, -0.014063, -0.007813, -0.016250, -0.014063, -0.031250, -0.050000, -0.066563
#*# 0.178750, 0.175937, 0.164375, 0.179687, 0.180937, 0.183750, 0.168125, 0.149375, 0.142812, 0.109687, 0.101562, 0.095312, 0.112500, 0.100312, 0.068750, 0.039375, 0.031875, 0.027187, 0.022500, 0.010312, -0.003750, 0.012187, -0.021563, -0.039375, -0.058750
#*# 0.225000, 0.206875, 0.198125, 0.209375, 0.214687, 0.214375, 0.188750, 0.170312, 0.166562, 0.139062, 0.122187, 0.116250, 0.135312, 0.112812, 0.088750, 0.042187, 0.038437, 0.036875, 0.025312, 0.030000, 0.005937, 0.010312, -0.000000, -0.026250, -0.054375
#*# 0.209687, 0.205937, 0.194687, 0.204375, 0.206250, 0.207500, 0.181875, 0.163125, 0.169062, 0.144687, 0.119687, 0.103750, 0.235000, 0.093437, 0.065625, 0.032187, 0.028125, 0.024687, 0.009062, 0.014062, -0.000000, 0.005312, -0.015000, -0.026563, -0.043750
#*# 0.165312, 0.165937, 0.155625, 0.166250, 0.168750, 0.172812, 0.148437, 0.127187, 0.120625, 0.105000, 0.097187, 0.098750, 0.109062, 0.090000, 0.053437, 0.028125, 0.036562, 0.032187, 0.015937, 0.027187, 0.014687, 0.029687, 0.009375, 0.001562, -0.009688
#*# 0.109687, 0.116562, 0.106562, 0.120625, 0.123125, 0.125000, 0.098125, 0.070625, 0.067187, 0.054062, 0.062187, 0.053125, 0.080937, 0.059687, 0.038437, 0.008437, 0.010312, 0.010625, 0.002500, 0.015937, 0.005937, 0.022812, 0.012812, 0.000937, -0.000000
#*# 0.089687, 0.093437, 0.085312, 0.102187, 0.108750, 0.106250, 0.084375, 0.057187, 0.050000, 0.046562, 0.049375, 0.060625, 0.085000, 0.073437, 0.045625, 0.021250, 0.026875, 0.033750, 0.027500, 0.033750, 0.033750, 0.059062, 0.051562, 0.051562, 0.040625
#*# 0.109375, 0.110312, 0.107812, 0.123437, 0.132187, 0.124687, 0.105625, 0.089062, 0.086562, 0.074687, 0.077812, 0.073437, 0.102500, 0.083437, 0.054687, 0.028750, 0.028750, 0.037187, 0.029375, 0.043437, 0.040937, 0.064375, 0.061875, 0.059687, 0.053125
#*# 0.153125, 0.160937, 0.151562, 0.168750, 0.175625, 0.174375, 0.149687, 0.143437, 0.146875, 0.129687, 0.119062, 0.109062, 0.130000, 0.105000, 0.078750, 0.046250, 0.050312, 0.057812, 0.049375, 0.064062, 0.059687, 0.088750, 0.073750, 0.067187, 0.064062
#*# 0.235937, 0.228125, 0.214375, 0.228125, 0.220000, 0.220937, 0.188750, 0.169375, 0.171250, 0.148125, 0.140312, 0.126562, 0.163750, 0.112500, 0.079062, 0.045625, 0.040312, 0.035312, 0.029687, 0.032812, 0.022812, 0.039062, 0.021250, 0.013750, 0.006562
#*# 0.267812, 0.256875, 0.248125, 0.250937, 0.257187, 0.239687, 0.203750, 0.183125, 0.183750, 0.164062, 0.145625, 0.134062, 0.159062, 0.119062, 0.080312, 0.039687, 0.031250, 0.030312, 0.016250, 0.019062, 0.014375, 0.022187, 0.000625, -0.018438, -0.034063
#*# 0.265937, 0.249687, 0.242500, 0.249062, 0.257187, 0.240000, 0.197187, 0.181250, 0.187187, 0.172187, 0.141250, 0.124062, 0.133125, 0.105937, 0.070625, 0.026875, 0.028750, 0.013437, 0.003437, 0.008437, -0.009375, 0.005312, -0.016250, -0.029375, -0.051250
#*# 0.247500, 0.241562, 0.230000, 0.245312, 0.240937, 0.229687, 0.205625, 0.183437, 0.189687, 0.158750, 0.145312, 0.134687, 0.145625, 0.118125, 0.085625, 0.046250, 0.048437, 0.047500, 0.023750, 0.024687, 0.022187, 0.016875, 0.001562, -0.015313, -0.035938
#*# 0.253437, 0.251875, 0.246562, 0.254375, 0.260000, 0.265625, 0.231562, 0.211875, 0.206562, 0.193125, 0.190625, 0.185000, 0.197187, 0.172500, 0.145000, 0.105937, 0.101562, 0.096250, 0.094375, 0.095312, 0.081562, 0.098750, 0.072187, 0.057500, 0.044062
#*# 0.256875, 0.259687, 0.255937, 0.276562, 0.286875, 0.290937, 0.263125, 0.250625, 0.243125, 0.237812, 0.225625, 0.221562, 0.248750, 0.222500, 0.201250, 0.161875, 0.168750, 0.162500, 0.155625, 0.168750, 0.156875, 0.173750, 0.157500, 0.138125, 0.125312
#*# 0.252812, 0.267187, 0.268750, 0.278437, 0.290937, 0.295312, 0.274687, 0.255937, 0.262500, 0.248750, 0.249375, 0.235000, 0.261562, 0.234687, 0.210000, 0.181250, 0.179687, 0.183125, 0.163437, 0.184375, 0.167187, 0.178750, 0.163437, 0.154687, 0.135625
#*# 0.287812, 0.294375, 0.295625, 0.318125, 0.326250, 0.329062, 0.305312, 0.292187, 0.286875, 0.280937, 0.268750, 0.265937, 0.286250, 0.269375, 0.233437, 0.209687, 0.203437, 0.206562, 0.201875, 0.201250, 0.174687, 0.195000, 0.168437, 0.142812, 0.130625
#*# 0.314375, 0.320625, 0.314062, 0.332500, 0.335625, 0.343750, 0.312812, 0.295625, 0.293125, 0.272500, 0.267500, 0.257500, 0.271875, 0.243750, 0.206250, 0.164687, 0.168437, 0.156250, 0.135937, 0.133437, 0.110937, 0.108437, 0.080625, 0.053437, 0.027812
#*# tension = 0.2
#*# mesh_x_pps = 0
#*# algo = lagrange
#*# min_x = 60.0
#*# min_y = 15.0
#*# y_count = 25
#*# mesh_y_pps = 0
#*# x_count = 25
#*# max_x = 240.0
#*# max_y = 219.96