The Random Generator block generates random values in the specified value range.
Table of Contents
| Abbreviation | Summary | Description | Value Range |
|---|
| C | Creates a random value | | 0/1 |
| DisPc | Disable periphery control | Locks (C) | 0/1 |
Outputs↑
| Abbreviation | Description | Value Range |
|---|
| Ran | Random value | ∞ |
Parameters↑
| Abbreviation | Summary | Description | Value Range | Default Value |
|---|
| Min | Minimum value | | ∞ | 0 |
| Max | Maximum value | | ∞ | 10 |
| Sts | Step size | Specifies the interval between possible random values, starting at (Min). Must be greater than 0. Values that would exceed (Max) are not generated. | ∞ | 1 |
Step size examples↑
Examples:
(Min)=0, (Max)=10, (Sts)=1: 0, 1, 2, ..., 10
(Min)=10, (Max)=11, (Sts)=0.1: 10, 10.1, 10.2, ..., 11
(Min)=0, (Max)=1, (Sts)=0.3: 0, 0.3, 0.6, 0.9