PD42-1270 TMCL
™
Firmware Manual • Firmware Version V1.00 | Document Revision V1.0 • 2017-Mar-02
23 / 91
3.6.7
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 modified.
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.2
.
Internal function:
The global parameter specified 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.2
2
0 (don’t care)
Reply in Direct Mode
Status
Value
100 - OK
0 (don’t 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
Read entire documentation.