User Manual

TMCM-1276 TMCL
Firmware Manual Firmware Version V1.13 | Document Revision V1.01 2019-MAR-20
80 / 100
Number Global Parameter Description Range [Units] Access
128 TMCL application
status
0 - stop
1 - run
2 - step
3 - reset
0. . . 3 R
129 Download mode 0 - normal mode
1 - download mode
0/1 R
130 TMCL program
counter
Contains the address of the currently exe-
cuted TMCL command.
R
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-1276 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
©2019 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com