![Trinamic TMCM-170 Programming And Reference Manual Download Page 22](http://html1.mh-extra.com/html/trinamic/tmcm-170/tmcm-170_programming-and-reference-manual_1163072022.webp)
TMCM-170 and TMCM-171 MODULE – Reference and Programming Manual
22
Copyright © 2005, TRINAMIC Motion Control GmbH & Co. KG
3.2.3 STAP – Store Axis Parameter
Description:
Axis parameters are located in RAM memory, so modifications are lost at power down.
This instruction enables permanent storing of the previously with SAP altered parameter. All
parameters alterable with SAP – Set Axis Parameter can be stored, except Type 1 – Set Actual
Position and Type 160 - Re-Initialization of Sine Commutation (refer to 3.2.1).
Internal function:
The specified parameter is copied from its RAM location the configuration
EEPROM.
Related commands:
SAP, GAP
Mnemonic:
STAP <parameter number>
Binary representation:
INSTRUCTION NO.
TYPE MOT/BANK VALUE
7
<parameter number>
<motor number>
(don't care)
Example:
store the maximum speed of motor #0
Mnemonic:
STAP 4, 0
Binary:
Byte Index
0
1
2
3
4
5
6
7
8
Function
Target-
address
Instruction
Number
Type Motor/
Bank
Operand
Byte3
Operand
Byte2
Operand
Byte1
Operand
Byte0
Checksum
Value (hex)
$01 $07 $04
$00
$00 $00 $00 $00 $0c
Note:
The STAP command will not have any effect when the configuration EEPROM is locked