15 mc_moveadditive, Mc_moveadditive, L-force | plc designer - softmotion – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 123

Advertising
background image

DMS 5.2 EN 03/2011 TD17

L

123

L-force | PLC Designer - SoftMotion

The SM_PLCopen.lib library

POUs for the motion control of individual axes

6.2.15

MC_MoveAdditive

This program organisation unit from SM_PLCopen.lib has two different modes of action,

depending on the current state of the axis:

 discrete_motion

– The distance will be added to the target position of the program organisation unit

currently working on the axis and the newly defined target position will be

approached according to the specified parameters.

 continuous_motion or standstill:

– The distance will be covered as measured from the current position in accordance

with the specified parameters.

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.
Distance : REAL
Relative distance for the motion (technical unit [u])
Velocity : REAL
Value of the setpoint velocity that does not necessarily have to be reached [u/s]
Acceleration : REAL
Desired acceleration [u/s²]
Deceleration : REAL
Desired deceleration [u/s²]

Advertising