Skip to content
Snippets Groups Projects
Unverified Commit 57b88007 authored by E3D-Online Ltd's avatar E3D-Online Ltd Committed by GitHub
Browse files

Add files via upload

parent b7a8e8aa
Branches
No related tags found
No related merge requests found
Showing with 319 additions and 0 deletions
; Bed Mesh Leveling
G1 S2 Z3 F5000 ; lift Z 3mm
G29
;disable mesh leveling, needs to be enabled at the start of your print and disabled again when finished.
G29 S2
; Park the head
G1 X150 Y-49 F50000
;Drop Bed
G91
G1 Z2 F2000
G90
;brush in
G1 X-32.5 Y124 F50000
G1 X-35.5 Y155 F50000
G1 X-38.5 Y124 F50000
G1 X-41.5 Y155 F50000
;Brush Out
G1 X-41.5 Y155 F50000
G1 X-32.5 Y150 F50000
G1 X-41.5 Y145 F50000
G1 X-32.5 Y140 F50000
G1 X-41.5 Y135 F50000
G1 X-32.5 Y130 F50000
G1 X-41.5 Y125 F50000
; purge tool
;M98 P"purge.g"
; park tool
T-1
; homeall.g
; called to home all axes
M98 P"homec.g" ; Home C (ToolHead)
M98 P"homey.g" ; Home Y
M98 P"homex.g" ; Home X
M98 P"homez.g" ; Home Z
G1 X150 Y-49 F15000 ; Park
\ No newline at end of file
; homec.g
; called to home the C axis (coupler)
G91
M400
;M913 C60 ; XY MOTORS TO 60% CURRENT
;G1 H2 C30 F5000
;M400
M913 C60 ; XY MOTORS TO 60% CURRENT
G1 H2 C-1000 F10000
G92 C-125
G90
M913 C100 ; XY MOTORS TO 100% CURRENT
G1 C0 F10000
;Open Coupler
M98 P"/macros/Coupler - Unlock"
\ No newline at end of file
; homex.g
; called to home the x axis
G91 ; use relative positioning
G1 H2 X0.5 Y-0.5 F10000 ; energise motors to ensure they are not stalled
M400 ; make sure everything has stopped before we change the motor currents
M913 X20 Y20 ; drop motor currents to 25%
M915 H200 X Y S3 R0 F0 ; set X and Y to sensitivity 3, do nothing when stall, unfiltered
G1 H2 Z3 F5000 ; lift Z 3mm
G1 H1 X-400 F3000 ; move left 400mm, stopping at the endstop
G1 H1 X2 F2000 ; move away from end
G1 H2 Z-3 F1200 ; lower Z
G90 ; back to absolute positioning
M400 ; make sure everything has stopped before we reset the motor currents
M913 X100 Y100 ; motor currents back to 100%
; homey.g
; called to home the Y axis
G91 ; use relative positioning
G1 H2 X0.5 Y-0.5 F10000 ; energise motors to ensure they are not stalled
M400 ; make sure everything has stopped before we change the motor currents
M913 X20 Y20 ; drop motor currents to 20%
M915 H200 X Y S3 R0 F0 ; set X and Y to sensitivity 3, do nothing when stall, unfiltered
G1 H2 Z3 F5000 ; lift Z 3mm
G1 H1 Y-400 F3000 ; move to the front 400mm, stopping at the endstop
G1 H1 Y2 F2000 ; move away from end
G1 H2 Z-3 F1200 ; lower Z
G90 ; back to absolute positioning
M400 ; make sure everything has stopped before we reset the motor currents
M913 X100 Y100 ; motor currents back to 100%
; homez.g
; called to home the Z axis
M98 P"/macros/Coupler - Unlock" ; Open Coupler
G91 ; Relative mode
G1 H2 Z5 F5000 ; Lower the bed
G90 ; back to absolute positioning
G1 X150 Y100 F50000 ; Position the endstop above the bed centre
M558 F1000
G30
M558 F300
G30
G91 ; use relative positioning
G1 S2 Z5 F5000 ; lift Z 5mm
G90 ; back to absolute positioning
G1 X-10 Y200 F50000 ; move out the way.
;brush in
G1 X-32.5 Y124 F50000
G1 X-35.5 Y155 F50000
G1 X-38.5 Y124 F50000
G1 X-41.5 Y155 F50000
;Park for prime/purge
G1 X-37.5 Y176 F50000
;Prime
G92 E0
G1 E10 F200
G1 F50
G1 E5 F50
G1 E-0.25 F200
G92 E0
;G4 S2
;Run Out
G1 X-37.5 Y160 F50000
;Brush Out
G1 X-41.5 Y155 F50000
G1 X-32.5 Y150 F50000
G1 X-41.5 Y145 F50000
G1 X-32.5 Y140 F50000
G1 X-41.5 Y135 F50000
G1 X-32.5 Y130 F50000
G1 X-41.5 Y125 F50000
;brush in
G1 X-41.5 Y125 F50000
G1 X-32.5 Y130 F50000
G1 X-41.5 Y135 F50000
G1 X-32.5 Y140 F50000
G1 X-41.5 Y145 F50000
G1 X-32.5 Y150 F50000
G1 X-41.5 Y155 F50000
;Park for prime/purge
G1 X-37.5 Y176 F50000
;Purge
G92 E0
G1 F200
G1 E12 F200
G92 E0
G1 E-8 F2750
G4 S4
;Run Out
G1 X-37.5 Y160 F50000
;Brush Out
G1 X-41.5 Y155 F50000
G1 X-38.5 Y124 F50000
G1 X-35.5 Y155 F50000
G1 X-32.5 Y124 F50000
; Resume macro file
; TODO do a prime/wipe cycle here to get rid of any filament that has oozed out
G1 R1 X0 Y0 Z2 F5000 ; go to 5mm above position of the last print move
G1 R1 X0 Y0 Z0 ; go back to the last print move
M83 ; relative extruder moves
G1 E3 F3600 ; extrude 3mm of filament
\ No newline at end of file
; sleep.g
; called when M1 (Sleep) is being processed
; stop.g
; called when M0 (Stop) is run (e.g. when a print from SD card is cancelled)
; tfree0.g
; called when tool 0 is freed
;Drop the bed
G91
G1 Z4 F1000
G90
;Purge nozzle
;M98 P"purge.g"
;Move In
G53 G1 X-10.5 Y150 F50000
G53 G1 X-10.5 Y200 F50000
G53 G1 X-10.5 Y220 F50000
G53 G1 X-10.5 Y242 F5000
;Open Coupler
M98 P"/macros/Coupler - Unlock"
;fan off
M106 P2 S0
;Move Out
G53 G1 X-10.5 Y175 F50000
; tfree1.g
; called when tool 1 is freed
;Drop the bed
G91
G1 Z4 F1000
G90
;Purge nozzle
;M98 P"purge.g"
;Move In
G53 G1 X79.5 Y150 F50000
G53 G1 X79.5 Y200 F50000
G53 G1 X79.5 Y220 F50000
G53 G1 X79.5 Y242 F5000
;Open Coupler
M98 P"/macros/Coupler - Unlock"
;fan off
M106 P4 S0
;Move Out
G53 G1 X79.5 Y175 F50000
; tfree2.g
; called when tool 2 is freed
;Drop the bed
G91
G1 Z4 F1000
G90
;Purge nozzle
;M98 P"purge.g"
;Move In
G53 G1 X214.5 Y150 F50000
G53 G1 X214.5 Y200 F50000
G53 G1 X214.5 Y220 F50000
G53 G1 X214.5 Y243 F5000
;Open Coupler
M98 P/macros/Coupler - Unlock
;fan off
M106 P6 S0
;Move Out
G53 G1 X214.5 Y175 F50000
; tfree3.g
; called when tool 3 is freed
;Drop the bed
G91
G1 Z4 F1000
G90
;Purge nozzle
;M98 P"purge.g"
;Move In
G53 G1 X304.5 Y150 F50000
G53 G1 X304.5 Y200 F50000
G53 G1 X304.5 Y220 F50000
G53 G1 X304.5 Y243 F5000
;Open Coupler
M98 P"/macros/Coupler - Unlock"
;fan off
M106 P8 S0
;Move Out
G53 G1 X304.5 Y175 F50000
; tpost0.g
; called after tool 0 has been selected
;heatup
M116 P0
;prime nozzle
;M98 P"prime.g"
M106 R1 ; restore print cooling fan speed
\ No newline at end of file
; tpost1.g
; called after tool 1 has been selected
;heatup
M116 P1
;prime nozzle
;M98 P"prime.g"
M106 R1 ; restore print cooling fan speed
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment