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

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 *