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 
20 
 
 
 
Trinamic Motion Control GmbH & Co KG 
Sternstraße 67 
D – 20357 Hamburg, Germany 
http://www.trinamic.com 
 
3.8  RSAP – Restore Axis Parameter 
Description: For all configuration-related axis parameters, non-volatile memory locations are provided. By default, 
most  parameters  are  automatically  restored  after  power  up  (see  axis  parameter  list  in  chapter  4).  A  single 
parameter that has been changed before can be reset by this instruction. 
 
Internal function: The specified parameter is copied from the configuration EEPROM memory to its RAM location.  
 
Relate commands: SAP, STAP, GAP, AAP 
 
Mnemonic: RSAP <parameter number>, <motor number> 
 
Binary representation: 
INSTRUCTION NO. 
TYPE 
MOT/BANK 
VALUE 
<parameter number>  <motor number> 
            (don't care) 
 
Reply structure in direct mode:
 
STATUS 
VALUE 
100 – OK 
(don't care) 
 
 
Example: 
restore the maximum current of motor #1  
Mnemonic: RSAP 6, 1 
 
Binary: 
Byte Index 
Function 
Target- 
address 
Instruction 
Number 
Type 
Motor/ 
Bank 
Operand 
Byte3 
Operand 
Byte2 
Operand 
Byte1 
Operand 
Byte0 
Checksum 
Value (hex) 
$01 
$08 
$06 
$01 
$00 
$00 
$00 
$00 
$10