TMCM-6212 TMCL
™
Firmware Manual • Firmware Version V1.11 | Document Revision V1.07 • 2019-JAN-25
62 / 140
3.6.28
AGP (Accu to Global Parameter)
The content of the accumulator register is transferred to the specified global parameter. For practical
usage, the accumulator has to be loaded e.g. by a preceding GAP instruction. The accumulator may have
been modified 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
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 (don’t care)
Reply in Direct Mode
Status
Value
100 - OK
don’t 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
©2019 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at