23 mc_setposition, Mc_setposition – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 141

Advertising
background image

DMS 5.2 EN 03/2011 TD17

L

141

L-force | PLC Designer - SoftMotion

The SM_PLCopen.lib library

POUs for the motion control of individual axes

6.2.23

MC_SetPosition

This program organisation unit shifts the zero point of the axis so that ...

 In absolute mode (mode = FALSE; default), the value defined via the Position input will

become the current set position.

 In relative mode (mode = TRUE), the current set position will be shifted by the Position

value.

Basically, the program organisation unit can be called at any time. However, please note

that in the case of a path-controlled motion, if the set positions are fed to the program

organisation unit directly, via SMC_ControlAxisByPos, for example, a set position jump

may result.

Advertising