The random numbers are generated according to the linear congruence method. The required start value i_diNstart is set using the Init method. This can be any integer > 0 which is located within the value range of data type DINT.
This method must have been called once before calling the GetDint or GetLreal methods.
Input |
Data type |
Description |
---|---|---|
i_diNStart |
DINT |
Start value of the random number row. |
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. |