-
TMCL: Reference Search with Wait Timeout
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 perform a reference search with motor 0. The program stops either when the reference search is finished or when the timeout limit is reached. In case the timeout limit […]
-
Want to get rid of the Limit Switches? Homing using the Encoder Deviation
Limit switches require a lot of wiring, and are subject to wearout. With sensOstep PANdrives or modules using an external encoder the homing you can implement the homing with the following TMCL routine. VECT 21, DeviationIrq //Define Interrupt on Encoder Deviation EI 21 //Activate Interrupt EI 255 SAP 212, 0, 5000 //max. Encoder-deviation ROR 0, 1000 //Start […]