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

DMS 5.2 EN 03/2011 TD17
L
135
L-force | PLC Designer - SoftMotion
The SM_PLCopen.lib library
POUs for the motion control of individual axes
Error number
Example:
The following figure shows two examples of the combination of two MoveVelocity
Function Blocks:
1. The left part of timing diagram illustrates the case if the Second Function Block is called
after the First one is completed. If First reaches the commanded velocity 3000 then the
output First.InVelocity AND the signal Next cause the Second FB to move to the velocity
2000.
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 not yet InVelocity. The following
sequence is shown: The First motion is started again by Go at the input First.Execute.
While the First FB is still accelerating to reach the velocity 3000 the First FB will be
interrupted and aborted because the Test signal starts the Run of the Second FB. Now
the Second FB runs and decelerates the velocity to 2000.