Short description
The output of a random generator is toggled within a configurable time.
|
Connection |
Description |
|
Input En |
The positive edge (0 to 1 transition) at the enable input En (Enable) triggers the on-delay for the random generator. The negative edge (1 to 0 transition) triggers the off-delay for the random generator. |
|
Parameter |
T
H
: The on-delay is determined at random and lies between 0 s and T
H. |
|
Output Q |
Q is set on expiration of the on-delay if En is still set. It is reset when the off-delay time has expired and if En has not been set again. |
Parameters TH and TL
The on-delay time TH and the off-delay time TL can be provided by the actual value of another already-programmed function:
Analog comparator: Ax - Ay
Analog threshold trigger: Ax
Analog amplifier: Ax
Analog multiplexer: AQ
Analog ramp: AQ
Mathematic instruction: AQ
PI controller: AQ
Up/Down counter: Cnt
For the 0BA7 and later version devices, you can additionally use the actual values of the following already-programmed functions:
On-delay: Ta
Off-delay: Ta
On-/off-delay: Ta
Retentive on-delay: Ta
Wiping relay(pulse output): Ta
Edge triggered wiping relay: Ta
Asynchronous pulse generator: Ta
Stairway light switch: Ta
Multiple function switch: Ta
Stopwatch: AQ
Analog filter: AQ
Average value: AQ
Max/Min: AQ
Threshold trigger: Fre
You select the required function by the block number.
Timing diagram
Description of the function
With the 0 to 1 transition at input En, a random time (on-delay time) between 0 s and TH is set and triggered. If the status at input En is 1 for at least the duration of the on-delay, the output is set to 1 when this on-delay time has expired.
The time is reset if the status at input En is reset to 0 before the on-delay time has expired.
When input En is reset 0, a random time (off-delay time) between 0 s and TL is set and triggered.
If the status at input En is 0 at least for the duration of the off-delay time, the output Q is reset to 0 when the off-delay time has expired.
The time is reset if the status at input En returns to 1 before the on-delay time has expired.