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

Product codes
11-0011
Page of 134
 
TMCL Reference Manual 
 
 
 
Trinamic Motion Control GmbH & Co KG 
Sternstraße 67 
D – 20357 Hamburg, Germany 
http://www.trinamic.com 
 
Mnemonic 
Command 
number 
Meaning 
ROL 
Rotate left 
ROR 
Rotate right 
MVP 
Move to position 
MST 
Motor stop 
RFS 
13 
Reference search 
SCO 
30 
Store coordinate 
CCO 
32 
Capture coordinate 
GCO 
31 
Get coordinate 
2.4.2  Parameter commands 
These commands are used to set, read and store axis parameters or global parameters. Axis parameters can be set 
independently  for  every  axis,  whereas  global  parameters  control  the  behaviour  of  the  module  itself.  These 
commands can also be used in direct mode and in stand-alone mode. 
Mnemonic 
Command 
number 
Meaning 
SAP 
Set axis parameter 
GAP 
Get axis parameter 
STAP 
Store axis parameter into EEPROM 
RSAP 
Restore axis parameter from EEPROM 
SGP 
Set global parameter 
GGP 
10 
Get global parameter 
STGP 
11 
Store global parameter into EEPROM 
RSGP 
12 
Restore global parameter from EEPROM 
2.4.3  I/O port commands 
These commands control the external I/O ports and can be used in direct mode and in stand-alone mode. 
Mnemonic 
Command 
number 
Meaning 
SIO 
14 
Set output 
GIO 
15 
Get input 
SAC 
29 
Access to external SPI device 
2.4.4  Control commands 
These commands are used to control the program flow (loops, conditions, jumps etc.). It does not make sense to 
use them in direct mode. They are intended for stand-alone mode only. 
Mnemonic 
Command 
number 
Meaning 
JA 
22 
Jump always 
JC 
21 
Jump conditional 
COMP 
20 
Compare accumulator with constant 
value 
CLE 
36 
Clear error flags 
CSUB 
23 
Call subroutine 
RSUB 
24 
Return from subroutine 
WAIT 
27 
Wait for a specified event 
STOP 
28 
End of a TMCL program