3 function block rationormflyingsaw, Function block rationormflyingsaw -5, Flyingsaw – Lenze EVS93xx FlyingSaw User Manual

Page 103: Description of the function blocks

Advertising
background image

FlyingSaw

Description of the function blocks



Prepared Solution Servo PLC / ECSxA 1.1 EN

10-5

10.3

Function block RatioNormFlyingSaw

This function block calculates the normalisation factor for the flying saw as a function of the
machine parameters. The calculation is only allowed to be made in the cyclic task, as fractional
rational numbers are processed.

Task information

Can be called in:

Cyclic task

Time-controlled task

(INTERVAL)

Event-controlled task

(EVENT)

Interrupt task

Inputs

(Variable type: VAR_INPUT)

Identifier Data

type

Value/meaning

bExecute BOOL

Perform

calculation

¾

If the factor is to be calculated, this input must be activated

FALSE ->TRUE

Triggers a calculation

dnScaleWheel DINT

Circumference of the measuring wheel

¾

10000 = 1.0000 [unit]

dnPulseSensor DINT

Number of pulses from the encoder at the measuring wheel

¾

10000 = 1.0000 [inc/rev]

dnFeedConstant DINT

Feed constant

¾

10000 = 1.0000 [unit/rev]

wGearNum

WORD

Gearbox factor numerator

wGearDen

WORD

Gearbox factor denominator

dnDFINConstant DINT

DFIN

master frequency constant (C0425/000)

¾

Entry is made in [inc/rev]

Outputs

(Variable type: VAR_OUTPUT)

Identifier Data

type

Value/meaning

bCalculated BOOL

Status

signal "Factor calculated"

dnNormalizationNum

DINT

Value for the numerator

dnNormalizationDen DINT

Value for the denominator

Advertising