ST_StationFeedBack - General Information

Overview

Type:

Data structure

Available as of:

V1.0.0.0

Inherits from:

-

Versions:

Current version

Description

This structure provides information on the status of a station.

Structure Elements

Variable

Data type

Description

lrAvgStepsPerMin

LREAL

Calculates the value of the product per minute as an average. The value is generated from the last 16 products and provides an approximate indication for the throughput of the station.

lrMaxStepsPerMin

LREAL

Calculated value of the theoretical maximum possible steps per minute when the train stops between the steps. Formula 60000 / lrStepTime

lrDepartureTime

LREAL

Time in ms that a run takes from this station to the next, using the motion parameters.

lrStepTime

LREAL

Time in ms that the next step will take with the motion parameters currently set.

uiActiveTrain

UINT

Train number of the active train. This train is active at the moment and is being loaded or unloaded.

uiActiveStep

UINT

The step that is being carried out.

uiNextStep

UINT

The next step that is going to be carried out.

uiProductNumber

UINT

Number of the product in this step. The value will only be written when the number of the product per compartment is greater than 1.

stActiveStepMove

ST_Movement

Motion parameter that is reached during a step. The maximum velocity, acceleration and delay reached during a step can be viewed here.

stActiveDepartureMove

ST_Movement

Motion parameter reached during the run from this station to the next. The maximum velocity, acceleration and delay reached during a run can be viewed here.

aetTrainState

ARRAY[1..Gc_uiMaxNumberOfBelts] OF ET_TrainState

Returns the states of the trains that are located in this station at the moment. See ET_TrainState

xWarningDistance

BOOL

This bit belongs to lrWarningDistance. See ST_Station.

xStopDistance

BOOL

This bit belongs to lrStopDistance. See ST_Station.

xMaxProductTime

BOOL

This bit belongs to lrMaxProductTime. See ST_Station

xReadyForStep

BOOL

This bit belongs to lrReadyForStepOffset. See ST_Station

xProductIgnored

BOOL

This bit shows that no step has been carried out although a start signal has been detected. Either no train was located in the station at the time of the start signal or the MultiBelt function block was deactivated while a product was between the sensor and the train.

xWaitingForTrainInQueue

BOOL

This bit shows that the fully loaded train is waiting until the following train closes the gap. The bit is only active when the option xWaitForTrainInQueue is set.

xStationBlocked

BOOL

The bit indicates that a station is blocked by a train that drives ahead. The bit is TRUE when a train in the station cannot drive, because the train ahead is too close to the station or a part of the train remains in the station. As soon as the train ahead moves away, the waiting train drives to its destination and the bit gets FALSE.

xTrainTimeout

BOOL

This bit belongs to lrTrainTimeout. See ST_Station

lrLengthOfLastProduct

LREAL

Indexed Station: In the case of an indexed station, the value indicates the time for which the most recent product has covered the sensor.

lrDistanceRemaining

LREAL

Indicates the remaining distance to the end of the step.

lrTimeRemaining

LREAL

Indicates the remaining time to the end of the step.

lrCorrectionMaxAcc

LREAL

Reserved.