User Manual

PD42-1240 TMCL
Firmware Manual Firmware Version V1.45 | Document Revision V1.02 2018-DEC-03
85 / 132
3.6.43 MVPA (Move to Position specied by Accumulator 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. 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 register is copied to the axis parameter #0 (target
position).
Related commands: MVPXA, SAP, GAP, SCO, GCO, CCO, ACO, MST.
Mnemonic: MVPA <ABS|REL|COORD>, <axis>
Binary Representation
Instruction Type Motor/Bank Value
46
0 ABS absolute 0 0 (dont care)
1 REL relative 0 0 (dont care)
2 COORD coordinate 0. . . 255 0 (dont care)
Reply in Direct Mode
Status Value
100 - OK dont care
Example
Move motor 0 to position specied by accumulator.
Mnemonic: MVPA ABS, 0
©2018 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com