beautypg.com

5function blocks – Lenze E94A User Manual

Page 630

background image

5

Function blocks

5.205

L_WndCalcDiameter - diameter calculation

630

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Outputs

bForceCalculation

BOOL

Forcing of the diameter calculation

FALSETRUE Forcing of the diameter calculation

• The next diameter calculation is carried out after the reel shaft

distance specified via dwCalculationDistance has been elapsed.

bHoldDiameter

BOOL

Hold last diameter value

TRUE The diameter value output last is not overwritten with new values.

bUnidirect

BOOL

Enable of only one direction of change and activation of the web break monitoring

TRUE Only the direction of change defined via bUnwindActive is enabled.

bUnwindActive

BOOL

Selection of the direction of change enabled

• Only in the case of bUnidirect = TRUE

FALSE Clockwise rotation (Cw)

TRUE Counter-clockwise rotation (Ccw)

bLoadSetDiameter

BOOL

Acceptance of the preselected initial value

• This input has a higher priority than the input bHoldDiameter.

TRUE Accept value at dnSetDiameter_n.

dnSetDiameter_n

DINT

Selection of an initial value/external diameter signal in [%]

• 100 % ≡ maximum diameter (dwMaxDiameter)

• Value is accepted by setting bLoadSetDiameter to TRUE.

dnDiameterRetain_n

DINT

Input for reading in the current diameter value after mains switching:

1.For this, connect the output dnDiameter_n with a retain variable.

2.Then connect the retain variable with this input.

Identifier/data type

Value/meaning

dnState

DINT

Status (bit coded)

• Bits that are not listed have not been assigned with a status (always "0").

Status messages:

Bit 12 Diameter value was calculated/read from the memory.
Bit 13 Diameter value was initialised with dwMinDiameter.
Bit 14 Diameter value is/was loaded via bLoadSetDiameter/

dnSetDiameter_n.

Bit 15 Diameter value is/was held (bHoldDiameter).

Error messages:

Bit 29 Input value dwMinDiameterdwMaxDiameter.
Bit 30 Internal reset of the diameter calculation

(integration overflow by dnLineSpeed_n).

dwDiameter

DWORD

Current diameter in [μm]

• 1000 μm ≡ 1 mm; 1000000 μm ≡ 1 m

• Internal limitation to 10 m

• Display parameter: C04838

dnDiameter_n

DINT

Current diameter in [%]

• 100 % ≡ maximum diameter (dwMaxDiameter)

dnRecipDiameter_n

DINT

Reciprocal value of the current diameter in [%]

• 100 % ≡ minimum diameter (dwMinDiameter)

dnActualReelSpeed_s

DINT

Current reel speed in [rpm]

• 15000 rpm ≡ 2

26

≡ 67108864

• The current reel speed results from the motor speed (dnActualMotorSpeed_s) and

the gearbox factor (dnGearNumerator/dnGearDenominator).

Identifier/data type

Information/possible settings