Overview Random number

With this function block, random numbers can be generated.


Inputs

TR
Trigger
With a rising edge at this input, a random number is generated.



Outputs

W1-x
Random number
Generated random number. If a variable is connected at the output, this is used as the last generated value.



Parameters

Min- Maximum
Minimum / Maximum; the random number is generated within this range.
Number of outputs
Number of outputs. A different random number is output at each output.
Interval Interval in seconds. With a value greater than 0, new random numbers are generated at this spacing. The interval acts in parallel with the Trigger input.


See also common parameters of all function blocks.