This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
autotune PLA 195-60.gcode
64 lines (54 loc) · 2.08 KB
/
autotune PLA 195-60.gcode
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
; ##########################################################
; -- Last Revision: 20230111.1
; -- Original: 11/24/2022
; -- autotune PLA - Steve Kenney
; ##########################################################
;------------------------------------------------------
;was autotune.gcode - Steve Kenney - 10/18/2022
;This gcode was specifically created for Mingda Magician Series printers.
;For other printers, use at your own risk, and understand each line below.
;This gcode will automatically Auto-tune hotend & bed temps..
;It will also automatically update PID info for each and save both to eeprom.
;No need to enter them manually.
;Actual run times (from cold) for estimate - Magician X - Print time: 6m 22s , Magician Max - Print time: 9m 48s
;Prior to Auto-tune, hotend will home, and then move to predetermined position
; 10/28/2022 - SK
; added section to wait for cool temps (30°C) before starting (ex: if autotune was just run, or preheat set, just finished print)
; 01/11/23 - SK
; removed cool down section - took way too long !
; changed hotend to 10 cycles
;------------------------------------------------------
;Auto-tune examples - https://marlinfw.org/docs/gcode/M303.html
;; Auto-tune hotend at 210 °C for 8 cycles and update settings (U1)
;; M303 E0 C8 S210 U1
;; Auto-tune bed at 60 °C for 8 cycles and update settings (U1)
;; M303 E-1 C8 S60 U1
; start
M300 S440 P200
M300 S660 P250
M300 S880 P300
G28 ; home all
G0 Z10 X50 Y50 F5000 ; move to Auto-tune position
;nozzle
M117 Auto tuning Nozzle now...
M300 S180 P20 ; tone
M106 ; part cooling fans on 100%.
M303 E0 C10 S195 U1 ; autotone nozzle - this is the line to change nozzle temp if need be.
M107 ; part cooling fans off.
M300 S180 P20 ; tone
;bed
M117 Auto tuning Bed now...
M300 S180 P20 ; tone
M303 E-1 C5 S60 U1 ; autotune bed - this is the line to change bed temp if need be.
M300 S180 P20
; save settings to eeprom
M117 Saving settings to eeprom
M500 ; save settings to eeprom
M117 Saved settings to eeprom
; return home
G28 ; home all
; Autotune(s) finished
M300 S440 P200
M300 S660 P250
M300 S880 P300
M117 Finished auto tuning.