Trinamic 11-0011 TMCM-171 BLDC Output For 3-phase BLDC Motors 11-0011 Data Sheet

Product codes
11-0011
Page of 134
 
TMCL Reference Manual 
24 
 
 
 
Trinamic Motion Control GmbH & Co KG 
Sternstraße 67 
D – 20357 Hamburg, Germany 
http://www.trinamic.com 
 
3.12  RSGP – Restore Global Parameter 
Description:  This instruction recovers the  (permanently) stores the value of a RAM-located parameter. Please see 
chapter 0 for a list of available parameters. 
 
Internal function: The specified parameter is copied from the configuration EEPROM to its RAM location.  
 
Related commands: SGP, STGP, GGP, AGP 
 
Mnemonic: RSGP <parameter number>, <motor number> 
 
Binary representation: 
INSTRUCTION NO. 
TYPE 
MOT/BANK 
VALUE 
12 
<parameter number>  <bank number> 
 
            (don't care) 
 
Reply in direct mode: 
STATUS 
VALUE 
100 – OK 
(don't care) 
 
 
Example: restore the serial address of the device 
Mnemonic: RSGP 66, 0 
 
Binary: 
Byte Index 
Function 
Target- 
address 
Instruction 
Number 
Type 
Motor/ 
Bank 
Operand 
Byte3 
Operand 
Byte2 
Operand 
Byte1 
Operand 
Byte0 
Checksum 
Value (hex) 
$01 
$0c 
$42 
$00 
$00 
$00 
$00 
$00 
$4f