Trinamic 11-0011 TMCM-171 BLDC Output For 3-phase BLDC Motors 11-0011 Datenbogen

Produktcode
11-0011
Seite von 134
 
TMCL Reference Manual 
27 
 
 
 
Trinamic Motion Control GmbH & Co KG 
Sternstraße 67 
D – 20357 Hamburg, Germany 
http://www.trinamic.com 
 
 
Extension in TMCL version 3.30 and 6.22: 
On the TMCM-3xx, TMCM-34x and TMCM-61x modules it is now possible to address all eight output lines with one 
single SIO command. This  can be done by setting the type parameter to 255 and the bank  parameter to  2. The 
value  parameter  must  then  be  set  to  a  value  between  0..255,  where  every  bit  represents  one  output  line. 
Furthermore,  the  value  can  also  be  set  to  –1.  In  this  special  case,  the  contents  of  the  lower  8  bits  of  the 
accumulator are copied to the eight output pins. 
Example: SIO 255, 2, 255   sets all output pins high. 
The following program will show the states of the eight input lines on the output lines: 
Loop: GIO 255, 0 
SIO 255,2,-1 
 JA Loop