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

Delete sys directory

parent 648746b3
No related branches found
No related tags found
No related merge requests found
; Bed Mesh Leveling
G28 Z
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
; Disable Mesh Compensation.
G29 S2
; purge tool
;M98 Ppurge.g
; park tool
T-1
; Heaters off
;M0
; Configurat; Configuration file for Duet WiFi / Ethernet
; executed by the firmware on start-up
; General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin
; Network
; Read https://duet3d.dozuki.com/Wiki/Gcode#Section_M587_Add_WiFi_host_network_to_remembered_list_or_list_remembered_networks
M550 P"ToolChanger" ; Set machine name
M552 S1 ; Enable Networking
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet
M667 S1 ; Select CoreXY mode
; Endstops
M574 X1 Y1 S3 ; Set X / Y endstop stall detection
M574 Z1 S2 ; Set Z endstop probe
M558 P7 X0 Y0 Z2 H3 F360 I0 T20000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
G31 P200 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
M557 X10:290 Y20:180 S40 ; Define mesh grid
; Drive direction
M569 P0 S0 ; Drive 0 X
M569 P1 S0 ; Drive 1 Y
M569 P2 S1 ; Drive 2 Z
M569 P3 S0 ; Drive 3 E0
M569 P4 S0 ; Drive 4 E1
M569 P5 S1 ; Drive 5 E2
M569 P6 S1 ; Drive 6 E3
M569 P7 S0 ; Drive 7 COUPLER
M569 P8 S0 ; Drive 8 UNUSED
M569 P9 S0 ; Drive 9 UNUSED
M584 X0 Y1 Z2 C7 E3:4:5:6 ; Apply custom drive mapping
M208 X-35:328.5 Y-49:243 Z0:300 C0:260 S0 ; Set axis maxima & minima
M350 C8 I0 ; Configure microstepping without interpolation
M350 X16 Y16 Z16 E16:16:16:16 I1 ; Configure microstepping with interpolation
M92 X100 Y100 Z1600 C100 E834:834:834:834 ; Set steps per mm
M566 X400 Y400 Z8 C2 E2:2:2:2 ; Set maximum instantaneous speed changes (mm/min)
M203 X35000 Y35000 Z1200 C5000 E5000:5000:5000:5000 ; Set maximum speeds (mm/min)
M201 X6000 Y6000 Z400 C400 E2500:2500:2500:2500 ; Set accelerations (mm/s^2)
M906 X2000 Y2000 Z1330 C400 E1680:1680:1680:1680 I30 ; Set motor currents (mA) and motor idle factor in percent
M84 S120 ; Set idle timeout
;Stall Detection
M915 C S5 F0 H200 ; Coupler
;Stall Detection
M915 X Y S5 F0 H400 ; X / Y Axes
; Heaters
M305 P0 T100000 B4725 C7.06e-8 ; Set thermistor
M143 H0 S225 ; Set temperature limit for heater 0 to 225C
M305 S"T0" P1 T100000 B4725 C7.06e-8 ; Set thermistor
M143 H1 S300 ; Set temperature limit for heater 1 to 300C
M305 S"T1" P2 T100000 B4725 C7.06e-8 ; Set thermistor
M143 H2 S300 ; Set temperature limit for heater 2 to 300C
M305 S"T2" P3 T100000 B4725 C7.06e-8 ;Set thermistor
M143 H3 S300 ; Set temperature limit for heater 3 to 300C
M305 S"T3" P4 T100000 B4725 C7.06e-8 ; Set thermistor
M143 H4 S300 ; Set temperature limit for heater 4 to 300C
; Tools
M563 P0 S"T0" D0 H1 F2 ; Define tool 0
G10 P0 X0 Y0 Z0 ; Reset tool 0 axis offsets
G10 P0 R0 S0 ; Reset initial tool 0 active and standby temperatures to 0C
M563 P1 S"T1" D1 H2 F4 ; Define tool 1
G10 P1 X0 Y0 Z0 ; Reset tool 1 axis offsets
G10 P1 R0 S0 ; Reset initial tool 1 active and standby temperatures to 0C
M563 P2 S"T2" D2 H3 F6 ; Define tool 2
G10 P2 X0 Y0 Z0 ; Reset tool 2 axis offsets
G10 P2 R0 S0 ; Reset initial tool 2 active and standby temperatures to 0C
M563 P3 S"T3" D3 H4 F8 ; Define tool 3
G10 P3 X0 Y0 Z0 ; Reset tool 3 axis offsets
G10 P3 R0 S0 ; Reset initial tool 3 active and standby temperatures to 0C
; Fans
M106 P0 S0 ; UNUSED
M106 P1 S255 H1 T70 ; T0 HE
M106 P2 S0 ; T0 PCF
M106 P3 S255 H2 T70 ; T1 HE
M106 P4 S0 ; T1 PCF
M106 P5 S255 H3 T70 ; T2 HE
M106 P6 S0 ; T2 PCF
M106 P7 S255 H4 T70 ; T3 HE
M106 P8 S0 ; T3 PCF
M593 F50 ; cancel ringing at 50Hz (https://forum.e3d-online.com/threads/accelerometer-and-resonance-measurements-of-the-motion-system.3445/)
;M376 H15 ; bed compensation taper
;tool offsets
; !ESTIMATED! offsets for:
; V6-tool: X-9 Y39 Z-5
; Volcano-tool: X-9 Y39 Z-13.5
; Hemera-tool: X-37.5 Y43.5 Z-6
G10 P0 X-9 Y39 Z-5 ; T0
G10 P1 X-9 Y39 Z-5 ; T1
G10 P2 X-9 Y39 Z-5 ; T2
G10 P3 X-9 Y39 Z-5 ; T3
;deselect tools
T-1
;M572 D0 S0.2 ; pressure advance T0
;M572 D1 S0.2 ; pressure advance T1
;M572 D2 S0.2 ; pressure advance T2
;M572 D3 S0.2 ; pressure advance T3
M501; load config-override.g
; homeall.g
; called to home all axes
M98 Phomec.g ; Home C (ToolHead)
M98 Phomey.g ; Home Y
M98 Phomex.g ; Home X
M98 Phomez.g ; Home Z
G1 X150 Y-47 F15000 ; Park
; homec.g
; called to home the C axis (coupler)
;crashc
G92 C260
M913 C40 ; C MOTOR TO 40% CURRENT
G1 C-260 F2400 ; drive the C-axis to the stop
M913 C100 ; C MOTOR TO 100% CURRENT
G1 C1 F50000
G92 C0
;Open Coupler
M98 P/macros/Coupler - Unlock
; homex.g
; called to home the x axis
G91 ; use relative positioning
G1 S2 X0.5 Y-0.5 F10000 ; energise to avaoid false triggers during sensorless homing
M400 ; make sure everything has stopped before we make changes
G4 P100 ; wait 100ms
M913 X25 Y25 ; drop motor currents to 50%
M915 H200 X Y S4 R0 F0 ; set X and Y to sensitivity 3, do nothing when stall, unfiltered
G1 S2 Z3 F5000 ; lift Z 3mm
G1 S1 X-400 F3000 ; move left 400mm, stopping at the endstop
G1 S1 X2 F2000 ; move away from end
G1 S2 Z-3 F1200 ; lower Z
G90 ; back to absolute positioning
M400 ; make sure everything has stopped before we reset the motor currents
G4 P100 ; wait 100ms
M913 X100 Y100 ; motor currents back to 100%
; homey.g
; called to home the Y axis
G91 ; use relative positioning
G1 S2 X0.5 Y-0.5 F10000 ; energise to avaoid false triggers during sensorless homing
M400 ; make sure everything has stopped before we make changes
G4 P100 ; wait 100ms
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 S2 Z3 F5000 ; lift Z 3mm
G1 S1 Y-400 F3000 ; move to the front 400mm, stopping at the endstop
G1 S1 Y2 F2000 ; move away from end
G1 S2 Z-3 F1200 ; lower Z
G90 ; back to absolute positioning
M400 ; make sure everything has stopped before we reset the motor currents
G4 P100 ; wait 100ms
M913 X100 Y100 ; motor currents back to 100%
; homez.g
; called to home the Z axis
T-1 ;just in case there is a tool coupled, go try to drop it at the dock
M98 P/macros/Coupler - Unlock ;Open Coupler
G91 ; Relative mode
G1 S2 Z5 F5000 ; Lower the bed
G90 ; back to absolute positioning
G1 X150 Y100 F50000 ; Position the endstop above the bed centre
G91 ; Relative mode
G4 P500 ; wait 500msec
G1 Z-300 S1 F1000 ; Move Z down until the switch triggers (first pass)
G4 P500 ; wait 500msec
G1 Z5 F5000 ; Lift Z
G4 P500 ; wait 500msec
G1 Z-300 S1 F300 ; Move Z down until the switch triggers (second pass)
G4 P500 ; wait 500msec
G1 Z5 F5000 ; Drop the Bed
G90 ; Back to absolute positioning
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
; tfree0.g
; called when tool 0 is freed
;Drop the bed
G91
G1 Z4 F1000
G90
;mesh levelling off
G29 S2
;Purge nozzle
;M98 Ppurge.g
;Move In
G53 G1 X-10.5 Y150 F50000
G53 G1 Y220 F50000
G53 G1 Y242 F5000
;Open Coupler
M98 P/macros/Coupler - Unlock
;fan off
M106 P2 S0
;Move Out
G53 G1 Y175 F50000
; tfree1.g
; called when tool 1 is freed
;Drop the bed
G91
G1 Z4 F1000
G90
;mesh levelling off
G29 S2
;Purge nozzle
;M98 Ppurge.g
;Move In
G53 G1 X79.5 Y150 F50000
G53 G1 Y220 F50000
G53 G1 Y242 F5000
;Open Coupler
M98 P/macros/Coupler - Unlock
;fan off
M106 P4 S0
;Move Out
G53 G1 Y175 F50000
; tfree2.g
; called when tool 2 is freed
;Drop the bed
G91
G1 Z4 F1000
G90
;mesh levelling off
G29 S2
;Purge nozzle
;M98 Ppurge.g
;Move In
G53 G1 X214.5 Y150 F50000
G53 G1 Y220 F50000
G53 G1 Y242 F5000
;Open Coupler
M98 P/macros/Coupler - Unlock
;fan off
M106 P6 S0
;Move Out
G53 G1 Y175 F50000
; tfree3.g
; called when tool 3 is freed
;Drop the bed
G91
G1 Z4 F1000
G90
;mesh levelling off
G29 S2
;Purge nozzle
;M98 Ppurge.g
;Move In
G53 G1 X304.5 Y150 F50000
G53 G1 Y220 F50000
G53 G1 Y242 F5000
;Open Coupler
M98 P/macros/Coupler - Unlock
;fan off
M106 P8 S0
;Move Out
G53 G1 Y175 F50000
; tpost0.g
; called after tool 0 has been selected
;heatup
M116 P0
;prime nozzle
;M98 Pprime.g
;mesh levelling on
G29 S1
;PCF fan on
M106 P2 R2
; tpost1.g
; called after tool 1 has been selected
;heatup
M116 P1
;prime nozzle
;M98 Pprime.g
;mesh levelling on
G29 S1
;PCF fan on
M106 P4 R2
; tpost2.g
; called after tool 2 has been selected
;heatup
M116 P2
;prime nozzle
;M98 Pprime.g
;mesh levelling on
G29 S1
;PCF fan on
M106 P6 R2
; tpost3.g
; called after tool 3 has been selected
;heatup
M116 P3
;prime nozzle
;M98 Pprime.g
;mesh levelling on
G29 S1
;PCF fan on
M106 P8 R2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment