summaryrefslogtreecommitdiffstats
path: root/linz/glasslathe/motor_start_rev.tmc
diff options
context:
space:
mode:
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