SHIFTOCT – Data shift register

Block SymbolLicensing group: STANDARD
PIC

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:

yi = yi1,i = 1..7 y0 = u

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 y7 then have the same data type.

If you need a triggered shift register, place the EDGE block in front of the RUN input.

This block propagates the signal quality. More information can be found in the 1.4 section.

Input

u

Analog input of the block

Any

RUN

Enables outputs shift

Bool

Parameter

vtype

Output data type  8

Long (I32)

1 ....

Bool

2 ....

Byte (U8)

3 ....

Short (I16)

4 ....

Long (I32)

5 ....

Word (U16)

6 ....

DWord (U32)

7 ....

Float (F32)

8 ....

Double (F64)

10 ...

Large (I64)

Output

y0

First analog output of the block

Any

y1

Second analog output of the block

Any

y2

Third analog output of the block

Any

y3

Fourth analog output of the block

Any

y4

Fifth analog output of the block

Any

y5

Sixth analog output of the block

Any

y6

Seventh analog output of the block

Any

y7

Eighth analog output of the block

Any

2024 © REX Controls s.r.o., www.rexygen.com