ST_StartSimulationParameter - General Information
Type: |
Data structure |
Available as of: |
V1.0.4.0 |
Versions: |
Current version |
The structure contains the parameters for FB_StartSimulation.
Variable |
Data type |
Description |
---|---|---|
etMode |
Operation mode of the start simulation |
|
xEventTriggered |
BOOL |
TRUE = On every rising edge of FB_StartSimulation.i_xStart, the simulation POU produces complete signal frequencies. ET_StartSimulationMode.Equidistant and ET_StartSimulationMode.Random generate a signal each. ET_StartSimulationMode.EquidistantGroups and ET_StartSimulationMode.RandomGroups generate a group each. |
xImmediatelyFirstSignal |
BOOL |
TRUE = Immediately after a positive edge of FB_StartSimulation.i_xStart the first signal is generated. FALSE = Immediately after a positive edge of FB_StartSimulation.i_xStart no signal is generated. The function block starts with the waiting sequence between two signals. |
xUseTime |
BOOL |
TRUE = The simulation POU works on a time basis. All parameter entries are interpreted as time specifications in ms. FALSE = The simulation POU works on a position basis. All parameter entries are interpreted as positions in units of the master belt. |
xStatisticalVariation |
BOOL |
Sub-mode for the simulation modes Equidistant and EquidistantGroups TRUE = The position of the signals is subject to random variance. FALSE = The position of the signals is not randomly changed. |
lencMaster |
SystemConfiguration.L_ENC |
Logical encoder for operation on position basis. |
ifDriveMaster |
SystemConfigurationItf.IF_Drive |
MasterEncoder for operation on position basis. |
lrDistance |
LREAL |
The distance between two signals in the Equidistant mode or the distance between two signals in a group in the EquidistantGroups mode in units of the master belt if xUseTime = FALSE or in ms if xUseTime = TRUE. |
diSignalsInGroup |
DINT |
Number of signals in a group for the simulation mode EquidistantGroups. |
lrGroupDistance |
LREAL |
The distance between two groups of signals in the simulation mode EquidistantGroups in units of the master belt if xUseTime = FALSE or in ms if xUseTime = TRUE. |
lrNegativeVariance |
LREAL |
The size of the window in negative direction in which the signals in the simulation modes Equidistant and EquidistantGroup are set randomly. It is assumed that a negative value is specified here. |
lrPositiveVariance |
LREAL |
The size of the window in positive direction in which the signals in the simulation modes Equidistant and EquidistantGroup are set randomly. It is assumed that a positive value is specified here. |
lrMinDistance |
LREAL |
Minimum distance between two signals in the simulation mode Random or two signals in a group in the simulation mode RandomGroups in units of the master belt if xUseTime = FALSE or in ms if xUseTime = TRUE. |
lrMaxDistance |
LREAL |
Maximum distance between two signals in the simulation mode Random or two signals in a group in the simulation mode RandomGroups in units of the master belt if xUseTime = FALSE or in ms if xUseTime = TRUE. |
diMinSignalsInGroup |
DINT |
Minimum number of signals in a group in the simulation mode RandomGroups |
diMaxSignalsInGroup |
DINT |
Maximum number of signals in a group in the simulation mode RandomGroups |
lrMinGroupDistance |
LREAL |
Minimum distance between two groups of signals in the simulation mode RandomGroups in units of the master belt if xUseTime = FALSE or in ms if xUseTime = TRUE. |
lrMaxGroupDistance |
LREAL |
Maximum distance between two groups of signals in the simulation mode RandomGroups in units of the master belt if xUseTime = FALSE or in ms if xUseTime = TRUE. |
xMissingSignals |
BOOL |
TRUE = A percentage of the signals in the amount of lrPercentageOfSignalsMissing is randomly not generated. FALSE = All signals are being generated. |
lrPercentageOfSignalsMissing |
LREAL |
Number of randomly unavailable signals in percent. |