Skip to content

Instantly share code, notes, and snippets.

@kylemarsh
Last active September 24, 2021 07:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kylemarsh/b998ffe20674783e31036bcf95600759 to your computer and use it in GitHub Desktop.
Save kylemarsh/b998ffe20674783e31036bcf95600759 to your computer and use it in GitHub Desktop.
Changes to Artemis 300 config.g to upgrade from RRFv2 to RRFv3
diff --git a/Artemis/system/config.g b/Artemis/system/config.g
index cf04275..1e5fe3a 100755
--- a/Artemis/system/config.g
+++ b/Artemis/system/config.g
@@ -5,13 +5,17 @@ M575 P1 B57600 S1 ; PanelDue Comm Setup
G21 ; Work in millimeters
G90 ; Send absolute coordinates
+M584 X0 Y1 Z2 E4:5 ; Set drive mapping
+
M569 P0 S0 ; Drive 0 goes forwards (X)
M569 P1 S0 ; Drive 1 goes forwards (Y)
M569 P2 S0 ; Drive 2 goes forwards (Z)
M569 P3 S1 ; Drive 3 goes forwards (E0)
M569 P4 S1 ; Drive 4 goes forwards (E1)
-M574 X2 Y2 Z2 S1 ; set end stop configuration (all end stops at high end, active high)
+M574 X2 S1 P"xstop" ; set end stop configuration (x-tower end stop at high end, active high)
+M574 Y2 S1 P"ystop" ; set end stop configuration (y-tower end stop at high end, active high)
+M574 Z2 S1 P"zstop" ; set end stop configuration (z-tower end stop at high end, active high)
;M665 R150 L351.1 B145 H530 X0 Y0 Z0 ; INJ. MOLDED ARMS delta radius, diagonal rod length, printable radius and homed height
M665 R150 L339.47 B145 H530 X0 Y0 Z0 ; CARBON FIBER ARMS delta radius, diagonal rod length, printable radius and homed height
@@ -27,13 +31,18 @@ M201 X2400 Y2400 Z2400 E5000 ; Accelerations (mm/s^2)
M203 X12000 Y12000 Z12000 E18000 ; Maximum speeds (mm/min)
M566 X500 Y500 Z500 E2000 ; Maximum instant speed changes mm/minute
-M106 P0 H-1 ; Part Cooling Fan
-M106 P2 T50 S0.7 H1 ; Heat sink fan
-
+M308 S0 P"bed_temp" Y"thermistor" A"Bed Temp" T100000 B4388 R4700 H30 L0 ; Bed thermistor
+M308 S1 P"e0_temp" Y"thermistor" A"Tool Temp" T100000 B4388 R4700 C7.06e-8 H30 L0 ; Hot end Thermistor
+M950 H0 C"bed_heat" T0 ; heater 0 uses the bed_heat pin, sensor 0
+M950 H1 C"e0_heat" T1 ; heater 1 uses the e0_heat pin, sensor 0
M307 H0 B0 ; Heated Bed (H2)
-M305 P0 T100000 B4388 R4700 H30 L0 ; Bed thermistor
+M140 H0 ; the bed heater is heater 0
+
+M950 F0 C"fan0" ; Part Cooling Fan
+M106 P0 H-1
+M950 F2 C"fan2" ; Heat sink fan
+M106 P2 T50 S0.7 H1
-M305 P1 T100000 B4388 R4700 C7.06e-8 H30 L0 ; Hot end Thermistor
M563 P0 D0 H1 ; Hot end (T0), drive (E0), heater (H1)
G10 P0 S0 R0 ; Hot end operating and standby temperatures
@@ -42,7 +51,7 @@ M563 P1 D1 H1 ; Hot end (T1), drive (E1), heater (H
G10 P1 S0 R0 ; Hot end (1) operating and standby temperatures
;STRAIN GAGE PROBE
-M558 P5 I0 A2 S0.05 R0.4 H20 F2500 ; Strain gauge probe settings
+M558 P5 C"z_probe.in" I0 A2 S0.05 R0.4 H20 F2500 ; Strain gauge probe settings
G31 P100 X0 Y0 Z-0.290 ; Probe trigger and offset values Glass Plate Only
;G31 P100 X0 Y0 Z-0.5 ; Probe trigger and offset values for FabLam Flex Spring Steel PEI on Glass
M557 R140 S30 ; defualt bed mapping
diff --git a/Artemis/system/homedelta.g b/Artemis/system/homedelta.g
index 747802e..ae014eb 100755
--- a/Artemis/system/homedelta.g
+++ b/Artemis/system/homedelta.g
@@ -1,6 +1,6 @@
G91 ; use relative positioning
-G1 S1 X750 Y750 Z750 F5000 ; move all carriages up, stopping at the endstops
-G1 S2 X-5 Y-5 Z-5 F500 ; move all towers down 5mm
-G1 S1 X8 Y8 Z8 F500 ; move towers slowly up 8mm, stopping at the endstops
-G1 S2 X-5 Y-5 Z-5 F500 ; move carriages down 5mm
+G1 H1 X750 Y750 Z750 F5000 ; move all carriages up, stopping at the endstops
+G1 H2 X-5 Y-5 Z-5 F500 ; move all towers down 5mm
+G1 H1 X8 Y8 Z8 F500 ; move towers slowly up 8mm, stopping at the endstops
+G1 H2 X-5 Y-5 Z-5 F500 ; move carriages down 5mm
G90 ; back to absolute positioning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment