TMCM-1310 TMCL Firmware V1.11 Manual (Rev. 1.16 / 2014-MAR-19)
99
www.trinamic.com
11
Global Parameters
G
LOBAL PARAMETERS ARE GROUPED INTO
4
BANKS
:
-
bank 0 (global configuration of the module)
-
bank 1 (user C variables)
-
bank 2 (user TMCL variables)
-
bank 3 (interrupt configuration)
Please use SGP and GGP commands to write and read global parameters.
11.1
Bank 0
P
ARAMETERS
64…
132
Parameters with numbers from 64 on configure stuff like
auto start mode
or
end switch polarity
. Change
these parameters to meet your needs. The best and easiest way to do this is to use the appropriate
functions of the TMCL-IDE. The parameters with numbers between 64 and 128 are stored in EEPROM only.
An SGP command on such a parameter will always store it permanently and no extra STGP command is
needed. Take care when changing these parameters, and use the appropriate functions of the TMCL-IDE to
do it in an interactive way.
M
EANING OF THE LETTERS IN COLUMN
A
CCESS
:
Access
type
Related
command(s)
Description
R
GGP
Parameter readable
W
SGP, AGP
Parameter writable
E
STGP, RSGP
Parameter stored permanently in EEPROM
Number Global parameter
Description
Range
Access
64
EEPROM magic
Setting this parameter to a different value as $E4
will cause re-initialization of the axis and global
parameters (to factory defaults) after the next power
up. This is useful in case of miss-configuration.
0… 255
RWE
67
ASCII mode
Configure the TMCL ASCII interface:
Bit 0: 0 – start up in binary (normal) mode
1 – start up in ASCII mode
Bits 4 and 5:
00 – Echo back each character
01 – Echo back complete command
10 – Do not send echo, only send command reply
RWE
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
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