User Manual
TMCM-3351 TMCL
™
Firmware Manual • Firmware Version V1.11 | Document Revision V1.06 • 2019-APR-26
94 / 144
3.6.51 GAPX (Get Axis Parameter, Axis specified by X Register)
The GAPX command nearly works the same way as the GAP command, except that the motor number is
specified by the X register. This command is mainly intended for use in standalone mode.
Info
For a table with parameters and values that can be used together with this
command please refer to section 4.
Internal function: The specified value gets copied to the accumulator.
Related commands: SAPX, AAPX.
Mnemonic: GAPX <parameter number>
Binary Representation
Instruction Type Motor/Bank Value
17 see chapter 4 (don’t care) <value>
Reply in Direct Mode
Status Value
100 - OK value read by this command
Example
Get the actual position of the motor specified by the X register.
Mnemonic: GAPX 1.
Binary Form of GAPX 1
Field Value
Target address 01
h
Instruction number 11
h
Type 01
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 13
h
©2019 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com