User Manual

TMCM-3230 TMCL
Firmware Manual Firmware Version V1.07 | Document Revision V1.05 2017-OCT-10
29 / 103
3.6.8 GGP (Get Global Parameter)
All global parameters can be read with this function. Global parameters are related to the host interface,
peripherals or application specic variables. The dierent groups of these parameters are organized in
banks to allow a larger total number for future products. Currently, bank 0 is used for global parameters,
and bank 2 is used for user variables. Bank 3 is used for interrupt conguration.
Info
For a table with parameters and values which can be used together with this
command please refer to section 5.
Internal function:
The global parameter specied by the type and bank number will be copied to the
accumulator register.
Related commands: SGP, AGP.
Mnemonic: GGP <parameter number>, <bank>
Binary Representation
Instruction Type Motor/Bank Value
10 see chapter 5 0/2/3 0 (dont care)
Reply in Direct Mode
Status Value
100 - OK value read by this command
Example
Get the serial address of the device.
Mnemonic: GGP 66, 0.
Binary Form of GGP 66, 0
Field Value
Target address 01
h
Instruction number 0A
h
Type 42
h
Motor/Bank 00
h
Value (Byte 3) 00
h
Value (Byte 2) 00
h
Value (Byte 1) 00
h
Value (Byte 0) 00
h
Checksum 4D
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