User guide

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05 635
5 Function blocks
5.206 L_WndCalcLength - length calculation
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Outputs
Parameters
dwReferenceLineSpeed
DWORD
Maximum material speed in [cm/min]
• 2500 cm/min 25.00 m/min
Internal limitation to 2000 m/min
dnLineSpeed_n
DINT
Material speed setpoint in [%]
100 % maximum material speed (dwReferenceLineSpeed)
dwRefLength
DWORD
The length to be winded up during a winding process in [mm]
• 1000 mm 1 m; 1000000 mm 1km
Internal limitation to 2000 km
dnLengthRetain
DINT
Input for reading in the current length after mains switching:
1.For this, connect the output dnLength_n with a retain variable.
2.Then connect the retain variable with this input.
Identifier/data type Value/meaning
dnLength
DINT
Current length in [mm]
dwLengthToRef
DWORD
Residual length until reaching the reference value in [mm]
Internal limitation to 2000 km
dwTimeToRef
DWORD
Residual runtime until reaching the reference value in [s]
The calculation depends on C04840, either on the basis of the material speed set-
point or the maximum material speed.
This value is only calculated at every 2. call of the FB (alternating with
dwStopLength).
dwStopLength
DWORD
Change in length during the braking phase in [mm]
This value is only calculated at every 2. call of the FB (alternating with
dwTimeToRef).
bStartDec
BOOL
Control signal for starting the braking process
TRUE Pre-switch-off length reached.
bRefReached
BOOL
Control signal for triggering the limit stop
TRUE Reference length dwRefLength reached.
Parameter Possible settings Info
C04840 Reference value = Stop length of reference value
Reference value for the rated de-
celeration time dwNominalTif
• Initialisation: maximum material
speed
0 Maximum material speed
(dwReferenceLineSpeed)
1 Material speed setpoint
(dnLineSpeed_n)
Identifier/data type Information/possible settings