Material length counter

Enable of the material length counter

The material length counter is activated with the xEnable input = TRUE.

The material length is calculated by integrating the line speed at the lrSetLineVel input and is shown at the lrMaterialCounter output (in millimetres). The material length is incremented or decremented depending on the winding direction.

  • Defining the winding direction (winding/unwinding)

For the analog signal of the line speed, the current value of the material length can be filtered with a PT1 characteristic. The filter time is set with the rFiltTimeMaterialCounter parameter.

The current value of the material length is stored in the persistent data.

  • Persistent variables

Preloading the material length counter

For the initialisation of the material length, an initial material length can be set via the lrSetMaterialPos parameter. With a FALSEäTRUE edge at the xSetMaterialCounter input, the initial material length is accepted with the highest priority.

Parameters to be set

See also: L_TW2P_scPar_WinderTensionCtrlState basic functions

Identifier

Data type

Description

lrSetMaterialPos

LREAL

Position of the material length counter

With a FALSEäTRUE edge at the xSetMaterialCounter input, the material length counter (lrMaterialCounter output) is set to the value in lrSetMaterialPos.

  • Unit: mm

  • Initial value: 0

rFiltTimeMaterialCounter

REAL

Filter time constant for the material length counter (lrMaterialCounter output)

  • Initial value: 0 (filter is deactivated.)

Sources for the material length counting

The material length can be counted from one of three different sources, and the counting procedure can be carried out in two different ways.

Source

Selection of the source

Info

Connection to MaterialCounterAxis

xLineVelDiamCalc

IrSetLineVel

no

FALSE

Material length counter via 'IrSetLineVel' input

MaterialCounterAxis

Yes

is not evaluated

Material length counter via 'MaterialCounterAxis' reference axis