User Manual

TMCM-3230 TMCL
Firmware Manual Firmware Version V1.07 | Document Revision V1.05 2017-OCT-10
31 / 103
3.6.10 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.3.
Internal function:
The global parameter specied 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.3 2 0 (dont care)
Reply in Direct Mode
Status Value
100 - OK 0 (dont 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