Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 125

DMS 5.2 EN 03/2011 TD17
L
125
L-force | PLC Designer - SoftMotion
The SM_PLCopen.lib library
POUs for the motion control of individual axes
Example:
The following figure shows two examples of the combination of two Function Blocks while
the axis is in Discrete Motion state:
1. The left part of timing diagram illustrates the case if the Second Function Block is called
after the First one. If First reaches the commanded distance 6000 (and the velocity is 0)
then the output 'Done' causes the Second FB to move to the distance 10000.
2. The right part of the timing diagram illustrates the case if the Second move Function
Blocks starts the execution while the First FB is still executing. In this case the First
motion is interrupted and aborted by the Test signal during the constant velocity of the
First FB. The Second FB adds on the previous commanded position of 6000 the distance
4000 and moves the axis to the resulting position of 10000.