-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprinter.cfg
More file actions
818 lines (700 loc) · 27.1 KB
/
printer.cfg
File metadata and controls
818 lines (700 loc) · 27.1 KB
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
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
[include chopper_tune.cfg]
# This file contains common pin mappings for the BigTreeTech Octopus V1.
# To use this config, the firmware should be compiled for the STM32F446 with a "32KiB bootloader"
# Enable "extra low-level configuration options" and select the "12MHz crystal" as clock reference
# after running "make", copy the generated "klipper/out/klipper.bin" file to a
# file named "firmware.bin" on an SD card and then restart the OctoPus with that SD card.
# See docs/Config_Reference.md for a description of parameters.
## Voron Design Trident 250/300/350mm BigTreeTech OctoPus V1 TMC2209 UART config
## *** THINGS TO CHANGE/CHECK: ***
## MCU paths [mcu] section
## Thermistor types [extruder] and [heater_bed] sections - See https://www.klipper3d.org/Config_Reference.html#common-thermistors for common thermistor types
## Hotend heater pin [extruder] section
## Leadscrew Rotation Distance [stepper_z], [stepper_z1], [stepper_z2]
## Z Endstop Switch location [safe_z_home] section
## Z Endstop Switch offset for Z0 [stepper_z] section
## Stepper Z1 enable pin [stepper_z1] section
## PID tune [extruder] and [heater_bed] sections
## Probe pin [probe] section
## Fine tune E steps [extruder] section
## --- I N C L U D E S --- ##
[include macros/cow-tunes.cfg]
#[include macros/cartographer_calibrate_routine.cfg]
[include macros/cow-runout.cfg]
#[include macros/cow-lancer.cfg]
#[include macros/cow-hgx-lite.cfg]
[include macros/stepper-DB.cfg]
[include macros/cow-daylight.cfg]
[include macros/cow-daylight2.cfg]
[include macros/cow-daylight3.cfg]
#[include macros/cow-ebb36.cfg]
[include macros/load-unload-filament.cfg]
#[include macros/cow-aux-fans.cfg]
#[include macros/cow-carto.cfg]
[include macros/cow-cartobeta.cfg]
[include /home/pi/moonraker-timelapse/klipper_macro/timelapse.cfg]
#[include macros/cow-bedmesh.cfg]
[include macros/cow-touch-start2.cfg]
[include macros/newmacros.cfg]
[include macros/pause-resume.cfg]
[include KAMP_Settings.cfg]
[include macros/cow-cancel-print.cfg]
[include macros/cow-steppers.cfg]
#[include macros/display.cfg]
[include macros/cow-brushwipe.cfg]
[include macros/cow-print-end.cfg]
#[include macros/cow-ebb36-lancer.cfg]
[include macros/cow-nighthawk-36.cfg]
[include macros/lcd-tweaks.cfg]
[include macros/cow-menu.cfg]
# - - - C H A M B E R - - - -
[temperature_sensor Chamber]
sensor_type: EPCOS 100K B57560G104F
Sensor_pin: PF5
min_temp: 0
max_temp: 70
#[temperature_sensor Left-Stepper]
#sensor_type: EPCOS 100K B57560G104F
#Sensor_pin: PF6
#min_temp: 0
# max_temp: 150
#gcode_id: C
# - - - - - - - - - - - -
[shaketune]
result_folder: ~/printer_data/config/ShakeTune_results
# The folder where the results will be stored. It will be created if it doesn't exist.
number_of_results_to_keep: 6
# The number of results to keep in the result_folder. The oldest results will
# be automatically deleted after each runs.
keep_raw_data = False
# If True, the raw CSV files will be kept in the result_folder alongside the
# PNG graphs. If False, they will be deleted and only the graphs will be kept.
show_macros_in_webui: True
# Mainsail and Fluidd doesn't create buttons for "system" macros that are not in the
# printer.cfg file. If you want to see the macros in the webui, set this to True.
timeout: 300
measurements_chunk_size: 10
# dpi: 300
# max_freq: 200
# The maximum time in seconds to let Shake&Tune process the CSV files and generate the graphs.
[skew_correction]
#CALC_MEASURED_SKEW AC=100.58412 BD=99.41245 AD=70.71068
[auto_speed]
#axis: diag_x, diag_y ; One or multiple of `x`, `y`, `diag_x`, `diag_y`, `z`
#margin: 20 ; How far away from your axes to perform movements
#settling_home: 1 ; Perform settling home before starting Auto Speed
#max_missed: 1.0 ; Maximum full steps that can be missed
#endstop_samples: 3 ; How many endstop samples to take for endstop variance
#accel_min: 1000.0 ; Minimum acceleration test may try
#accel_max: 50000.0 ; Maximum acceleration test may try
#accel_accu: 0.05 ; Keep binary searching until the result is within this percentage
#velocity_min: 50.0 ; Minimum velocity test may try
#velocity_max: 5000.0 ; Maximum velocity test may try
#velocity_accu: 0.05 ; Keep binary searching until the result is within this percentage
#derate: 0.8 ; Derate discovered results by this amount
#validate_margin: Unset ; Margin for VALIDATE, Defaults to margin
#validate_inner_margin: 20.0 ; Margin for VALIDATE inner pattern
#validate_iterations: 50 ; Perform VALIDATE pattern this many times
#results_dir: ~/printer_data/config ; Destination directory for graphs
[save_variables]
filename:variables.cfg
[mcu]
## Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify
##--------------------------------------------------------------------
baud: 250000
restart_method: sudo systemctl restart klipper
serial: /dev/serial/by-id/usb-Klipper_stm32h723xx_0A0021000651323235363233-if00
#old board - bad driver sockets serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_2C0060000251313133353932-if00
restart_method: command
#serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_320055000C50425539393020-if00
#serial: /dev/serial/by-id/usb-Cartographer_614e_2D001E000F43304146393320-if00
[printer]
kinematics: corexy
max_velocity: 500 #was 300
max_accel: 55000 #was 15000 #Max 4000
minimum_cruise_ratio: 0.5
max_z_velocity: 15 #was 20 on belts #was 15 #Max 15 for 12V TMC Drivers, can increase for 24V
max_z_accel: 700 #was 350 - stock - return to 350 after testing - 2-3-24
square_corner_velocity: 5.0 #was 5 - 8 for 40k accel
[mcu rpi]
serial:/tmp/klipper_host_mcu
##--------------------------------------------------------------------
[idle_timeout]
timeout: 300
gcode:
{% if printer.pause_resume.is_paused %}
M118 Bypassed Timeout
M117 Bypassed Timeout
{% else %}
M118 Timeout Reached
M117 Timeout Reached
TURN_OFF_HEATERS
M84
{% endif %}
[input_shaper]
shaper_freq_x: 99.0 #76.2 #was mzv 61.4 #was 42.2 then 70
shaper_freq_y: 72.6
shaper_type_x: mzv
shaper_type_y: mzv
damping_ratio_x: 0.082 #was .088
#damping_ratio_y: 0.062
#A type of the input shaper to use for both X and Y axes. Supported
#shapers are zv, mzv, zvd, ei, 2hump_ei, and 3hump_ei. The default
#is mzv input shaper.
# M I S C
[force_move]
enable_force_move: True
[exclude_object]
[virtual_sdcard]
path: /home/pi/printer_data/gcodes
on_error_gcode:
CANCEL_PRINT
CRITICAL_ERROR
[display_status]
[pause_resume]
[endstop_phase]
[respond]
default_type: echo
[toolhead]
#
# SHELL COMMAND SECTION
[gcode_shell_command zoom2]
command:/home/pi/zoom2.sh
# The linux shell command/script to be executed. This parameter must be
# provided
timeout: 2.
# The timeout in seconds until the command is forcably terminated. Default
# is 2 seconds.
verbose: True
# If enabled, the command's output will be forwarded to the terminal. Its
# recommended to set this to false for commands that my run in quick
# succession. Default is True.
[gcode_shell_command zoom1]
command:/home/pi/zoom1.sh
timeout: 2.
verbose: True
[gcode_shell_command zoom3]
command:/home/pi/zoom3.sh
timeout: 2.
verbose: True
[gcode_shell_command restart_klipper]
command:/home/pi/restart_klipper.sh
timeout: 2.
verbose: True
[gcode_macro Restart_Klipper]
gcode:
RUN_SHELL_COMMAND CMD=restart_klipper
[gcode_macro zoom1]
gcode:
RUN_SHELL_COMMAND CMD=zoom1
[gcode_macro zoom2]
gcode:
RUN_SHELL_COMMAND CMD=zoom2
[gcode_macro zoom3]
gcode:
RUN_SHELL_COMMAND CMD=zoom3
[heater_bed]
## SSR Pin - HE1
## Thermistor - TB
#heater_pin: PB11 #was Pb THERMISTOR HEATER OUTPUT
heater_pin: PB0 #was PA1 = "PA0 BED OUT", PA0=HE0, PA3=HE1, PB0=HE2, PB11=HE3
min_temp: 0
max_temp: 120
sensor_type: Generic 3950 #was NTC 100K beta 3950
sensor_pin: PF3
## Check what thermistor type you have. See https://www.klipper3d.org/Config_Reference.html#common-thermistors for common thermistor types.
## Use "Generic 3950" for Keenovo heaters
## Adjust max_power so it doesn't exceed the SSR rating. The Omron G3NA-210B-DC5 SSR is rated at 4 amps without a heatsink.
## The formula is "4 / (Wattage_of_bed_heater / Mains_voltage) = max_power"
## If max_power is greater than 1.0, use 1.0
# max_power: 0.6
#control: pid
#pid_kp: 58.437
#pid_ki: 2.347
#pid_kd: 363.769
[verify_heater heater_bed]
check_gain_time: 80
# # # - M I S C - misc# # #
[temperature_sensor mcu_temp]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 100
#[temperature_sensor SSR]
#sensor_pin: PF5
#sensor_type: EPCOS 100K B57560G104F # CHC - ATC Semitec 104NT-4-R025H42G #EPCOS 100K B57560G104F
#min_temp: 10
#max_temp: 100
# # # - E N D M I S C - # # #
#
# - - - - F A N S - - - - - - #
#
#fan HEADER PINS OCTOPUS 1.1
# 0 - PA8 - BENTO
# 1 - PE5 - Part / Right
# 2 - PD12 - Part / Left
# 3 - PD13 - stepper -left
# 4 - PD14 - REAR-STEPPER-FANS
# 5 - PD15 - DRIVER-FANS
###[multi_pin part_fan_pins]
###pins: PD12, PE5
[controller_fan driver-fans]
pin: PD15
max_power: 1.0
#shutdown_speed: 0
#cycle_time:
#hardware_pwm:
kick_start_time: 0.2
off_below: 0.25
#fan_speed: 1.0
#tachometer_pin:
#tachometer_ppr:
#tachometer_poll_interval:
#enable_pin:
stepper: stepper_x
idle_timeout: 300
idle_speed: 0.6
# [controller_fan X1Y1Driver_fan]
# pin: PA8
# max_power: 0.7
# shutdown_speed: 0
# #cycle_time:
# #hardware_pwm:
# kick_start_time: 0.2
# off_below: 0.25
#fan_speed: 1.0
#tachometer_pin:
#tachometer_ppr:
#tachometer_poll_interval:
#enable_pin:
[heater_fan extruder_fan]
pin: nhk:gpio6
max_power: 0.8
shutdown_speed: 0
#cycle_time:
#hardware_pwm:
kick_start_time: 0.2
off_below: 0.25
heater: extruder
heater_temp: 1
[fan]
pin: rpi:gpio26 # was gpio12 for testing connected to GPIO26 second to last pin on left column with the last pin being ground running to NEG on PSU
#Part Fan
#pin: multi_pin:part_fan_pins
#pin: rpi:gpio26 #was PA8 on ocotpus
kick_start_time: 0.1
max_power: 1.0
cycle_time: 0.002
hardware_pwm:false
shutdown_speed:0
#[multi_pin bento-pins]
# pins: PA8, PD15
[heater_fan bentobox]
## Exhaust fan - FAN3
pin: PA8
#pin: PD12
max_power: .7
shutdown_speed: 0.0
kick_start_time: 5.0
heater: extruder
heater_temp: 60
fan_speed: 1.0
[heater_fan hotend_fan]
# nighthawk controlled
###pin: PE5 # for old octopus config - ussing this fan as hotend fan for ebb36 since its a piece of crap.
pin: nhk:gpio5
#tachometer_pin: nhk:gpio16
#tachometer_ppr: 2
max_power: 1.0
heater: extruder
heater_temp: 50
shutdown_speed: 0
[heater_fan AWDL_fan]
# nighthawk controlled
pin: PE5 # for old octopus config - ussing this fan as hotend fan for ebb36 since its a piece of crap.
#tachometer_pin: nhk:gpio16
#tachometer_ppr: 2
max_power: 1.0
heater: extruder
heater_temp: 50
shutdown_speed: 0
[controller_fan left-stepper-fan]
## Right stepper cooler fan
pin: PD12
max_power: 1.0
shutdown_speed: 0.0
#kick_start_time: 5.0
stepper:stepper_x1
fan_speed: 0.7
idle_timeout: 300
idle_speed: 0.6
[controller_fan right-stepper-fan]
## Right stepper cooler fan
pin: PD13
max_power: 0.7
shutdown_speed: 0.0
#kick_start_time: 5.0
stepper:stepper_x
fan_speed: 0.7
idle_timeout: 300
idle_speed: 0.6
#
# # # - E N D F A N S - # # #
#
# LED Control
#[output_pin caselight]
# Chamber Lighting - HE2 Connector (Optional)
##Octopus 1.0 & 1.1, Octopus PRO 1.0
#pin: PB10
##Octopus PRO 1.1
#pin: PB0
#pwm:true
#shutdown_value: 0
#value:1
#cycle_time: 0.01
##
# # # - T E M P S E N S O R S - # # #
##
# [temperature_sensor tmc2240_stepper_x]
# sensor_type: temperature_host
# min_temp: 10
# max_temp: 100
# [temperature_sensor tmc2240_stepper_y]
# sensor_type: temperature_host
# min_temp: 10
# max_temp: 100
##
# # # - E N D T E M P S E N S O R S - # # #
##
# Homing and Gantry Adjustment Routines
#
# # # - Z S T U F F - # # #
#
[homing_override]
axes: yxz
set_position_z: 0
gcode:
G1 Z10 F600 ; Lift Z slightly to clear the bed
G28 Y ; Home the Y axis first
G28 X ; Then home the X axis
G1 X112 Y112 F9000 ; Move to a safe spot (example)
G28 Z ; Home Z (optional, depending on your probe)
G1 Z5
#set_position_x:
#set_position_z:
#gcode:
# g28 y
# g28 x
# A list of G-Code commands to execute in place of G28 commands
# found in the normal g-code input. See docs/Command_Templates.md
# for G-Code format. If a G28 is contained in this list of commands
# then it will invoke the normal homing procedure for the printer.
# The commands listed here must home all axes. This parameter must
# be provided.
#axes: xy
# The axes to override. For example, if this is set to "z" then the
# override script will only be run when the z axis is homed (eg, via
# a "G28" or "G28 Z0" command). Note, the override script should
# still home all axes. The default is "xyz" which causes the
# override script to be run in place of all G28 commands.
#set_position_x:
#set_position_y:50,80
#set_position_z:
# If specified, the printer will assume the axis is at the specified
# position prior to running the above g-code commands. Setting this
# disables homing checks for that axis. This may be useful if the
# head must move prior to invoking the normal G28 mechanism for an
# axis. The default is to not force a position for an axis.
[idle_timeout]
timeout: 500
#[safe_z_home]
# home_xy_position:112,112
# XY Location of the Z Endstop Switch
# Update -10,-10 to the XY coordinates of your endstop pin
# (such as 157,305) after going through Z Endstop Pin
# Location Definition step.
##--------------------------------------------------------------------
# [z_tilt]
# ## Use Z_TILT_ADJUST to level the bed .
# ## z_positions: Location of toolhead
# # Z_TILT_ADJUST [RETRIES=<value>] [RETRY_TOLERANCE=<value>] [HORIZONTAL_MOVE_Z=<value>] [<probe_parameter>=<value>]
# ##--------------------------------------------------------------------
# ## Uncomment below for 250mm build
# z_positions:
# -20, 3 #was -30,71 72
# 112, 245
# 240, 3 # was 234 is right number 72
# points:
# 24, 54 #was 24 60 2, 75 3,28 72
# 106, 194 #was 150 , then 135 which is too far forward but gives fast ztilts
# 200, 54 #was 214,60 187,72
[z_tilt]
z_positions:
-10, 0
230, 240
223, -0
points:
22, 18 #was 38
111.5, 185 #was 205
198, 18 #was 38
speed: 500 #was 700
horizontal_move_z: 6 #was 6
retries: 24
retry_tolerance: 0.0076 #was 0.0076
# # # - S C R E W S - # # #
# SCREWS_TILT_CALCULATE
[screws_tilt_adjust]
screw1: 33, 35 #was75
screw1_name: Front Left Screw
screw2: 203, 35 #was75
screw2_name: front Right Screw
screw3: 203, 205 #was 225
screw3_name: rear right screw
screw4: 33, 205 #was 225
screw4_name: Rear Left Screw
horizontal_move_z: 10.
speed: 200
screw_thread: CW-M4
# - - - - - - - - - - - - - - - -
[bed_screws]
screw1: 30, 31
screw2: 30, 211
screw3: 181, 94
#screw4: 181, 54
# # # E N D S C R E W S # # #
## Uncomment below for 300mm build
#z_positions:
# -50, 18
# 150, 348
# 350, 18
#points:
# 30, 5
# 150, 245
# 270, 5
## Uncomment below for 350mm build
#z_positions:
# -50, 18
# 175, 398
# 400,18
#points:
# 30, 5
# 175, 295
# 320, 5
#
# # # - E N D Z - S T U F F - # # #
#
#
# EXP1 / EXP2 (display) pins
#
# Displays
## Uncomment the display that you have
#--------------------------------------------------------------------
[display]
lcd_type: uc1701
cs_pin: EXP1_3
a0_pin: EXP1_4
rst_pin: EXP1_5
encoder_pins: ^EXP2_5, ^EXP2_3
#reversed direction
#encoder_pins: ^EXP2_3, ^EXP2_5
click_pin: ^!EXP1_2
contrast: 63
spi_software_mosi_pin: EXP2_6 # PA7
spi_software_miso_pin: EXP2_1 #PA6
spi_software_sclk_pin: EXP2_2 #PA5
[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>
#SET_LED LED=<btt_mini12864> RED=<255> GREEN=<0> BLUE=<190> WHITE=<value> [INDEX=<index>] [TRANSMIT=0] [SYNC=1]:
#[display]
## RepRapDiscount 128x64 Full Graphic Smart Controller
#lcd_type: st7920
#cs_pin: EXP1_4
#sclk_pin: EXP1_5
#sid_pin: EXP1_3
#menu_timeout: 40
#encoder_pins: ^EXP2_5, ^EXP2_3
#click_pin: ^!EXP1_2
# [output_pin beeper]
# pin: EXP1_1
# value: 0
# shutdown_value: 0
# pwm: True
# cycle_time: 0.0005 ; Default beeper tone in kHz. 1 / 0.0005 = 2000Hz (2kHz)
#--------------------------------------------------------------------
#[display]
## mini12864 LCD Display
#lcd_type: uc1701
#cs_pin: EXP1_3
#a0_pin: EXP1_4
#rst_pin: EXP1_5
#encoder_pins: ^EXP2_5, ^EXP2_3
#click_pin: ^!EXP1_2
#contrast: 63
#spi_software_miso_pin: EXP2_1
#spi_software_mosi_pin: EXP2_6
#spi_software_sclk_pin: EXP2_2
[neopixel btt_mini12864]
# To control Neopixel RGB in mini12864 display
pin: EXP1_6
chain_count: 3
initial_RED: 0.0
initial_GREEN: 0.0
initial_BLUE: 1.0
color_order: BRG
[delayed_gcode setdisplayneopixel]
initial_duration: 1
gcode:
SET_LED LED=btt_mini12864 RED=0 GREEN=0 BLUE=1 INDEX=1 TRANSMIT=1
SET_LED LED=btt_mini12864 RED=0 GREEN=0 BLUE=1 INDEX=2 TRANSMIT=0
SET_LED LED=btt_mini12864 RED=0 GREEN=0 BLUE=1 INDEX=3
#--------------------------------------------------------------------
# # # # Macros
[gcode_macro ZTILT]
gcode:
BEEP I=2,I=2
M117 TILT_ADJ_GANTRY
M118 TILT_ADJ_GANTRY
Z_TILT_ADJUST
[gcode_macro TURN_OFF_MOTORS]
gcode:
M84
[gcode_macro CALIBRATE_PROBE]
description: Tune Z- Offset
gcode:
probe_calibrate
[gcode_macro MAKE_HOT]
description: 260/90
gcode:
# STOP_LED_EFFECTS
# SET_LED_EFFECT EFFECT=sb_logo_heating
# SET_LED_EFFECT EFFECT=sb_nozzle_heating
SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET=90
SET_HEATER_TEMPERATURE HEATER=extruder TARGET=260
dtwoheating
daylight_heating
M141 S50
[gcode_macro CRITICAL_ERROR]
gcode:
M117 F A I L U R E
[gcode_macro M226]
gcode:
G90 E0
PAUSE
#[gcode_macro PRINT_START]
# Use PRINT_START for the slicer starting script - PLEASE CUSTOMISE THE SCRIPT
#gcode:
# M117 Homing... ; display message
# G28
# Z_TILT_ADJUST
# G28
## Uncomment for for your size printer:
#--------------------------------------------------------------------
## Uncomment for 250mm build
#G0 X125 Y125 Z30 F3600
## Uncomment for 300 build
#G0 X150 Y150 Z30 F3600
## Uncomment for 350mm build
#G0 X175 Y175 Z30 F3600
#--------------------------------------------------------------------
# # *# [stepper_z]
# # *# position_endstop = 6.945
# [include moonraker_obico_macros.cfg]
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 62.225
#*# pid_ki = .8440
#*# pid_kd = 672.030
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.082356, -0.079028, -0.076222, -0.084599, -0.084917, -0.085719, -0.094084, -0.093763, -0.085898, -0.086035, -0.085254, -0.084933, -0.084611, -0.080530, -0.076242, -0.079917, -0.075656, -0.078879, -0.089786, -0.089638, -0.077607, -0.080945, -0.068945, -0.057423, -0.041583
#*# -0.059013, -0.067396, -0.075994, -0.080336, -0.081135, -0.081947, -0.082780, -0.086230, -0.082136, -0.074302, -0.081263, -0.081171, -0.080850, -0.080540, -0.076470, -0.079460, -0.075437, -0.079318, -0.078817, -0.078212, -0.073650, -0.066056, -0.058028, -0.042188, -0.041583
#*# -0.059013, -0.067857, -0.076222, -0.076552, -0.077354, -0.074414, -0.079018, -0.078697, -0.082136, -0.078054, -0.085254, -0.081171, -0.077088, -0.073028, -0.068987, -0.072434, -0.075876, -0.079318, -0.082541, -0.081936, -0.073650, -0.065603, -0.057576, -0.042188, -0.034220
#*# -0.051445, -0.060272, -0.068417, -0.072770, -0.069821, -0.070195, -0.078561, -0.078239, -0.082136, -0.078054, -0.077731, -0.069907, -0.062103, -0.065545, -0.068987, -0.064988, -0.075437, -0.071872, -0.075314, -0.074255, -0.066661, -0.058182, -0.042793, -0.038507, -0.026893
#*# -0.059013, -0.067378, -0.068637, -0.076552, -0.077354, -0.070653, -0.086541, -0.086219, -0.085898, -0.085347, -0.085254, -0.077410, -0.069586, -0.072571, -0.076013, -0.072434, -0.075876, -0.079318, -0.089786, -0.074709, -0.073650, -0.065603, -0.057576, -0.042188, -0.034220
#*# -0.059013, -0.075447, -0.076222, -0.080336, -0.073582, -0.070653, -0.086541, -0.086219, -0.093441, -0.089348, -0.081493, -0.069917, -0.062103, -0.058099, -0.068987, -0.064988, -0.075876, -0.082831, -0.082760, -0.074255, -0.073650, -0.066056, -0.057802, -0.049570, -0.045274
#*# -0.070662, -0.075447, -0.075743, -0.084120, -0.077584, -0.085719, -0.094084, -0.093763, -0.093441, -0.093119, -0.081493, -0.069907, -0.061664, -0.050204, -0.061087, -0.064534, -0.068203, -0.078879, -0.078817, -0.078212, -0.070155, -0.073272, -0.072666, -0.064845, -0.056366
#*# -0.067082, -0.079028, -0.075983, -0.076552, -0.073812, -0.070653, -0.086541, -0.086219, -0.082136, -0.085117, -0.070229, -0.054978, -0.039566, -0.035381, -0.038823, -0.042269, -0.053113, -0.064429, -0.067418, -0.067266, -0.074104, -0.088428, -0.087594, -0.079734, -0.071683
#*# -0.070430, -0.067857, -0.083348, -0.077013, -0.077354, -0.078176, -0.086541, -0.078697, -0.070873, -0.070551, -0.055300, -0.040113, -0.024557, -0.020637, -0.024079, -0.027525, -0.038330, -0.049154, -0.059997, -0.067266, -0.081550, -0.095473, -0.102847, -0.102242, -0.094114
#*# -0.059013, -0.060041, -0.060612, -0.061445, -0.062288, -0.063150, -0.071516, -0.063272, -0.055943, -0.055622, -0.047857, -0.032260, -0.009867, -0.005986, -0.002124, -0.005571, -0.023640, -0.041338, -0.052596, -0.066813, -0.088576, -0.103453, -0.114172, -0.117349, -0.116744
#*# -0.055229, -0.044703, -0.038043, -0.042451, -0.039856, -0.047767, -0.049144, -0.048370, -0.048501, -0.048179, -0.039983, -0.024878, -0.009420, 0.005183, 0.005161, 0.001714, -0.016317, -0.034409, -0.059997, -0.074709, -0.096535, -0.118560, -0.126001, -0.132986, -0.124312
#*# -0.028815, -0.021756, -0.015672, -0.012699, -0.017138, -0.018121, -0.033869, -0.033547, -0.040627, -0.032904, -0.025210, -0.021197, -0.006205, 0.001318, -0.002124, -0.005126, -0.023640, -0.034409, -0.059997, -0.081716, -0.104058, -0.126128, -0.141217, -0.140612, -0.140007
#*# -0.006384, 0.007519, 0.014348, 0.013299, 0.012257, 0.011196, -0.004474, -0.011476, -0.018481, -0.018160, -0.010510, -0.017516, -0.009867, -0.005986, -0.009428, -0.019751, -0.030535, -0.041772, -0.059997, -0.089181, -0.104058, -0.133733, -0.152699, -0.155928, -0.155323
#*# 0.023716, 0.033926, 0.036747, 0.049723, 0.049010, 0.033418, 0.017808, 0.003152, -0.003831, -0.003509, -0.010287, -0.017516, -0.017194, -0.020637, -0.024079, -0.027525, -0.038330, -0.049604, -0.074860, -0.097140, -0.112061, -0.137777, -0.148865, -0.155928, -0.163247
#*# 0.045729, 0.059645, 0.072960, 0.079363, 0.078148, 0.062211, 0.039487, 0.025375, 0.010972, 0.007437, 0.004117, -0.002865, -0.009867, -0.020637, -0.031441, -0.034888, -0.038330, -0.049154, -0.067871, -0.089638, -0.111601, -0.126607, -0.148865, -0.163618, -0.174816
#*# 0.075256, 0.095684, 0.105579, 0.121989, 0.106566, 0.091123, 0.061418, 0.039809, 0.025696, 0.018772, 0.015249, 0.004439, -0.002544, -0.013309, -0.016751, -0.027525, -0.030967, -0.042221, -0.059997, -0.082155, -0.104288, -0.126128, -0.148865, -0.155928, -0.174573
#*# 0.096879, 0.117501, 0.144429, 0.143057, 0.134692, 0.105259, 0.075663, 0.054168, 0.032923, 0.018772, 0.011616, 0.004439, -0.002544, -0.013309, -0.016751, -0.020198, -0.030751, -0.041772, -0.059997, -0.078212, -0.096993, -0.118790, -0.144808, -0.159773, -0.178439
#*# 0.118334, 0.142452, 0.158816, 0.164358, 0.141876, 0.112299, 0.082758, 0.047209, 0.025696, 0.011508, 0.004561, -0.002865, -0.009867, -0.013309, -0.016751, -0.027525, -0.030967, -0.045463, -0.059997, -0.082155, -0.096535, -0.126128, -0.148865, -0.163618, -0.186665
#*# 0.132961, 0.159799, 0.172735, 0.171291, 0.141679, 0.112499, 0.075663, 0.043615, 0.021861, 0.004239, -0.002741, -0.006304, -0.017194, -0.020637, -0.031441, -0.027525, -0.038330, -0.049154, -0.067871, -0.082155, -0.104058, -0.126128, -0.152699, -0.171312, -0.186428
#*# 0.154137, 0.174150, 0.186597, 0.171291, 0.141679, 0.112299, 0.068550, 0.032601, 0.011186, -0.006947, -0.003187, -0.017516, -0.024557, -0.020637, -0.031441, -0.034888, -0.038330, -0.049154, -0.067418, -0.089409, -0.104058, -0.126607, -0.148398, -0.163618, -0.186192
#*# 0.161558, 0.181100, 0.186597, 0.164358, 0.131388, 0.098200, 0.053846, 0.025375, 0.003473, -0.010832, -0.010064, -0.010189, -0.017194, -0.020637, -0.024079, -0.034888, -0.045712, -0.056555, -0.067418, -0.089638, -0.104058, -0.119021, -0.141217, -0.155928, -0.178439
#*# 0.175151, 0.174150, 0.179667, 0.157201, 0.117344, 0.080472, 0.039487, 0.018129, -0.003831, -0.010832, -0.006625, -0.006527, -0.009867, -0.016757, -0.031441, -0.042269, -0.045712, -0.053080, -0.067645, -0.082155, -0.096535, -0.110996, -0.126001, -0.144436, -0.158925
#*# 0.182515, 0.188032, 0.172735, 0.150440, 0.114024, 0.076705, 0.032280, 0.003596, -0.003385, -0.003063, 0.004561, 0.004883, 0.005205, -0.005986, -0.016751, -0.027525, -0.038330, -0.049154, -0.059997, -0.070534, -0.081550, -0.095930, -0.102847, -0.117810, -0.132381
#*# 0.161160, 0.166786, 0.151434, 0.125510, 0.092185, 0.055041, 0.017808, -0.004152, -0.011154, -0.003509, 0.004117, 0.004439, 0.004760, -0.012862, -0.024079, -0.034454, -0.038330, -0.049154, -0.060449, -0.067266, -0.074104, -0.088428, -0.095324, -0.106014, -0.124312
#*# 0.132961, 0.131673, 0.119769, 0.093645, 0.056218, 0.032993, -0.004028, -0.015139, -0.022162, -0.010832, -0.014174, -0.002865, -0.017194, -0.024318, -0.031441, -0.049671, -0.053565, -0.057007, -0.059997, -0.066813, -0.074104, -0.080506, -0.091573, -0.102252, -0.131917
#*# min_x = 30.0
#*# min_y = 20.0
#*# max_x = 205.0
#*# max_y = 155.0
#*# x_count = 25
#*# y_count = 25
#*# mesh_x_pps = 0
#*# mesh_y_pps = 0
#*# algo = bicubic
#*# tension = 0.2
#*#
#*# [skew_correction my_skew_profile]
#*# xy_skew = -0.0016673017422844977
#*# xz_skew = 0.0
#*# yz_skew = 0.0
#*#
#*# [motors_sync]
#*# steps_model_x = quadratic,
#*# 323.6452892174861,
#*# -384.08346341718226,
#*# 905.5549483027283
#*# steps_model_y = quadratic,
#*# 323.6452892174861,
#*# -384.08346341718226,
#*# 905.5549483027283
#*#
#*# [axis_twist_compensation]
#*# z_compensations = 0.082700, 0.044517, -0.010191, -0.055948, -0.061077
#*# compensation_start_x = 30.0
#*# compensation_end_x = 205.0
#*# zy_compensations = 0.104821, -0.008432, 0.002088, -0.053242, -0.045236
#*# compensation_start_y = 20.0
#*# compensation_end_y = 135.0
#*#
#*# [cartographer]
#*# z_backlash = 0.01039
#*#
#*# [cartographer scan_model default]
#*# coefficients = 1.7165956494136767,2.1464119346860757,0.786626151184299,0.5630627064753655,0.3117279728477869,-0.3037948650584113,-0.17809684630793804,0.43169800948409565,0.1657009287071173,-0.13264309380045108
#*# domain = 3.3562264243810983e-07,3.41285386510304e-07
#*# z_offset = 0
#*# reference_temperature = 60.66
#*# software_version = 1.4.3b3
#*# mcu_version = Cartographer HT 5.1.0
#*#
#*# [cartographer touch_model default]
#*# threshold = 550
#*# speed = 2
#*# z_offset = -0.05
#*# software_version = 1.4.3b3
#*# mcu_version = Cartographer HT 5.1.0