User guide

5 Function blocks
5.205 L_WndCalcDiameter - diameter calculation
632
Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.205.1 Setting an initial value
At the input dnSetDiameter_n you can specify an initial value or an external diameter signal.
This value is accepted if bLoadSetDiameter is set to TRUE.
During the acceptance, the diameter calculation is reset and the filter for the diameter calcula-
tion is loaded with the initial value specified.
5.205.2 Calculating the diameter
For calculating the reel diameter, the material speed and the current reel speed are cyclically inte-
grated.
•The material speed is specified via dnLineSpeed_n.
The reel speed results from the motor speed (dnActualMotorSpeed_s) and the current gearbox
factor (dnGearNumerator/dnGearDenominator).
The calculation cycle is defined via the input dwCalculationDistance.
At the end of each integration interval a new diameter value results from the division of the in-
tegrator values.
An absolute value generation and smoothing via a first order low pass is effected. The time con-
stant of this filter can be set in C04831. The output dwDiameter is not filtered.
Converting the diameter to 1/D
For evaluating the material speed with 1/D (speed-controlled winders), the reciprocal value of the
reel diameter is provided via output dnRezipDiameter_n.
This value refers to the limit value dwMinDiameter.
5.205.3 Holding the current value
By setting bHoldDiameter to TRUE, the last diameter value dnDiameter_n that is output is held in-
ternally.
The diameter calculation is reset and the filter for the diameter calculation is loaded with the
diameter value that is held internally.