User manual
TMCM-1161 TMCL Firmware V1.19 Manual (Rev. 1.04 / 2012-NOV-19) 61
www.trinamic.com
5 Global parameters
Global 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.
5.1 Bank 0
Parameters with numbers from 64 on configure stuff like the serial address of the module RS232/RS485
baud rate. 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.
Meaning of the letters in column Access:
Access
Type
Related
Command(s)
Description
R
GGP
Parameter readable
W
SGP, AGP
Parameter writable
E
STGP, RSGP
Parameter automatically restored from EEPROM after reset or power-on. These
parameters can be stored permanently in EEPROM using STGP command and
also explicitly restored (copied back from EEPROM into RAM) using RSGP.
Number
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
RS232/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!
Attention!
The upper speed for RS232 is 115200 baud
limited by the RS232 transceiver.
The RS232 might work with higher speed but
out of specification.
0… 11
RWE
66
serial address
The module (target) address for RS232/RS485.
0… 255
RWE