Trinamic 11-0011 TMCM-171 BLDC Output For 3-phase BLDC Motors 11-0011 数据表
产品代码
11-0011
TMCL Reference Manual
50
Trinamic Motion Control GmbH & Co KG
Sternstraße 67
D – 20357 Hamburg, Germany
http://www.trinamic.com
3.35 TMCL Control Functions
Description: The following functions are for host control purposes only and are not allowed for stand-alone
mode. In most cases, there is no need for the customer to use one of those (except command 139). They are
mentioned here only for reasons of completeness. These commands have no mnemonics, as they can not be used
in TMCL programs.
They are to be used only by the TMCL IDE to communicate with the module, for example to download a TMCL
application into the module. The only control commands that could be useful for a user host application is “get
firmware revision” (command 136, please note the special reply format of this command, described at the end of
this section) and 129 (run application).
All other functions can be achieved by using the appropriate functions of the TMCL IDE.
mode. In most cases, there is no need for the customer to use one of those (except command 139). They are
mentioned here only for reasons of completeness. These commands have no mnemonics, as they can not be used
in TMCL programs.
They are to be used only by the TMCL IDE to communicate with the module, for example to download a TMCL
application into the module. The only control commands that could be useful for a user host application is “get
firmware revision” (command 136, please note the special reply format of this command, described at the end of
this section) and 129 (run application).
All other functions can be achieved by using the appropriate functions of the TMCL IDE.
Instruction
Description
Type
Mot/Bank Value
128 – stop application a running TMCL standalone
application is stopped
(don't care)
(don't care) (don't care)
129 – run application
TMCL execution is started (or
continued)
continued)
0 - run from
current address
1 - run from
specified address
current address
1 - run from
specified address
(don't care) (don't care)
starting address
130 – step application only the next command of a
TMCL application is executed
(don't care)
(don't care) (don't care)
131 – reset application the program counter is set to
zero, and the standalone
application is stopped (when
running or stepped)
application is stopped (when
running or stepped)
(don't care)
(don't care) (don't care)
132 – start download
mode
mode
target command execution is
stopped and all following
commands are transferred to
the TMCL memory
stopped and all following
commands are transferred to
the TMCL memory
(don't care)
(don't care) starting address of
the application
133 – quit download
mode
mode
target command execution is
resumed
resumed
(don't care)
(don't care) (don't care)
134 – read TMCL
memory
memory
the specified program memory
location is read
location is read
(don't care)
(don't care) <memory address>
135 – get application
status
status
one of these values is
returned:
0 – stop
1 –run
2 – step
3 - reset
returned:
0 – stop
1 –run
2 – step
3 - reset
(don't care)
(don't care) (don't care)
136 – get firmware
version
version
return the module type and
firmware revision either as a
string or in binary format
firmware revision either as a
string or in binary format
0 – string
1 – binary
1 – binary
(don’t care) (don’t care)
137 – restore factory
settings
settings
reset all settings stored in the
EEPROM
EEPROM
to
their
factory
defaults
This command does not send
back a reply.
This command does not send
back a reply.
(don’t care)
(don’t care) must be 1234
138 – reserved
139 – enter ASCII
mode
mode
Enter ASCII command line (see
chapter 2.5)
chapter 2.5)
(don’t care)
(don’t care) (don’t care)