FB_RandomGenerator - GetDint (Method)
Type: |
Method |
Available as of: |
V1.0.0.0 |
Versions: |
Current version |
The method GetDint generates a random number.
The method GetDint generates a random number of type DINT according to the linear congruence method. Refer to FB_RandomGenerator.
Input |
Data type |
Description |
---|---|---|
i_diXmin |
DINT |
Lower limit value of the random number. |
i_diXmax |
DINT |
Upper limit value of the random number. |
Output |
Data type |
Description |
---|---|---|
q_etResult |
Provides diagnostic and status information as an enumeration value. |
|
q_sResultMsg |
STRING [80] |
Provides additional diagnostic and status information as a text message. |
Data type |
Description |
---|---|
DINT |
Generated random number of type DINT. |
The following elements of ET_Result are used for q_etResult.