19 mc_movevelocity, Mc_movevelocity – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 134

L-force | PLC Designer - SoftMotion
The SM_PLCopen.lib library
POUs for the motion control of individual axes
134
L
DMS 5.2 EN 03/2011 TD17
6.2.19
MC_MoveVelocity
This program organisation unit from SM_PLCopen.lib causes the axis to move
continuously at a defined velocity. In order to reach this velocity, MC_MoveVelocity uses
the programmed acceleration and deceleration values. The target velocity is always
positive. The Direction input variable defines the direction.
Input/output (VAR_IN_OUT)
Axis : AXIS_REF
The structure that is filled with axis data in the Drive Interface (SM_DriveBasic.lib) is shown
here.
Inputs (VAR_IN)
Execute : BOOL (default: FALSE)
The program organisation unit is activated on a rising edge.
Velocity : REAL
Value of the maximum velocity that does not necessarily have to be reached [u/s]
Acceleration : REAL
Desired acceleration [u/s²]
Deceleration : REAL
Desired deceleration [u/s²]
Direction : MC_Direction (default: current)
This enumeration value specifies the desired direction (see SM_DriveBasic.lib). Permissible
values: current, positive, negative.
Outputs (VAR_OUT)
InVelocity : BOOL (default: FALSE)
TRUE indicates that the defined velocity 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 )