forked from Klipper3d/klipper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinter-ramps.cfg
373 lines (355 loc) · 8.16 KB
/
printer-ramps.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
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
# This file contains common pin mappings for RAMPS (v1.3 and later)
# boards. RAMPS boards typically use a firmware compiled for the AVR
# atmega2560 (though other AVR chips are also possible).
# See the example.cfg file for a description of available parameters.
[stepper_x]
step_pin: ar54
dir_pin: ar55
enable_pin: !ar38
step_distance: .0125
endstop_pin: ^ar3
#endstop_pin: ^ar2
position_endstop: 0
position_max: 200
homing_speed: 80
[stepper_y]
step_pin: ar60
dir_pin: !ar61
enable_pin: !ar56
step_distance: .0125
endstop_pin: ^ar14
#endstop_pin: ^ar15
position_endstop: 0
position_max: 220
homing_speed: 80
[stepper_z]
step_pin: ar46
dir_pin: ar48
enable_pin: !ar62
step_distance: .0025
endstop_pin: ^ar18
#endstop_pin: ^ar19
position_endstop: 0.5
position_max: 200
[extruder]
step_pin: ar26
dir_pin: ar28
enable_pin: !ar24
step_distance: .0105
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: ar10
sensor_type: EPCOS 100K B57560G104F
sensor_pin: analog13
max_power: .35
smooth_time: 5.0
# moved (managed by firmware)
#control: pid
#pid_kp = 6.758
#pid_ki = 0.382
#pid_kd = 29.904
min_temp: 0
max_temp: 280
pressure_advance: 0.400
#pressure_advance: 0.725 # optimal but eats filament
pressure_advance_lookahead_time: 0.010
max_extrude_cross_section: 45
max_extrude_only_velocity: 45
max_extrude_only_accel: 4000
#pressure_advance: 0.000
# The amount of raw filament to push into the extruder during
# extruder acceleration. An equal amount of filament is retracted
# during deceleration. It is measured in millimeters per
# millimeter/second. The default is 0, which disables pressure
# advance.
#pressure_advance_lookahead_time: 0.015
# A time (in seconds) to "look ahead" at future extrusion moves when
# calculating pressure advance. This is used to reduce the
# application of pressure advance during cornering moves that would
# otherwise cause retraction followed immediately by pressure
# buildup. This setting only applies if pressure_advance is
# non-zero. The default is 0.010 (10 milliseconds).
#max_extrude_cross_section:
# Maximum area of the cross section of an extrusion line (in
# mm^2). This setting prevents excessive amounts of extrusion during
# relatively small XY moves. If a move requests an extrusion rate
# that would exceed this value it will cause an error to be
# returned. The default is: 4.0 * nozzle_diameter^2
#max_extrude_only_distance: 50.0
# Maximum length (in mm of raw filament) that an extrude only move
# may be. If an extrude only move requests a distance greater than
# this value it will cause an error to be returned. The default is
# 50mm.
#max_extrude_only_velocity:
# Maximum velocity (in mm/s) of the extruder motor for extrude only
# moves. If this is not specified then it is calculated to match the
# limit an XY printing move with a max_extrude_cross_section
# extrusion would have.
#max_extrude_only_accel:
# Maximum acceleration (in mm/s^2) of the extruder motor for extrude
# only moves. If this is not specified then it is calculated to
# match the limit an XY printing move with a
# max_extrude_cross_section extrusion would have.
#[extruder1]
#step_pin: ar26
#dir_pin: ar3
#enable_pin: !ar27
#heater_pin: ar9
#sensor_pin: analog14
#...
#[extruder2]
#step_pin: ar29
#dir_pin: ar6
#enable_pin: !ar39
#heater_pin: ar9
#sensor_pin: analog13
#...
[heater_bed]
heater_pin: ar8
sensor_type: EPCOS 100K B57560G104F
sensor_pin: analog14
control: watermark
min_temp: 0
max_temp: 130
smooth_time: 6
[fan]
pin: ar9
[mcu]
serial: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_75533353138351A082E0-if00
#serial: /dev/ttyACM0
pin_map: arduino
#restart_method: command
# This controls the mechanism the host will use to reset the
# micro-controller. The choices are 'arduino', 'rpi_usb', and
# 'command'. The 'arduino' method (toggle DTR) is common on Arduino
# boards and clones. The 'rpi_usb' method is useful on Raspberry Pi
# boards with micro-controllers powered over USB - it briefly
# disables power to all USB ports to accomplish a micro-controller
# reset. The 'command' method involves sending a Klipper command to
# the micro-controller so that it can reset itself. The default is
# 'arduino' if the micro-controller communicates over a serial port,
# 'command' otherwise.
# A virtual sdcard may be useful if the host machine is not fast
# enough to run OctoPrint well. It allows the Klipper host software to
# directly print gcode files stored in a directory on the host using
# standard sdcard G-Code commands (eg, M24).
[virtual_sdcard]
path: ~/.octoprint/uploads/
# The path of the local directory on the host machine to look for
# g-code files. This is a read-only directory (sdcard file writes
# are not supported). One may point this to OctoPrint's upload
# directory (generally ~/.octoprint/uploads/ ). This parameter must
# be provided.
[printer]
kinematics: cartesian
max_velocity: 200
max_accel: 2000
max_z_velocity: 25
max_z_accel: 100
# "RepRapDiscount 2004 Smart Controller" type displays
[display]
lcd_type: hd44780
rs_pin: ar19
e_pin: ar42
d4_pin: ar18
d5_pin: ar38
d6_pin: ar41
d7_pin: ar40
encoder_pins: ^!ar11, ^!ar12
click_pin: ^!ar43
#kill_pin: ar46
# Menu manager
# [menu]
# rows: 4
# cols: 16
# type: group
# name: Main Menu
# items: info, control, octoprint,
# # babysteps
# #Root "parent" menu items above are listed on LCD when menu is activated
#
# [menu info]
# type: list
# name: Information
# items: version, status
#
# [menu info version]
# type: command
# name: Version
# gcode: M115
#
# [menu info status]
# type: command
# name: Status
# gcode: STATUS
# [menu control]
# type: group
# name: Printer Control
# items: fan, temperature, movement,
#
# [menu control fan]
# type: input # mandatory
# name: Enable Fan: {0:d} # mandatory
# parameter: fan.speed # mandatory
# input_min: 0 # optional
# input_max: 255 # optional
# input_step: 1 # mandatory
# gcode: M106 {0} # optional
# [menu control fan]
# type: list
# name: Fan Control
# items:
# on
# off
# ...
#
# [menu control fan on]
# type: command
# ...
#
# [menu control fan off]
# type: command
# ...
#
# [menu control temperature]
# type: group
# name: Temperature
# items:
# bed
# nozzle
#
# [menu control temperature bed]
# type: list
# name: Adjust Bed Temperature
# items:
# down
# up
# off
# ...
#
# [menu control temperature bed down]
# type: command
# ...
#
# [menu control temperature bed up]
# type: command
# ...
#
# [menu control temperature bed off]
# type: command
# ...
#
# [menu control temperature nozzle]
# type: list
# name: Adjust Nozzle Temperature
# items:
# down
# up
# off
# ...
#
# [menu control temperature nozzle down]
# type: command
# ...
#
# [menu control temperature nozzle up]
# type: command
# ...
#
# [menu control temperature nozzle off]
# type: command
# ...
#
# [menu control movement]
# type: group
# name: Move Axis
# items: X, Y, Z
# ...
#
# [menu control movement X]
# type: list
# name: Move X Axis
# items:
# left
# right
#
# [menu control movement X left]
# type: command
# ...
#
# [menu control movement X right]
# type: command
# ...
#
# [menu control movement Y]
# type: list
# name: Move Y Axis
# items:
# back
# forward
#
# [menu control movement Y back]
# type: command
# ...
#
# [menu control movement Y forward]
# type: command
# ...
#
# [menu control movement Z]
# type: list
# name: Move Z Axis
# items:
# down
# up
#
# [menu control movement Z down]
# type: command
# ...
#
# [menu control movement Z up]
# type: command
# ...
#
[menu octoprint]
type: list
name: OctoPrint
items:
pause
resume
# abort
#
[menu octoprint pause]
type: command
name: Pause octoprint
gcode: @//pause
[menu octoprint resume]
type: command
name: Resume octoprint
gcode: @//resume
# [menu octoprint abort]
# type: command
# ...
#
# [menu babysteps]
# type: list
# name: BabySteps
# items:
# adj
# abs
#
# [menu babysteps adj]
# type: input
# ...
#
# [menu babysteps abs]
# type: input
# ...
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 6.758
#*# pid_ki = 0.382
#*# pid_kd = 29.904