User Manual
TMCC160 TMCL Firmware Version 2.11 • 2018-FEB-08 | Document Revision 1.01 • 2018-FEB-08
19/57
© 2015 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany — Terms of delivery and rights
to technical change reserved. Download newest version at: www.trinamic.com .
Read entire documentation; especially the 6 “Supplemental Directives” (page 51).
1.2.12 RSGP (Restore Global Parameter)
This instruction copies a value from the EEPROM configuration to its RAM location.
Thereby, the permanently stored value of a RAM-located parameter is recovered. Most
parameters are automatically restored after power-up.
Related commands: SGP, GGP, STGP
Mnemonic: RSGP <parameter number>, <bank number>
NOTE:
An example for RSGP is provided below.
Request in Direct Mode
COMMAND
TYPE
MOT/BANK
VALUE
12
<parameter number>
<bank number>
don’t care
Table 41: RSGP (Restore Global Parameter) Request in Direct Mode
Reply in Direct Mode
STATUS
VALUE
100 – OK
don’t care
Table 42: RSGP (Restore Global Parameter) Reply in Direct Mode
i A list of all parameters which can be used for the RSGP command is shown in section 4.
RSGP Example:
Copy Variable 0 at Bank 2 from EEPROM Configuration to RAM Location:
Mnemonic: RSGP, 0, 2
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
$00
$02
$00
$00
$00
$00
Table 43: RSGP: Copy Variable 0 at Bank 2 from EEPROM Configuration to RAM Location
Process
Description