Техническая Спецификация для Trinamic 11-0011 TMCM-171 BLDC Output For 3-phase BLDC Motors 11-0011
Модели
11-0011
TMCL Reference Manual
45
Trinamic Motion Control GmbH & Co KG
Sternstraße 67
D – 20357 Hamburg, Germany
http://www.trinamic.com
3.30 AGP – Accumulator to Global Parameter
Description: 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. Note that the global parameters in bank 0 are EEPROM-only
and thus should not be modified automatically by a stand-alone application.
See chapter 6 for a complete list of global parameters.
Related commands: AAP, SGP, GGP, SAP, GAP, GIO
Mnemonic: AGP <parameter number>, <bank number>
Binary representation:
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. Note that the global parameters in bank 0 are EEPROM-only
and thus should not be modified automatically by a stand-alone application.
See chapter 6 for a complete list of global parameters.
Related commands: AAP, SGP, GGP, SAP, GAP, GIO
Mnemonic: AGP <parameter number>, <bank number>
Binary representation:
INSTRUCTION NO.
TYPE
MOT/BANK
VALUE
35
<parameter
number>
number>
<bank number>
(don't care)
Reply in direct mode:
STATUS
VALUE
100 – OK
(don't care)
Example: copy accumulator to TMCL user variable #3
Mnemonic: AGP 3, 2
Binary:
Byte Index
0
1
2
3
4
5
6
7
8
Function
Target-
address
address
Instruction
Number
Number
Type
Motor/
Bank
Bank
Operand
Byte3
Byte3
Operand
Byte2
Byte2
Operand
Byte1
Byte1
Operand
Byte0
Byte0
Checksum
Value (hex)
$01
$23
$03
$02
$00
$00
$00
$00
$29