User Manual

TMCM-3230 TMCL
Firmware Manual Firmware Version V1.07 | Document Revision V1.05 2017-OCT-10
84 / 103
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 16: All Global Parameters of the TMCM-3230 Module in Bank 0
5.2 Bank 1
The global parameter bank 1 is normally not available. It may be used for customer specic extensions
of the rmware. Together with user denable commands these variables form the interface between
extensions of the rmware (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 rst 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 15 for an
explanation of the dierent 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 17: User Variables in Bank 2
5.4 Bank 3
Bank 3 contains interrupt parameters. Some interrupts need conguration (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 18 shows all interrupt parameters that can be set. Please see table 15 for an explanation of the
parameter access types.
©2017 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com