121 l_sdgetposition - position conversion, L_sdgetposition, 5function blocks – Lenze E94A User Manual
Page 458

5
Function blocks
5.121
L_SdGetPosition - position conversion
458
Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.121
L_SdGetPosition - position conversion
This FB uses the transmitted machine parameters and converts a position in [inc] into a position in
the real unit of the machine. The converted position is displayed in C04273.
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]
• Scaling: 1 encoder revolution ≡ 2
16
increments (or acc. to AxisData)
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
. In this case, the FB output AxisData must be connected to
this input.
Identifier/data type
Value/meaning
dnState
DINT
Status
0 Ok - no error
-1 No machine parameters are applied to the input AxisData.
-12 Counter overflow of ±214748.3647 in the display parameter
C04273.
bError
BOOL
"Error" status signal
TRUE The conversion was incorrect.
Parameter
Possible settings
Information
C04271
-2147483647
2147483647 Status
• Display of the bit-coded output si-
gnal dnState.
C04272
As of library V02.02.xx.xx
String of digits
Position unit
• Read only
C04273
-214748.3647
Unit
214748.3647 Position value
• Display of the dnPosIn_p input si-
gnal in the real unit of the machi-
ne.
/B6G*HW3RVLWLRQ
GQ6WDWH
E(UURU
GQ3RV,QBS
$[LV'DWD
&
&
& 3RVLWLRQXQLW