-
TMCL: Usage of coolStep
TMCL is the simple way to implement your motion control application. With this series of simple coding examples we want to provide you an easy start. This program demonstrates the usage of coolStep™. Motor 0 will run at 1/4 of the max. current set by SAP 6. The parameters especially the stallGuardValue and the settings for coolStep […]
-
TMCL: If, Else and Subroutines
TMCL is the simple way to implement your motion control application. With this series of simple coding examples we want to provide you an easy start. This program demonstrates how to implement an if-else-statement by using subroutines. Connect a LED to Port OUT_0 will be toggling at 1 Hz. Before use: Restore Factory Defaults // *** Main Loop *** // loop: […]
-
TMCL: Usage of subroutines
TMCL is the simple way to implement your motion control application. With this series of simple coding examples we want to provide you an easy start. This programs demonstrates the usage of subroutines and is turning motor 0 for 5 seconds left and then forn 5 seconds right, same as EX0001 except for the movement commands to be outsourced into […]
-
TMCL: Digital Inputs
TMCL is the simple way to implement your motion control application. With this series of simple coding examples we want to provide you an easy start. This programs demonstrates how to read out the status of the general purpose inputs. Depending on the status of Port IN_0 is motor 0 turning right (IN_0 = 0) or turning left (IN_0 = […]
-
TMCL: Read Analog Value
TMCL is the simple way to implement your motion control application. With this series of simple coding examples we want to provide you an easy start. This program demonstrates how to read an analog value and adjust the velocity of motor 0. The velocity depends on the analog value obtained at Port AIN_0. In the easiest case connect a pontiometer […]
-
TMCL: Position Compare and Conditional Jump
TMCL is the simple way to implement your motion control application. With this series of simple coding examples we want to provide you an easy start. This program demonstrates how to compare the position of motor 0 with a value and do a jump if condition. The motor is performing 5 rotations with velocity 1000 then the program will […]