blob: cf68e8992880813709d19c030e7a2c04561d786c (
plain)
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
|
; Input file name: [input_filename]
; Printer preset: [printer_preset]
; Filament preset: [filament_preset]
; Print preset: [print_preset]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Begin LulzBot TAZ 6 Dual Extruder v3 start G-code ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Initialization, homing, and retraction
;
; Set units, positioning modes, and extruder origin
M73 P0 ; Set LCD print progress to 0%
M75 ; Start print job timer
G26 ; Clear any "PROBE FAIL" (needed? see T372)
G90 ; Set absolute positioning mode
M204 S500 ; Set acceleration
M82 ; Set E absolute mode (override G91)
M420 S0 ; Disable bed leveling with previous matrix
; Begin heating hotend to retraction temperature
M107 ; Turn off the print cooling fan
M104 S<retraction_temperature> T0 ; Set hotend temperature without waiting
M104 S<retraction_temperature> T1 ; Set hotend temperature without waiting
M140 S[first_layer_bed_temperature] ; Set bed temperature without waiting
; While waiting for the hotend to heat, auto-home the axes
M117 Homing all axes...
G28 ; Auto-home all axes
M109 R<retraction_temperature> T0 ; Wait for hotend temperature
M109 R<retraction_temperature> T1 ; Wait for hotend temperature
; Retract filament and move Y toward wiping pad (Z_SAFE_HOMING_Y_POINT - 30 mm)
M117 Retracting...
T0 ; Target extruder 0
G92 E0 ; Set extruder position to 0 (origin)
G1 Y243 E-15 F100 ; Retract and move toward wiping pad
T1 ; Target extruder 1
G92 E0 ; Set extruder position to 0 (origin)
G1 Y228 E-15 F100 ; Retract and move toward wiping pad
;
; Wiping
;
; Begin heating hotend to wiping temperature
M104 S<wiping_temperature> T0 ; Set hotend temperature without waiting
M104 S<wiping_temperature> T1 ; Set hotend temperature without waiting
M400 ; Don't show status until retracted
; While waiting for the hotend to heat, position the nozzle over the wiping pad
M117 Moving to wipe...
G1 X-19 Y100 F3000 ; Move nozzle over wiping pad
M109 R<wiping_temperature> ; Wait for hotend temperature
; Wipe the nozzle
M117 Wiping nozzle...
G1 Z1 F3000 ; Push nozzle into wiping pad
G1 X-19 Y95 F1000
G1 X-19 Y90 F1000
G1 X-19 Y85 F1000
G1 X-17 Y90 F1000
G1 X-19 Y80 F1000
G1 X-17 Y95 F1000
G1 X-19 Y75 F2000
G1 X-17 Y65 F2000
G1 X-19 Y70 F2000
G1 X-17 Y60 F2000
G1 X-19 Y55 F2000
G1 X-17 Y50 F2000
G1 X-19 Y40 F2000
G1 X-17 Y45 F2000
G1 X-19 Y35 F2000
G1 X-17 Y40 F2000
G1 X-19 Y70 F2000
G1 X-17 Y30 Z2 F2000
G1 X-19 Y35 F2000
G1 X-17 Y25 F2000
G1 X-19 Y30 F2000
G1 X-17 Y25 Z1.5 F1000
G1 X-19 Y23 F1000
G1 X-17 Z15 F1000 ; Lift out of wiping pad
M400 ; Don't heat or show status until wiped
;
; Probing
;
; Begin heating hotend to probing temperature
M104 S<probing_temperature> T0 ; Set hotend temperature without waiting
M104 S<probing_temperature> T1 ; Set hotend temperature without waiting
; While waiting, move to (LEFT_PROBE_BED_POSITION, FRONT_PROBE_BED_POSITION)
M117 Moving to probe...
G1 X-3 Y-9 ; Move over front left bed-leveling washer
M400 ; Don't show status until moved
M109 R<probing_temperature> T0 ; Wait for hotend temperature
M109 R<probing_temperature> T1 ; Wait for hotend temperature
; Probe the bed and enable bed-leveling compensation
M117 Probing bed...
M204 S100 ; Set acceleration for probing moves
G29 ; Probe the bed
M204 S500 ; Set acceleration back to normal
M420 S1 ; Enable bed leveling with new matrix
G1 Z10 F5000 ; Lift off the bed-leveling washer
;
; Printing
;
; Begin heating hotend to first layer temperature
M104 S[first_layer_temperature] T0 ; Set hotend temperature without waiting
M104 S[first_layer_temperature] T1 ; Set hotend temperature without waiting
M400 ; Don't show status until done probing
; While waiting for the hotend to heat, position the nozzle and pause
M117 Moving off probe...
G1 X0 Y0 Z15 F5000 ; Move above and away from last washer
M400 ; Don't show status until moved
; Ensure the hotend and bed are at the first layer temperatures
M109 R[first_layer_temperature] T0 ; Wait for hotend temperature
M109 R[first_layer_temperature] T1 ; Wait for hotend temperature
M190 S[first_layer_bed_temperature] ; Wait for bed temperature
; Extrude filament back into the nozzle
M117 Priming nozzle...
T0 ; Target extruder 0
G92 E-15 ; (No-op) Keep retration extruder position
G1 Z8.5 E0 F100 ; Slowly extrude filament back into nozzle
T1 ; Target extruder 1
G92 E-15 ; Restore retration extruder position
G1 Z2 E0 F100 ; Slowly extrude filament back into nozzle
M400 ; Don't show status until primed
M117 Printing...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; End LulzBot TAZ 6 Dual Extruder v3 start G-code ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|