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

L-force | PLC Designer - SoftMotion
The SM_PLCopen.lib library
POUs for the motion control of individual axes
122
L
DMS 5.2 EN 03/2011 TD17
Inputs (VAR_IN)
Execute : BOOL (default: FALSE)
The program organisation unit is activated on a rising edge.
Position : REAL
Target position for the motion (technical unit [u])
Velocity : REAL
Value of the setpoint speed (>0) that does not necessarily have to be reached [u/s]
EndVelocity : REAL
Value of the final setpoint speed which the axis has to have after it has covered the
distance [u/s].
EndVelocityDirection : MC_Direction
Direction of the final setpoint speed (positive, negative or current (direction of rotation of
the axis at the start of the movement)).
Acceleration : REAL
Desired acceleration [u/s²]
Deceleration : REAL
Desired deceleration [u/s²]
Direction : MC_Direction (Default: shortest)
This enumeration value specifies the desired direction, which is only relevant for rotating
axes: see SM_DriveBasic.lib. Permissible values: current (current direction of motion),
positive, negative, shortest (shortest distance as viewed from the current position).
Outputs (VAR_OUT)
InEndVelocity : BOOL (Default: FALSE)
TRUE indicates that the desired distance has been traversed and the specified speed has
been reached.
CommandAborted : BOOL (default: FALSE)
The motion that had started was interrupted by another function block acting on the same
axis (exception: MoveSuperImposed).
Error : BOOL (default: FALSE)
TRUE indicates an error in the function block.
ErrorID : SMC_Error (INT )
Error number