User manual
PD-1160 TMCL Firmware V1.19 Manual (Rev. 1.01 / 2012-JUL-30) 76
www.trinamic.com
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 in C) and TMCL applications.
5.3 Bank 2
Bank 2 contains general purpose 32 bit variables for the use in TMCL applications. They are located in RAM
and the first 56 variables can be stored permanently in EEPROM, also. After booting, their values are
automatically restored to the RAM. Up to 256 user variables are available.
MEANING OF THE LETTERS IN COLUMN ACCESS
Access
Type
Related
Command(s)
Description
R
GGP
Parameter readable
W
SGP, AGP
Parameter writable
E
STGP, RSGP
Parameter automatically restored from EEPROM after reset or power-on. These
parameters can be stored permanently in EEPROM using STGP command and
also explicitly restored (copied back from EEPROM into RAM) using RSGP.
GENERAL PURPOSE VARIABLES FOR TMCL APPLICATIONS (BANK 2)
Number
Global parameter
Description
Range
Access
0… 55
general purpose variables #0…
#55
for use in TMCL applications
-2
31
… +2
31
RWE
56… 255
general purpose variables #56…
#255
for use in TMCL applications
-2
31
… +2
31
RW