TMCM-3314 TMCL
™
Firmware Manual • Firmware Version V1.11 | Document Revision V1.10 • 2019-JAN-25
99 / 144
3.6.55
AIV (Accumulator to Indexed Variable)
This command copies the content of the accumulator to a TMCL user variable. The index of the user
variable (0. . . 255) is specified by the content of the X register. Therefore the value in the X register must
not be lower than zero or greater than 255. Otherwise this command will be ignored.
This command is
mainly intended for use in standalone mode.
Internal function:
The accumulator will be copied to the user variable specified by the X register.
Related commands:
SIV, GIV.
Mnemonic:
AIV
Binary Representation
Instruction
Type
Motor/Bank
Value
55
0 (don’t care)
0 (don’t care)
<value>
Reply in Direct Mode
Status
Value
100 - OK
don’t care
Example
Copy the accumulator to the user variable indexed by the X register.
Mnemonic:
AIV.
Binary Form of AIV
Field
Value
Target address
01
h
Instruction number
39
h
Type
00
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
3A
h
©2019 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at