
TMCM-1311 TMCL Firmware V1.11 Manual (Rev. 1.17 / 2015-NOV-05)
101
www.trinamic.com
10
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.
10.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
65
RS485 baud rate
0
9600 baud
Default
1
14400 baud
2
19200 baud
3
28800 baud
4
38400 baud
5
57600 baud
6
76800 baud
Not supported by Windows!
7
115200 baud
8
230400 baud
9
250000 baud
Not supported by Windows!
10
500000 baud
Not supported by Windows!
11
1000000 baud
Not supported by Windows!
0… 11
RWE
66
Serial address
The module (target) address for RS485.
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
68
Serial heartbeat
Serial heartbeat for the RS485 interface. If this time
limit is up and no further command is noticed the
motor will be stopped.
0 – parameter is disabled
[ms]
RWE