User manual
TMCM-1640 TMCL Firmware V2.00 Manual (Rev. 2.00 / 2012-JUL-31) 47
www.trinamic.com
6 Global Parameter Overview (SGP, GGP, STGP, RSGP,
AGP)
The following section describes all global parameters that can be used with the SGP, GGP, STGP and RSGP
commands.
TWO BANKS ARE USED FOR GLOBAL PARAMETERS:
- Bank 0 (global configuration of the module)
- Bank 2 (user TMCL variables)
6.1 Bank 0
Parameters 64… 255
Parameters below 63 configure stuff like the serial address of the module RS485 baud rate or the telegram
pause time. 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 between 64 and 85 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:
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.
GLOBAL PARAMETERS OF BANK 0
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
0… 7
RWE
66
serial address
The module (target) address for RS485 and virtual COM
port
0… 255
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
75
telegram pause
time
Pause time before the reply via RS485 is sent.
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