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 is reached, the reference search is stopped and the Port OUT_0 is set high before ending the program. In the easiest case connect an LED to Port AIN_0.

Before use: Restore Factory Defaults

For more details look at TMCL_reference.pdf  at http://www.trinamic.com/software-tools/tmcl-ide

Basic Commands, this sample can be used with any TMCL module with one or multiple axes tested with TMCM-1140, TMCM-1161, TMCM-6110.

Leave a Reply

Your email address will not be published. Required fields are marked *