-
Notifications
You must be signed in to change notification settings - Fork 33
/
Z Offset Calibration.txt
132 lines (125 loc) · 6.44 KB
/
Z Offset Calibration.txt
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
#define USER_DESC_3 "PLA Z Calibration"
#define USER_GCODE_3 "G28\nM107\nM140 S60\nM190 S60\nM104 S160\nM109 S160\nG29\nG1 X2.0 Y-2.0 Z0.60\nM104 S205\nM109 S205\nM0 Click to continue\nG92 E0.00\nG1 Z0.15 X60 E9.0 F1000.0\nG1 X100.0 E12.5 F1000.0\nG92 E0.0\nG21\nG90\nM83\nG1 E-1.50000 F2100.00000\nG1 Z0.150 F7200.000\nM204 S1000\nG1 F4000\nG1 X50 Y155\nG1 F1080\nG1 X75 Y155 E2.5\nG1 X100 Y155 E2\nG1 X200 Y155 E2.62773\nG1 X200 Y135 E0.66174\nG1 X50 Y135 E3.62773\nG1 X50 Y115 E0.49386\nG1 X200 Y115 E3.62773\nG1 X200 Y95 E0.49386\nG1 X50 Y95 E3.62773\nG1 X50 Y75 E0.49386\nG1 X200 Y75 E3.62773\nG1 X200 Y55 E0.49386\nG1 X50 Y55 E3.62773\nG1 X50 Y35 E0.49386\nG1 X70 Y35 E0.49386\nG1 X70 Y34.6 E0\nG1 X50 Y34.6 E0.49386\nG1 X50 Y34.2 E0\nG1 X70 Y34.2 E0.49386\nG1 X70 Y33.8 E0\nG1 X50 Y33.8 E0.49386\nG1 X50 Y33.4 E0\nG1 X70 Y33.4 E0.49386\nG1 X70 Y33.0 E0\nG1 X50 Y33.0 E0.49386\nG1 X50 Y32.6 E0\nG1 X70 Y32.6 E0.49386\nG1 X70 Y32.2 E0\nG1 X50 Y32.2 E0.49386\nG1 X50 Y31.8 E0\nG1 X70 Y31.8 E0.49386\nG1 X70 Y31.4 E0\nG1 X50 Y31.4 E0.49386\nG1 X50 Y31.0 E0\nG1 X70 Y31.0 E0.49386\nG1 X70 Y30.6 E0\nG1 X50 Y30.6 E0.49386\nG1 X50 Y30.2 E0\nG1 X70 Y30.2 E0.49386\nG1 X70 Y29.8 E0\nG1 X50 Y29.8 E0.49386\nG1 X50 Y29.4 E0\nG1 X70 Y29.4 E0.49386\nG1 X70 Y29.0 E0\nG1 X50 Y29.0 E0.49386\nG1 X50 Y28.6 E0\nG1 X70 Y28.6 E0.49386\nG1 X70 Y28.2 E0\nG1 X50 Y28.2 E0.49386\nG1 X50 Y27.8 E0\nG1 X70 Y27.8 E0.49386\nG1 X70 Y27.4 E0\nG1 X50 Y27.4 E0.49386\nG1 X50 Y27.0 E0\nG1 X70 Y27.0 E0.49386\nG1 X70 Y26.6 E0\nG1 X50 Y26.6 E0.49386\nG1 X50 Y26.2 E0\nG1 X70 Y26.2 E0.49386\nG1 X70 Y25.8 E0\nG1 X50 Y25.8 E0.49386\nG1 X50 Y25.4 E0\nG1 X70 Y25.4 E0.49386\nG1 X70 Y25.0 E0\nG1 X50 Y25.0 E0.49386\nG1 E-0.07500 F2100.00000\nG4\nM107\nM104 S0\nM140 S0\nG1 X10 Y180 F4000\nG1 Z10 F1300.000\nM500\nM0 Happy Printing\nM84"
#define USER_DESC_4 "PETG Z Calibration"
#define USER_GCODE_4 "G28\nM107\nM140 S80\nM190 S80\nM104 S160\nM109 S160\nG29\nG1 X2.0 Y-2.0 Z0.60\nM104 S245\nM109 S245\nM0 Click to continue\nG92 E0.00\nG1 Z0.15 X60 E9.0 F1000.0\nG1 X100.0 E12.5 F1000.0\nG92 E0.0\nG21\nG90\nM83\nG1 E-1.50000 F2100.00000\nG1 Z0.150 F7200.000\nM204 S1000\nG1 F4000\nG1 X50 Y155\nG1 F1080\nG1 X75 Y155 E2.5\nG1 X100 Y155 E2\nG1 X200 Y155 E2.62773\nG1 X200 Y135 E0.66174\nG1 X50 Y135 E3.62773\nG1 X50 Y115 E0.49386\nG1 X200 Y115 E3.62773\nG1 X200 Y95 E0.49386\nG1 X50 Y95 E3.62773\nG1 X50 Y75 E0.49386\nG1 X200 Y75 E3.62773\nG1 X200 Y55 E0.49386\nG1 X50 Y55 E3.62773\nG1 X50 Y35 E0.49386\nG1 X70 Y35 E0.49386\nG1 X70 Y34.6 E0\nG1 X50 Y34.6 E0.49386\nG1 X50 Y34.2 E0\nG1 X70 Y34.2 E0.49386\nG1 X70 Y33.8 E0\nG1 X50 Y33.8 E0.49386\nG1 X50 Y33.4 E0\nG1 X70 Y33.4 E0.49386\nG1 X70 Y33.0 E0\nG1 X50 Y33.0 E0.49386\nG1 X50 Y32.6 E0\nG1 X70 Y32.6 E0.49386\nG1 X70 Y32.2 E0\nG1 X50 Y32.2 E0.49386\nG1 X50 Y31.8 E0\nG1 X70 Y31.8 E0.49386\nG1 X70 Y31.4 E0\nG1 X50 Y31.4 E0.49386\nG1 X50 Y31.0 E0\nG1 X70 Y31.0 E0.49386\nG1 X70 Y30.6 E0\nG1 X50 Y30.6 E0.49386\nG1 X50 Y30.2 E0\nG1 X70 Y30.2 E0.49386\nG1 X70 Y29.8 E0\nG1 X50 Y29.8 E0.49386\nG1 X50 Y29.4 E0\nG1 X70 Y29.4 E0.49386\nG1 X70 Y29.0 E0\nG1 X50 Y29.0 E0.49386\nG1 X50 Y28.6 E0\nG1 X70 Y28.6 E0.49386\nG1 X70 Y28.2 E0\nG1 X50 Y28.2 E0.49386\nG1 X50 Y27.8 E0\nG1 X70 Y27.8 E0.49386\nG1 X70 Y27.4 E0\nG1 X50 Y27.4 E0.49386\nG1 X50 Y27.0 E0\nG1 X70 Y27.0 E0.49386\nG1 X70 Y26.6 E0\nG1 X50 Y26.6 E0.49386\nG1 X50 Y26.2 E0\nG1 X70 Y26.2 E0.49386\nG1 X70 Y25.8 E0\nG1 X50 Y25.8 E0.49386\nG1 X50 Y25.4 E0\nG1 X70 Y25.4 E0.49386\nG1 X70 Y25.0 E0\nG1 X50 Y25.0 E0.49386\nG1 X50 Y24.6 E0\nG1 X70 Y24.6 E0.49386\nG1 X70 Y24.2 E0\nG1 X50 Y24.2 E0.49386\nG1 X50 Y23.8 E0\nG1 X70 Y23.8 E0.49386\nG1 X70 Y23.4 E0\nG1 X50 Y23.4 E0.49386\nG1 X50 Y23.0 E0\nG1 X70 Y23.0 E0.49386\nG1 X70 Y22.6 E0\nG1 X50 Y22.6 E0.49386\nG1 X50 Y22.2 E0\nG1 X70 Y22.2 E0.49386\nG1 X70 Y21.8 E0\nG1 X50 Y21.8 E0.49386\nG1 X50 Y21.4 E0\nG1 X70 Y21.4 E0.49386\nG1 X70 Y21.0 E0\nG1 X50 Y21.0 E0.49386\nG1 X50 Y20.6 E0\nG1 X70 Y20.6 E0.49386\nG1 X70 Y20.2 E0\nG1 X50 Y20.2 E0.49386\nG1 X50 Y19.8 E0\nG1 X70 Y19.8 E0.49386\nG1 X70 Y19.4 E0\nG1 X50 Y19.4 E0.49386\nG1 E-0.07500 F2100.00000\nG4\nM107\nM104 S0\nM140 S0\nG1 X10 Y180 F4000\nG1 Z10 F1300.000\nM500\nM0 Happy Printing\nM84"
The actual gcode:
M107
M104 S205
M140 S60
M190 S60
M109 S205
G29 ;
G92 E0.0
G1 Z0.2 Y2.0 X60.0 E9.0 F1000.0
G1 X100.0 E12.5 F1000.0
G92 E0.0
G21 ; set units to millimeters
G90 ; use absolute coordinates
M83 ; use relative distances for extrusion
G1 E-1.50000 F2100.00000
G1 Z0.150 F7200.000
M204 S1000
G1 F4000
G1 X50 Y155
G1 F1080
G1 X75 Y155 E2.5
G1 X100 Y155 E2
G1 X200 Y155 E2.62773
G1 X200 Y135 E0.66174
G1 X50 Y135 E3.62773
G1 X50 Y115 E0.49386
G1 X200 Y115 E3.62773
G1 X200 Y95 E0.49386
G1 X50 Y95 E3.62773
G1 X50 Y75 E0.49386
G1 X200 Y75 E3.62773
G1 X200 Y55 E0.49386
G1 X50 Y55 E3.62773
G1 X50 Y35 E0.49386
G1 X70 Y35 E0.49386
G1 X70 Y34.6 E0
G1 X50 Y34.6 E0.49386
G1 X50 Y34.2 E0
G1 X70 Y34.2 E0.49386
G1 X70 Y33.8 E0
G1 X50 Y33.8 E0.49386
G1 X50 Y33.4 E0
G1 X70 Y33.4 E0.49386
G1 X70 Y33.0 E0
G1 X50 Y33.0 E0.49386
G1 X50 Y32.6 E0
G1 X70 Y32.6 E0.49386
G1 X70 Y32.2 E0
G1 X50 Y32.2 E0.49386
G1 X50 Y31.8 E0
G1 X70 Y31.8 E0.49386
G1 X70 Y31.4 E0
G1 X50 Y31.4 E0.49386
G1 X50 Y31.0 E0
G1 X70 Y31.0 E0.49386
G1 X70 Y30.6 E0
G1 X50 Y30.6 E0.49386
G1 X50 Y30.2 E0
G1 X70 Y30.2 E0.49386
G1 X70 Y29.8 E0
G1 X50 Y29.8 E0.49386
G1 X50 Y29.4 E0
G1 X70 Y29.4 E0.49386
G1 X70 Y29.0 E0
G1 X50 Y29.0 E0.49386
G1 X50 Y28.6 E0
G1 X70 Y28.6 E0.49386
G1 X70 Y28.2 E0
G1 X50 Y28.2 E0.49386
G1 X50 Y27.8 E0
G1 X70 Y27.8 E0.49386
G1 X70 Y27.4 E0
G1 X50 Y27.4 E0.49386
G1 X50 Y27.0 E0
G1 X70 Y27.0 E0.49386
G1 X70 Y26.6 E0
G1 X50 Y26.6 E0.49386
G1 X50 Y26.2 E0
G1 X70 Y26.2 E0.49386
G1 X70 Y25.8 E0
G1 X50 Y25.8 E0.49386
G1 X50 Y25.4 E0
G1 X70 Y25.4 E0.49386
G1 X70 Y25.0 E0
G1 X50 Y25.0 E0.49386
G1 X50 Y24.6 E0
G1 X70 Y24.6 E0.49386
G1 X70 Y24.2 E0
G1 X50 Y24.2 E0.49386
G1 X50 Y23.8 E0
G1 X70 Y23.8 E0.49386
G1 X70 Y23.4 E0
G1 X50 Y23.4 E0.49386
G1 X50 Y23.0 E0
G1 X70 Y23.0 E0.49386
G1 X70 Y22.6 E0
G1 X50 Y22.6 E0.49386
G1 X50 Y22.2 E0
G1 X70 Y22.2 E0.49386
G1 X70 Y21.8 E0
G1 X50 Y21.8 E0.49386
G1 X50 Y21.4 E0
G1 X70 Y21.4 E0.49386
G1 X70 Y21.0 E0
G1 X50 Y21.0 E0.49386
G1 X50 Y20.6 E0
G1 X70 Y20.6 E0.49386
G1 X70 Y20.2 E0
G1 X50 Y20.2 E0.49386
G1 X50 Y19.8 E0
G1 X70 Y19.8 E0.49386
G1 X70 Y19.4 E0
G1 X50 Y19.4 E0.49386
G1 E-0.07500 F2100.00000
G4
M107
M104 S0 ; turn off temperature
M140 S0 ; turn off heatbed
G1 X10 Y180 F4000 ; home X axis
G1 Z10 F1300.000
M84 ; disable motors