User Manual

TMCM-3351 TMCL
Firmware Manual Firmware Version V1.11 | Document Revision V1.06 2019-APR-26
88 / 144
3.6.46 MVPXA (Move to Position specied by Accumulator Register and X Register)
With this command the motor will be instructed to move to a specied relative or absolute position.
The contents of the accumulator register will be used as the target position, and the contents of the X
register species the motor number. This command is non-blocking which means that a reply will be sent
immediately after command interpretation and initialization of the motion controller. Further commands
may follow without waiting for the motor reaching its end position. The maximum velocity and acceleration
as well as other ramp parameters are dened by the appropriate axis parameters. For a list of these
parameters please refer to section 4.
Positioning can be interrupted using MST, ROL or ROR commands.
Three operation types are available:
Moving to an absolute position specied by the accumulator register contents.
Starting a relative movement by means of an oset to the actual position.
Moving the motor to a (previously stored) coordinate (refer to SCO for details).
Note
The distance between the actual position and the new position must not be
more than 2147483647 (2
31
1) microsteps. Otherwise the motor will run in
the opposite direction in order to take the shorter distance (caused by 32 bit
overow).
Internal function:
The value stored in the accumulator is copied to the axis parameter #0 (target position)
of the axis specied by the X register.
Related commands: MVPA, SAP, GAP, SCO, GCO, CCO, ACO, MST.
Mnemonic: MVPXA <ABS|REL|COORD>
Binary Representation
Instruction Type Motor/Bank Value
47
0 ABS absolute 0 (dont care) 0 (dont care)
1 REL relative 0 (dont care) 0 (dont care)
2 COORD coordinate 0 (dont care) 0 (dont care)
Reply in Direct Mode
Status Value
100 - OK dont care
Example
Move motor specied by X register to position specied by accumulator.
Mnemonic: MVPXA ABS
©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