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

Codici prodotto
11-0011
Pagina di 134
 
TMCL Reference Manual 
62 
 
 
 
Trinamic Motion Control GmbH & Co KG 
Sternstraße 67 
D – 20357 Hamburg, Germany 
http://www.trinamic.com 
 
5.2  Bank 1 
The  global  parameter  bank  1  contains  a  set  of  variables  that  are  mainly  intended  for  use  in  customer  specific 
extensions to the firmware. So, together with the user definable commands (see section 3.32) these variables form 
the interface between extensions to the firmware (written in C) and a TMCL application. Although they could also 
be  used  as  general  purpose  variables  in  TMCL  programs,  it  is  much  better  to  use  the  variables  in  bank  2  (see 
section 5.3) for this purpose. 
These parameters are not available on the TMCM-34x modules. 
 
Number  Global parameter 
 
Description 
Range 
Access 
C application state 
The  main  state  machine  variable  of 
the example user C code. 
0…255
 
RW 
(not used) 
 
0…255 
RW 
C application state timer 
A  universal  timer,  supposed  for  state 
timing purposes.  
0…255
 
RW 
C application general purpose variable 
"unsigned char #0"  
 
0…255 
RWE 
C application general purpose variable 
"unsigned char #1" 
 
0…255 
RWE 
C application general purpose variable 
"unsigned char #2" 
 
0…255 
RWE 
C application general purpose variable 
"unsigned int #0" 
 
0…2
16 
RWE 
C application general purpose variable 
"unsigned int #1" 
 
0…2
16
 
RWE 
C application general purpose variable 
"unsigned int #2" 
 
0…2
16
 
RWE 
C application general purpose variable 
"signed long #0" 
 
-2
31
…+2
31 
RWE 
10 
C application general purpose variable 
"signed long #1" 
 
-2
31
…+2
31
 
RWE 
11 
C application general purpose variable 
"signed long #2" 
 
-2
31
…+2
31
 
RWE