ST_SimProductGeneration - General Information
Type: |
data structure |
Available as of: |
V1.0.0.0 |
Inherits from: |
- |
Versions: |
Current version |
Data structure for the simulation of a product flow
Variable |
Data type |
Description |
---|---|---|
etMode |
The method according to which the product flow is to be created |
|
lrProductLength |
LREAL |
The length of the products of the simulated product flow |
xProductLengthVariation |
BOOL |
TRUE: The length of the products lrProductLength shall randomly vary by up to plus lrMaxProductLengthVariance and up to minus lrMinProductLengthVariance. |
lrMaxProductLengthVariance |
LREAL |
Length by which the products can be longer than the standard length of the products lrProductLength |
lrMinProductLengthVariance |
LREAL |
Length by which the products can be shorter than the standard length of the products lrProductLength |
lrStartOffset |
LREAL |
The distance that the belt has to cover before the first product is generated |
alrPattern |
ARRAY[1..Gc_udiMaxNumberOfSignalsInPattern] OF LREAL |
Pattern of the distances between the products If the distance to the next product is negative or if all products of the ARRAY have been sent, the pattern starts from the beginning. |
lrDistance |
LREAL |
etMode = Equidistant: The distance between two products etMode = EquidistantGroups: The distance between two products in a group |
lrDistanceGroup |
LREAL |
etMode = EquidistantGroups: The distance between two product groups |
lrMaxDistance |
LREAL |
etMode = Random: The maximum distance between two products etMode = RandomGroups: The maximum distance between two products in a group |
lrMinDistance |
LREAL |
etMode = Random: The minimum distance between two products etMode = RandomGroups: The minimum distance between two products in a group |
lrMaxDistanceGroup |
LREAL |
etMode = RandomGroups: The maximum distance between two product groups |
lrMinDistanceGroup |
LREAL |
etMode = RandomGroups: The minimum distance between two product groups |
xStatisticalVariation |
BOOL |
Sub-mode for the simulation modes etMode = Equidistant and etMode = EquidistantGroups. TRUE := The position of the products is subject to random variance. FALSE := The position of the products is not randomly changed. |
lrMaxVariance |
LREAL |
The size of the window in positive direction in which the products in the simulation modes etMode = Equidistant and etMode = EquidistantGroups are set randomly |
lrMinVariance |
LREAL |
The size of the window in negative direction in which the products in the simulation modes etMode = Equidistant and etMode = EquidistantGroups are set randomly |
udiProductsInGroup |
UDINT |
The number of products in a group for the simulation mode etMode = EquidistantGroups |
udiMaxProductsInGroup |
UDINT |
The maximum number of products in a group for the simulation mode etMode = RandomGroups |
udiMinProductsInGroup |
UDINT |
The minimum number of products in a group for the simulation mode etMode = RandomGroups |
diNStart |
DINT |
The start number for generating random numbers If the same start number is allocated for two simulations, the same random numbers are created, too. |