![Trinamic PD57-1060 Firmware Manual Download Page 102](http://html1.mh-extra.com/html/trinamic/pd57-1060/pd57-1060_firmware-manual_1163104102.webp)
PD57/60-1060 / TMCM-1060 TMCL™ Firmware Manual (V1.04 / 2011-AUG-29)
102
Copyright © 2011, TRINAMIC Motion Control GmbH & Co. KG
Number Global parameter
Description
Range
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
The index of the currently executed TMCL™ instruction.
R
132
tick timer
A 32 bit counter that gets incremented by one every
millisecond. It can also be reset to any start value.
RW
133
random number
Choose a random number.
Read only!
0…
2147483
647
R
7.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 (see section 7.3) these variables form the interface
between extensions of the firmware (written in C) and TMCL™ applications.
7.3
Bank 2
Bank 2 contains general purpose 32 bit variables for the use in TMCL™ applications. They are located in RAM
and can be stored to EEPROM. After booting, their values are automatically restored to the RAM.
Up to 56 user variables are available.
Meaning of the letters in column
Access
:
R = readable (GGP)
W = writeable (SGP)
E = automatically restored from EEPROM after reset or power-on.
Number Global parameter Description
Range
Access
0
general purpose
variable #0
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
1
general purpose
variable #1
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
2
general purpose
variable #2
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
3
general purpose
variable #3
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
4
general purpose
variable #4
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
5
general purpose
variable #5
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
6
general purpose
variable #6
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
7
general purpose
variable #7
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
8
general purpose
variable #8
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
9
general purpose
variable #9
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE
10
general purpose
use in TMCL™ applications
−2.147.483.648… +2.147.483.647 RWE