SHIFTOCT – Data shift register
Block SymbolLicensing group: STANDARD
Function Description
The SHIFTOCT block works as a shift register with eight outputs of arbitrary data type.
If the RUN input is active, the following assignment is performed with each algorithm tick:
Thus the value on each output y0 to y6 is shifted to the following output and the value on input u is assigned to output y0.
The block works with any data type of signal connected to the input u. Data type has to be specified by the vtype parameter. Outputs y0 to y8 then have the same data type.
If you need a triggered shift register, place the EDGE_ block in front of the RUN input.
Inputs
u | Data input of the register | Any |
RUN | Enables outputs shift | Bool |
Outputs
y0 | First output of the block | Any |
y1 | Second output of the block | Any |
y2 | Third output of the block | Any |
y3 | Fourth output of the block | Any |
y4 | Fifth output of the block | Any |
y5 | Sixth output of the block | Any |
y6 | Seventh output of the block | Any |
y7 | Eighth output of the block | Any |
Parameters
vtype | Output data type 8 | Long (I32) |
|
|
|
[Previous] [Back to top] [Up] [Next]
2023 © REX Controls s.r.o., www.rexygen.com