aboutsummaryrefslogtreecommitdiffstats
path: root/config/sample-multi-extruder.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-11-24 20:39:21 -0500
committerKevin O'Connor <kevin@koconnor.net>2019-12-10 14:24:34 -0500
commitcff24b0220ffbfe3fe965ea87eb512a898260249 (patch)
treea77f69071f56a45c1ec38c8eca65b9d16ec42607 /config/sample-multi-extruder.cfg
parentfcee27fc190fbba2b8d1278c1ee2c4dddc50342b (diff)
downloadkutter-cff24b0220ffbfe3fe965ea87eb512a898260249.tar.gz
kutter-cff24b0220ffbfe3fe965ea87eb512a898260249.tar.xz
kutter-cff24b0220ffbfe3fe965ea87eb512a898260249.zip
config: Add multi extruder sample files
Add sample-multi-extruder.cfg and sample-idex.cfg files. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/sample-multi-extruder.cfg')
-rw-r--r--config/sample-multi-extruder.cfg61
1 files changed, 61 insertions, 0 deletions
diff --git a/config/sample-multi-extruder.cfg b/config/sample-multi-extruder.cfg
new file mode 100644
index 00000000..3809d424
--- /dev/null
+++ b/config/sample-multi-extruder.cfg
@@ -0,0 +1,61 @@
+# This file contains a configuration snippet for a printer using two
+# extruders that are selected by a servo.
+
+# See example.cfg and example-extras.cfg for a description of
+# available parameters.
+
+# The primary extruder
+[extruder]
+step_pin: ar26
+dir_pin: ar28
+enable_pin: !ar24
+step_distance: .004242
+nozzle_diameter: 0.500
+filament_diameter: 3.500
+heater_pin: ar10
+sensor_type: EPCOS 100K B57560G104F
+sensor_pin: analog13
+control: pid
+pid_Kp: 22.2
+pid_Ki: 1.08
+pid_Kd: 114
+min_temp: 0
+max_temp: 210
+
+# Script to change back to the main extruder
+[gcode_macro T0]
+gcode:
+ SET_SERVO SERVO=extruder_servo angle=100 # Lift secondary extruder
+ SET_GCODE_OFFSET Z=0 MOVE=1 # Adjust z-height
+ SET_GCODE_OFFSET X=0 # Clear X offset
+ ACTIVATE_EXTRUDER EXTRUDER=extruder
+
+# Secondary extruder
+[extruder1]
+step_pin: ar36
+dir_pin: ar34
+enable_pin: !ar30
+step_distance: .004242
+nozzle_diameter: 0.500
+filament_diameter: 3.500
+heater_pin: ar9
+sensor_pin: analog15
+sensor_type: EPCOS 100K B57560G104F
+control: pid
+pid_Kp: 22.2
+pid_Ki: 1.08
+pid_Kd: 114
+min_temp: 0
+max_temp: 210
+
+# Script to activate second extruder
+[gcode_macro T1]
+gcode:
+ SET_GCODE_OFFSET Z=0.100 MOVE=1 # Adjust z-height
+ SET_SERVO SERVO=extruder_servo angle=100 # Position second extruder
+ SET_GCODE_OFFSET X=5 # Account for different X offset
+ ACTIVATE_EXTRUDER EXTRUDER=extruder1
+
+# Servo definition
+[servo extruder_servo]
+pin: ar7