![Trinamic TMCM-1021 TMCL Manual Download Page 87](http://html1.mh-extra.com/html/trinamic/tmcm-1021-tmcl/tmcm-1021-tmcl_manual_1163069087.webp)
TMCM-1021 TMCL
™
Firmware Manual • Firmware Version V1.42 | Document Revision V1.10 • 2018-JAN-09
87 / 109
Number
Global Parameter
Description
Range [Units]
Access
81
TMCL code
protection
Protect a TMCL program against disassem-
bling or overwriting.
0 - no protection
1 - protection against disassembling
2 - protection against overwriting
3 - protection against disassembling and
overwriting
When
switching
off
the
protection
against
disassembling
(changing
this
parameter from 1 or 3 to 0 or 2, the
program will be erased first!
0/1/2/3
RWA
84
Coordinate
storage
0 - coordinates are stored in RAM only (but
can be copied explicitly between RAM and
EEPROM)
1 - coordinates are always also stored in the
EEPROM
0/1
RWA
85
Do not restore
user variables
Determines if TMCL user variables are to be
restored from the EEPROM automatically on
startup.
0 - user variables are restored (default)
1 - user variables are not restored
0/1
RWA
87
Serial secondary
address
Second module (target) address for RS485.
Setting this parameter to 0 switches off the
secondary address.
0. . . 255
RWA
90
Reverse shaft
Reverse motor and encoder direction.
0 - normal direction (default)
1 - reverse direction
Reversing the motor direction only works
for normal mode, not for step/direction
mode.
0/1
RWA
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
©2018 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at