ST_VelRatioFeedback

 

ST_VelRatioFeedback - General Information

Overview

Type:

data structure

Available as of:

V1.0.00

Inherits from:

-

Versions:

Current version

Description

Data structure for the return values of the FB_VelocityRatioAlgorithm POU

Structure Elements

Variable

Data type

Description

lrErrorXRefTargetBelt

LREAL

Theoretically calculated position error that the product will have on the target belt. The value is generated when a product reaches the first correction belt. The function block calculates the theoretical position error based on the velocity ratios and the distances of the target positions.

alrErrorXActBelt

ARRAY[1..Gc_udiMaxNumberOfBelts] OF LREAL

Actual position error on the individual correction belts. This value is calculated when a product changes belt.

xIdleCycle

BOOL

TRUE := The product could not be corrected to the next free target position. That lead to an idle cycle.

xNoTargetInRange

BOOL

TRUE := No target position can be reached. Usually, it is a question of a feed forward problem. The downstream machine should be quicker, to avoid this problem.

xForwCorrLimitAlmostReached

BOOL

TRUE := The value of the parameter i_lrForwardCorrectionLimitAlarmWindow of the function block FB_VelocityRatioAlgorithm has been reached. In this case, the maximum forward correction has almost been reached and idle cycles will occur, if no countermeasures are taken. The downstream machine must slow down to avoid idle cycles.

xBackCorrLimitAlmostReached

BOOL

TRUE := The value of the lrBackwardCorrectionLimitAlarmWindow parameter of the FB_VelocityRatioAlgorithm POU has been reached. This means the POU is just about to perform a backward correction. If this scenario should occur, a collision with the following products can occur. The downstream machine should be quicker, to avoid this.

xBackwardCorrection

BOOL

TRUE := The SIN_FB_VelocityRatioAlgorithm POU is currently carrying out a backward correction. A collision with following products is probable. The downstream machine should be quicker, to avoid this problem.

xBackwardCorrectionLimit

BOOL

TRUE := The maximum possible backward correction has been reached. A collision with following products is likely to occur. The current product possibly will not be fed in correctly. The downstream machine should be quicker, to avoid this problem.

udiIdleCycleCounter

UDINT

Each time the FB_VelocityRatioAlgorithm POU has to generate an idle cycle on the target belt, udiIdleCycleCounter is incremented by one.