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 PETG 230-80.gcode
57 lines (47 loc) · 1.69 KB
/
autotune PETG 230-80.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
; ##########################################################
; -- Last Revision: 20230708.1
; -- Original: 10/18/2022
; -- autotune PETG - Steve Kenney
; ##########################################################
;------------------------------------------------------
;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.
;Prior to Auto-tune, hotend will home, and then move to predetermined position
;------------------------------------------------------
;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 S230 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 S80 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.