BISR – Binary sequence generator with reset
Block SymbolLicensing group: STANDARD
Function Description
The BISR block generates a binary sequence at the Y output. The RUN input must be set to on
for the whole duration of the sequence. When RUN is off, the sequence is paused and so is the
internal timer.
The binary sequence is given by the block parameters. The initial value of the output is given by the Y0 parameter. The output value Y is inverted (offon, onoff) at time instants t1, t2, , t8. The ADDT parameter defines whether the instants are relative to the first rising edge at the RUN input or relative to the last switching of the Y output.
If there is less than 8 edges in the desired binary sequence, set any of the parameters to zero and the remaining ones will be ignored.
Whenever a rising edge occurs at the R1 input, the output Y is set to Y0 and the internal timer is reset. The R1 input overpowers the RUN input.
For , the last switching of the output occurs at time , where and the output then holds its value until another rising edge (offon) occurs at the START input. For , instead of switching the output for the last time, the block returns to its initial state, the Y output is set to Y0, the internal block timer is set to 0 and started. As a result, the binary sequence is generated repeatedly.
The BISR block is an extended version of the BINS block.
This block does not propagate the signal quality. More information can be found in the 1.4 section.
Input
RUN | Enable execution | Bool |
R1 | Block reset | Bool |
Parameter
Y0 | Initial output value | Bool |
|
|
|
ADDT | Additive timing | Bool |
|
|
|
RPT | Repeating sequence | Bool |
|
|
|
t1..t8 | Switching time [s] 0.0 1.0 | Double (F64) |
Output
Y | Logical output of the block | Bool |
is | Index of the active time interval | Long (I32) |
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com