User guide

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05 495
5 Function blocks
5.131 L_SdPosToUnit - position conversion
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.131 L_SdPosToUnit - position conversion
This FB uses the transmitted machine parameters and converts a position defined in the internal
unit [inc] into a position in the real unit of the machine.
Inputs
Outputs
Parameter
Function library: LenzeServoDrive
Runtime software licence: Motion Control HighLevel Motion Control TopLevel
Identifier/data type Information/possible settings
dnPosIn_p
DINT
Position in [inc]
AxisData Machine parameters
For accepting the machine parameters of the drive/motor, connect this input
with the output DI_AxisData of the SB LS_DriveInterface.
• The machine parameters of a master drive can be displayed with the
FB L_SdSetAxisData
. In this case, the FB output AxisData must be connected to
this input. ( 510)
Identifier/data type Value/meaning
dnPosOut_e4
DINT
Position in [unit]
Output in "e4" format (fixed point with four decimal positions)
bLimit
BOOL
Status "Output signal is limited"
TRUE The output signal is limited to the displayable value range or the
dnPosIn_p input position is located beyond the software limit
positions of the connected machine parameters (AxisData).
Parameter Possible settings Info
C04312 String from AxisData Position unit
•Read only
GQ3RV2XWBHGQ3RV,QBS
$[LV'DWD
>LQF@>XQLW@
/B6G3RV7R8QLW
E/LPLW
& 8QLW