PD42-1270 TMCL
™
Firmware Manual • Firmware Version V1.00 | Document Revision V1.0 • 2017-Mar-02
24 / 91
3.6.8
RSGP (Restore Global Parameter)
With this command the contents of a TMCL user variable can be restored from the EEPROM. By default, all
user variables are automatically restored after power up. A user variable that has been changed before
can be reset to the stored value by this instruction.
Info
For a table with parameters and values which can be used together with this
command please refer to section
5.2
.
Internal function:
The global parameter specified by the type and bank number will be restored from
the EEPROM.
Related commands:
SGP, AGP, GGP, STGP.
Mnemonic:
RSGP <parameter number>, <bank>
Binary Representation
Instruction
Type
Motor/Bank
Value
12
see chapter
5.2
2
0 (don’t care)
Reply in Direct Mode
Status
Value
100 - OK
0 (don’t care)
Example
Restore user variable #42.
Mnemonic:
RSGP 42, 2.
Binary Form of RSGP 42, 2
Field
Value
Target address
01
h
Instruction number
0C
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
39
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.