TMCM-6212 TMCL
™
Firmware Manual • Firmware Version V1.11 | Document Revision V1.07 • 2019-JAN-25
120 / 140
Number
Global Parameter
Description
Range [Units]
Access
132
TMCL tick timer
A 32 bit counter that gets incremented by
one every millisecond. It can also be reset
to any start value.
0. . . 2147483647
RW
133
Random number
Returns a random number. The seed value
can be set by writing to this parameter.
0. . . 2147483647
RW
255
Suppress reply
The reply in direct mode will be suppressed
when this parameter is set to 1. This pa-
rameter cannot be stored to EEPROM and
will be reset to 0 on startup. The reply will
not be suppressed for GAP, GGP and GIO
commands.
0/1
RW
Table 17: All Global Parameters of the TMCM-6212 Module in Bank 0
5.2
Bank 1
The global parameter bank 1 is normally not available. It may be used for customer specific extensions
of the firmware. Together with user definable commands these variables form the interface between
extensions of the firmware (written by Trinamic in C) and TMCL applications.
5.3
Bank 2
Bank 2 contains general purpose 32 bit variables for use in TMCL applications. They are located in RAM
and the first 56 variables can also be stored permanently in the EEPROM. After booting, their values are
automatically restored to the RAM. Up to 256 user variables are available. Please see table
for an
explanation of the different parameter access types.
User Variables in Bank 2
Number
Global Parameter
Description
Range [Units]
Access
0. . . 55
user
variables
#0. . . #55
TMCL user variables
-2147483648 . . .
2147483647
RWE
56. . . 255
user
variables
#56. . . #255
TMCL user variables
-2147483648 . . .
2147483647
RWE
Table 18: User Variables in Bank 2
5.4
Bank 3
Bank 3 contains interrupt parameters. Some interrupts need configuration (e.g. the timer interval of
a timer interrupt). This can be done using the SGP commands with parameter bank 3 (SGP <type>, 3,
<value>).
The priority of an interrupt depends on its number. Interrupts with a lower number have
a higher priority.
Table
shows all interrupt parameters that can be set. Please see table
for an explanation of the
parameter access types.
©2019 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at