TMCM-1211 TMCL
™
Firmware Manual • Firmware Version V1.10 | Document Revision V1.00 • 2018-OCT-02
92 / 133
3.6.49
GIV (Get Indexed Variable)
This command reads a TMCL user variable and copies its content to the accumulator register. The index of
the user variable (0. . . 255) is specified by the X register. Therefore the content of 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 user variable specified by the x register will be copied to the accumulator register.
Related commands:
SIV, AIV.
Mnemonic:
GIV
Binary Representation
Instruction
Type
Motor/Bank
Value
55
0 (don’t care)
0 (don’t care)
0 (don’t care)
Reply in Direct Mode
Status
Value
100 - OK
don’t care
Example
Read the user variable indexed by the X register.
Mnemonic:
GIV.
Binary Form of GIV
Field
Value
Target address
01
h
Instruction number
38
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)
03
h
Checksum
39
h
©2018 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at