aboutsummaryrefslogtreecommitdiffstats
path: root/config/generic-mks-sgenl.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-12-14 09:09:19 -0500
committerKevin O'Connor <kevin@koconnor.net>2020-12-18 10:38:49 -0500
commit49f1ee0207e8a4bf8bf91220370c0975807be473 (patch)
treeb4cf2ec45fbd621f6aeb07ab88dc5adef0361a9f /config/generic-mks-sgenl.cfg
parent5b31080e7787d3a41dd557b2c08c92a56840cd7f (diff)
downloadkutter-49f1ee0207e8a4bf8bf91220370c0975807be473.tar.gz
kutter-49f1ee0207e8a4bf8bf91220370c0975807be473.tar.xz
kutter-49f1ee0207e8a4bf8bf91220370c0975807be473.zip
config: Update example configs to use rotation_distance
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/generic-mks-sgenl.cfg')
-rw-r--r--config/generic-mks-sgenl.cfg22
1 files changed, 8 insertions, 14 deletions
diff --git a/config/generic-mks-sgenl.cfg b/config/generic-mks-sgenl.cfg
index 3851b30d..0498120d 100644
--- a/config/generic-mks-sgenl.cfg
+++ b/config/generic-mks-sgenl.cfg
@@ -7,7 +7,8 @@
step_pin: P2.2
dir_pin: !P2.3
enable_pin: !P2.1
-step_distance: .0125
+microsteps: 16
+rotation_distance: 40
endstop_pin: ^P1.29 # ^P1.28 for X-max
position_endstop: 0
position_max: 320
@@ -17,7 +18,8 @@ homing_speed: 50
step_pin: P0.19
dir_pin: !P0.20
enable_pin: !P2.8
-step_distance: .0125
+microsteps: 16
+rotation_distance: 40
endstop_pin: ^P1.27 # ^P1.26 for Y-max
position_endstop: 0
position_max: 300
@@ -27,7 +29,8 @@ homing_speed: 50
step_pin: P0.22
dir_pin: P2.11
enable_pin: !P0.21
-step_distance: .0025
+microsteps: 16
+rotation_distance: 8
endstop_pin: ^P1.25 # ^P1.24 for Z-max
position_endstop: 0.5
position_max: 400
@@ -36,7 +39,8 @@ position_max: 400
step_pin: P2.13
dir_pin: !P0.11
enable_pin: !P2.12
-step_distance: .010526
+microsteps: 16
+rotation_distance: 33.500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: P2.7
@@ -85,35 +89,30 @@ max_z_accel: 100
#[tmc2208 stepper_x]
#uart_pin: P1.1
-#microsteps: 16
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 250
#[tmc2208 stepper_y]
#uart_pin: P1.8
-#microsteps: 16
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 250
#[tmc2208 stepper_z]
#uart_pin: P1.10
-#microsteps: 16
#run_current: 0.650
#hold_current: 0.450
#stealthchop_threshold: 30
#[tmc2208 extruder]
#uart_pin: P1.15
-#microsteps: 16
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 5
#[tmc2208 extruder1]
#uart_pin: P1.17
-#microsteps: 16
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 5
@@ -129,7 +128,6 @@ max_z_accel: 100
#spi_software_mosi_pin: P4.28
#spi_software_sclk_pin: P0.4
##diag1_pin: ^!P1.29
-#microsteps: 16
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 250
@@ -140,7 +138,6 @@ max_z_accel: 100
#spi_software_mosi_pin: P4.28
#spi_software_sclk_pin: P0.4
##diag1_pin: ^!P1.27
-#microsteps: 16
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 250
@@ -151,7 +148,6 @@ max_z_accel: 100
#spi_software_mosi_pin: P4.28
#spi_software_sclk_pin: P0.4
##diag1_pin: ^!P1.25
-#microsteps: 16
#run_current: 0.650
#hold_current: 0.450
#stealthchop_threshold: 30
@@ -162,7 +158,6 @@ max_z_accel: 100
#spi_software_mosi_pin: P4.28
#spi_software_sclk_pin: P0.4
##diag1_pin: ^!P1.28
-#microsteps: 16
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 5
@@ -173,7 +168,6 @@ max_z_accel: 100
#spi_software_mosi_pin: P4.28
#spi_software_sclk_pin: P0.4
##diag1_pin: ^!P1.26
-#microsteps: 16
#run_current: 0.800
#hold_current: 0.500
#stealthchop_threshold: 5