
TMCM-142 TMCL
TM
Firmware Manual (V1.06 / 2014-JUN-24)
21
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
TMCL™ control commands:
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)
0 - run from
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)
(don't care)
(don't care) (don't care)
132 – start download
mode
target command execution is
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
target command execution is
resumed
(don't care)
(don't care) (don't care)
134 – read TMCL™
memory
the specified program memory
location is read
(don't care)
(don't care) <memory
address>
135 – get application
status
one of these values is returned:
0 – stop
1 – run
2 – step
3 – reset
(don't care)
(don't care) (don't care)
136 – get firmware
version
return the module type and
firmware revision either as a
string or in binary format
0 – string
1 – binary
(don’t care) (don’t care)
137 – restore factory
settings
reset all settings stored in the
EEPROM to their factory defaults
This command does not send
back a reply.
(don’t care)
(don’t care) must be 1234
Command Number Parameter
Description
GCO
31
<coordinate number>, <motor
number>
Get coordinate
CCO
32
<coordinate number>, <motor
number>
Capture coordinate
CALCX
33
<operation>
Process accumulator & X-register
AAP
34
<parameter>, <motor number>
Accumulator to axis parameter
AGP
35
<parameter>, <bank>
Accumulator to global parameter
ACO
39
<coordinate number, <motor
number>
Accu to coordinate