![EtherCAT TMCL Firmware Manual Download Page 33](http://html1.mh-extra.com/html/ethercat/tmcl/tmcl_firmware-manual_2432550033.webp)
TMCM-1310 TMCL Firmware V1.11 Manual (Rev. 1.16 / 2014-MAR-19)
33
www.trinamic.com
6.8.11
STGP (store global parameter)
This command is used to store TMCL user variables permanently in the EEPROM of the module. Some
global parameters are located in RAM memory, so without storing modifications are lost at power down.
This instruction enables enduring storing. Most parameters are automatically restored after power up.
For a table with parameters and bank numbers which can be used together with this command please
refer to chapter 11
Internal function:
the specified parameter is copied from its RAM location to the configuration EEPROM.
Related commands:
SGP, GGP, RSGP, AGP
Mnemonic:
STGP <parameter number>, <bank number>
Binary representation:
INSTRUCTION NO.
TYPE
MOT/BANK
VALUE
11
<parameter number>
<bank number>
don’t care
Reply in direct mode:
STATUS
VALUE
100 – OK
don’t care
Example:
Store the user variable #42
Mnemonic:
STGP 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
$0b
$2a
$02
$00
$00
$00
$00