summaryrefslogtreecommitdiffstats
path: root/linz/glasslathe/motor_start_rev.tmc
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2021-01-16 21:47:38 +0100
committermanuel <manuel@mausz.at>2021-01-16 21:47:38 +0100
commitd3dd8913bdf41e38bbc75b1f5dbe7159650ba80b (patch)
tree6f37bbd847f10785cd56eed6ae03ac78447a6330 /linz/glasslathe/motor_start_rev.tmc
parentdeb1a919401b89a0da7dcfec9ecb88b17dc30b28 (diff)
downloadarduino-d3dd8913bdf41e38bbc75b1f5dbe7159650ba80b.tar.gz
arduino-d3dd8913bdf41e38bbc75b1f5dbe7159650ba80b.tar.bz2
arduino-d3dd8913bdf41e38bbc75b1f5dbe7159650ba80b.zip
glasslathe: update acceleration curve
Diffstat (limited to 'linz/glasslathe/motor_start_rev.tmc')
-rw-r--r--linz/glasslathe/motor_start_rev.tmc8
1 files changed, 8 insertions, 0 deletions
diff --git a/linz/glasslathe/motor_start_rev.tmc b/linz/glasslathe/motor_start_rev.tmc
new file mode 100644
index 0000000..c3fcf65
--- /dev/null
+++ b/linz/glasslathe/motor_start_rev.tmc
@@ -0,0 +1,8 @@
1SAP 6 , 0 , 255 // Set run current
2SAP 7 , 0 , 8 // Set standby current
3SAP 254 , 0 , 1 // Activate step / direction mode
4SAP 251 , 0 , 1 // Reverse shaft
5SAP 140 , 0 , 4 // 16 microsteps
6SAP 160 , 0 , 1 // Activate step interpolation (only works with 16 microsteps)
7SAP 161 , 0 , 1 // Activate double step
8STOP // End of this program