User Manual

TMCM-3230 TMCL
Firmware Manual Firmware Version V1.07 | Document Revision V1.05 2017-OCT-10
30 / 103
3.6.9 STGP (Store Global Parameter)
This command is used to store TMCL global parameters permanently in the EEPROM of the module. This
command is mainly needed to store the TMCL user variables (located in bank 2) in the EEPROM of the
module, as most other global parameters (located in bank 0) are stored automatically when being modied.
The contents of the user variables can either be automatically or manually restored at power on.
Info
For a table with parameters and values which can be used together with this
command please refer to dection 5.3.
Internal function:
The global parameter specied by the type and bank number will be stored in the
EEPROM.
Related commands: SGP, AGP, GGP, RSGP.
Mnemonic: STGP <parameter number>, <bank>
Binary Representation
Instruction Type Motor/Bank Value
11 see chapter 5.3 2 0 (dont care)
Reply in Direct Mode
Status Value
100 - OK 0 (dont care)
Example
Store user variable #42.
Mnemonic: STGP 42, 2.
Binary Form of STGP 42, 2
Field Value
Target address 01
h
Instruction number 0B
h
Type 2A
h
Motor/Bank 02
h
Value (Byte 3) 00
h
Value (Byte 2) 00
h
Value (Byte 1) 00
h
Value (Byte 0) 00
h
Checksum 38
h
©2017 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com