TMCM-142 TMCL
TM
Firmware Manual (V1.06 / 2014-JUN-24)
99
Copyright © 2009, TRINAMIC Motion Control GmbH & Co. KG
8
Global parameters
The global parameters apply for all types of TMCM modules.
They are grouped into 3 banks:
bank 0 (global configuration of the module)
bank 1 (user C variables)
bank 2 (user TMCL
TM
variables)
Please use SGP and GGP commands to write and read global parameters (see sections XXX and XXY).
8.1
Bank 0
Parameters 64…132
Parameters with numbers from 64 on configure stuff like the serial address of the module RS232/RS485/USB
baud rate or the CAN bit 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. A 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
:
R = readable (GGP)
W = writeable (SGP)
E = automatically restored from EEPROM after reset or power-on.
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
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!
0…11
RWE
66
serial address
The module (target) address for RS-232/RS-485.
0…255
RWE
67
ASCII mode
Configure the TMCL
TM
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