summaryrefslogtreecommitdiffstats
path: root/linz/glasslathe/motor_start_rev.tmc
blob: c3fcf65f8a0a05f4e6ec1d4142d87d2e10c2d16b (plain)
1
2
3
4
5
6
7
8
SAP 6 , 0 , 255   // Set run current
SAP 7 , 0 , 8     // Set standby current
SAP 254 , 0 , 1   // Activate step / direction mode
SAP 251 , 0 , 1   // Reverse shaft
SAP 140 , 0 , 4   // 16 microsteps
SAP 160 , 0 , 1   // Activate step interpolation (only works with 16 microsteps)
SAP 161 , 0 , 1   // Activate double step
STOP              // End of this program