User Manual

TMCM-3230 TMCL
Firmware Manual Firmware Version V1.07 | Document Revision V1.05 2017-OCT-10
58 / 103
3.6.28 AGP (Accu to Global Parameter)
The content of the accumulator register is transferred to the specied global parameter. For practical
usage, the accumulator has to be loaded e.g. by a preceding GAP instruction. The accumulator may have
been modied by the CALC or CALCX (calculate) instruction. This command is mainly intended for use in
standalone mode.
Info
For an overview of parameter and bank indices that can be used with this com-
mand please see section 5.
Related commands: AAP, SGP, GGP, SAP, GAP, GIO.
Mnemonic: AGP <parameter number>, <bank number>
Binary Representation
Instruction Type Motor/Bank Value
35 <parameter number> 0/2/3 <bank number> 0 (dont care)
Reply in Direct Mode
Status Value
100 - OK dont care
Example
Copy accumulator to user variable #42:
Mnemonic: AGP 42, 2
Binary Form of AGP 42, 2
Field Value
Target address 01
h
Instruction number 23
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 50
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