beautypg.com

Lenze PMSS1000 Simple Servo User Manual

Page 43

background image

Indexer-Programmer-Manual.pdf REV 1.3

MDV Segments
Segments are created using a sequence of MDV statements. The simplified syntax for the MDV (Move
Distance with Velocity) statement is:

MDV

<distance>,<velocity>


The is the length of the segment move. The is the final velocity for the segment
move. The starting velocity is either zero or final velocity of the previous segment. The final segment in a
complete move must have a velocity of zero. If final segment has final velocity anything else then zero
motion stack underrun fault will occur.

The profile shown below can be broken up to 8 MDV moves. The first segment would define the distance
between point 1 and point 2 and the velocity at point 2. So, if the distance between point 1 and 2 was 3
units and the velocity at point 2 was 56 RPM, the command would be: MDV 3 , 56. The second segment
would give the distance between point 2 and 3 and the velocity at point 3, and so on. Any profile can be
programmed using MDV moves.


From the following table, write a program to execute the move profile shown, and run it.

Segment Number

Distance moved during

segment

Velocity at the end of

segment

1 3 56

2 3 12

3 4 16

4 2 57

5 2.5 57

6 3 11

7 5 20

8 5 0

- - -

43