REL – Relational operator

Block SymbolLicensing group: STANDARD
PIC

Function Description
The REL block evaluates the binary relation u1u2 between the values of the input signals and sets the output Y according to the result of the relation "". The output is set to Y = on when relation holds, otherwise it is zero (relation does not hold). The binary operation codes are listed below.

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

Input

u1

First analog input of the block

Double (F64)

u2

Second analog input of the block

Double (F64)

Parameter

irel

Relation type  1

Long (I32)

1 ....

equality (==)

2 ....

inequality (!=)

3 ....

less than (<)

4 ....

greater than (>)

5 ....

less or equal (<=)

6 ....

greater or equal (>=)

Output

Y

Logical output of the block

Bool

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