summaryrefslogtreecommitdiffstats
path: root/linz/glasslathe/motor_start.tmc
diff options
context:
space:
mode:
Diffstat (limited to 'linz/glasslathe/motor_start.tmc')
-rw-r--r--linz/glasslathe/motor_start.tmc7
1 files changed, 7 insertions, 0 deletions
diff --git a/linz/glasslathe/motor_start.tmc b/linz/glasslathe/motor_start.tmc
new file mode 100644
index 0000000..ce6113d
--- /dev/null
+++ b/linz/glasslathe/motor_start.tmc
@@ -0,0 +1,7 @@
1SAP 6 , 0 , 255 // Set run current
2SAP 7 , 0 , 8 // Set standby current
3SAP 254 , 0 , 1 // Activate step / direction mode
4SAP 140 , 0 , 4 // 16 microsteps
5SAP 160 , 0 , 1 // Activate step interpolation (only works with 16 microsteps)
6SAP 161 , 0 , 1 // Activate double step
7STOP // End of this program