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

Page 129

Advertising
background image

DMS 5.2 EN 03/2011 TD17

L

129

L-force | PLC Designer - SoftMotion

The SM_PLCopen.lib library

POUs for the motion control of individual axes

Inputs (VAR_IN)
Execute : BOOL (default: FALSE)
The program organisation unit is activated on a rising edge.
Distance : REAL
Relative distance measured from the position of the axis at the time of the rising edge at

Execute, after which the final speed must have been reached.
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²]

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

Advertising