User manual
PD-1141 TMCL Firmware V1.19 Manual (Rev. 1.01 / 2012-JUL-27)  72 
www.trinamic.com   
Number 
Parameter 
Description 
Range 
Access 
73 
Configuration 
EEPROM lock flag 
Write:  1234  to  lock  the  EEPROM,  4321  to 
unlock it. 
Read: 1=EEPROM locked, 0=EEPROM unlocked. 
0/1 
RWE 
75 
Telegram pause 
time 
Pause time before the reply via RS485 is sent. 
For RS485 it is often necessary to set it to 15 
(for RS485 adapters controlled by the RTS pin). 
0… 255 
RWE 
76 
Serial host 
address 
Host address used in the reply telegrams sent 
back via RS485. 
0… 255 
RWE 
77 
Auto start mode 
0:  Do  not  start  TMCL  application  after  power 
up (default). 
1:  Start  TMCL  application  automatically  after 
power up. 
0/1 
RWE 
79 
End switch 
polarity 
0: normal polarity 
1: reverse polarity 
0/1 
RWE 
81 
TMCL code 
protection 
Protect a TMCL program against disassembling 
or overwriting. 
0 – no protection 
1 – protection against disassembling 
2 – protection against overwriting 
3 – protection against disassembling and 
overwriting 
If  you  switch  off  the  protection  against 
disassembling, the program will be erased 
first! 
Changing this value from 1 or 3 to 0 or 2, the 
TMCL program will be wiped off. 
0,1,2,3 
RWE 
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. 
0… 2
32
RW 
133 
Random number 
Choose a random number. 
0… 2147483647 
RW 
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. 










