
TMCM-6110 TMCL Firmware V1.31 Manual (Rev. 1.09 / 2015-FEB-24)
36
www.trinamic.com
4.6.12
RSGP (restore global parameter)
With this command the contents of a TMCL user variable can be restored from the EEPROM. For all
configuration-related axis parameters, non-volatile memory locations are provided. By default, most
parameters are automatically restored after power up. A single parameter that has been changed before
can be reset by this instruction.
For a table with parameters and bank numbers which can be used together with this command please
refer to chapter 6.
Internal function:
The specified parameter is copied from the configuration EEPROM memory to its RAM
location.
Relate commands:
SGP, STGP, GGP, and AGP
Mnemonic:
RSGP <parameter number>, <bank number>
Binary representation:
INSTRUCTION NO.
TYPE
MOT/BANK
VALUE
12
<parameter number>
<bank number>
don’t care
Reply structure in direct mode:
STATUS
VALUE
100 – OK
don’t care
Example:
Restore the user variable #42
Mnemonic:
RSGP 42, 2
Binary:
Byte Index
0
1
2
3
4
5
6
7
Function
Target-
address
Instruction
Number
Type
Motor/
Bank
Operand
Byte3
Operand
Byte2
Operand
Byte1
Operand
Byte0
Value (hex)
$01
$0c
$2a
$02
$00
$00
$00
$00