TMCM-1211 TMCL
™
Firmware Manual • Firmware Version V1.10 | Document Revision V1.00 • 2018-OCT-02
26 / 133
3.6.4
MVP (Move to Position)
With this command the motor will be instructed to move to a specified relative or absolute position. It
will use the acceleration/deceleration ramp and the positioning speed programmed into the unit. This
command is non-blocking - that is, 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
defined by the appropriate axis parameters. For a list of these parameters please refer to section
The range of the MVP command is 32 bit signed (-2147483648. . . 2147483647). Positioning can be inter-
rupted using MST, ROL or ROR commands.
Three operation types are available:
• Moving to an absolute position in the range from -2147483648. . . 2147483647 (
−
2
31
...
2
31
−
1
).
• Starting a relative movement by means of an offset to the actual position. In this case, the new
resulting position value must not exceed the above mentioned limits, too.
• 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
overflow).
Internal function:
A new position value is transferred to the axis parameter #0 (target position).
Related commands:
SAP, GAP, SCO, GCO, CCO, ACO, MST.
Mnemonic:
MVP
<
ABS|REL|COORD
>
,
<
axis
>
,
<
position|offset|coordinate
>
Binary Representation
Instruction
Type
Motor/Bank
Value
4
0 – ABS – absolute
0
<
position
>
1 – REL – relative
0
<
offset
>
2 – COORD – coordinate
0. . . 255
<
coordinate number (0..20)
>
Reply in Direct Mode
Status
Value
100 - OK
don’t care
Example
Move motor 0 to position 90000.
Mnemonic:
MVP ABS, 0, 90000
©2018 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at