Compare to Constant#

block

Block appearance in REPEAT VISION#

 Compare to Constant block compares the input signal with the constant specified by the user. The output value is 0 if the comparison is false and 1 if it is true. Constant [11] field selects a comparison operator by number:

0

>

1

\(\geq\)

2

<

3

\(\leq\)

4

=

1.  Properties#

Properties

Default Value

Description

Units of measurement

Comparison constant

0

-

-

Comparison operator

0

Operator – selected by number

-

2.  Inputs and outputs#

Parameters

Input/Output

Description

Units of measurement

Port type

Input

Input

-

-

Automation

Output

Output

Comparison result in Booleanformat

-

Automation

In order to see the connection capabilities of the block, you need to go to page Description of block ports

3.  Code generation#

Important

Block supports C source code generation

Hint

The block supports displaying values of coefficients on blocks instead of an image of the block itself

4.  Примеры использования#

 С примерами использования данного блока можно ознакомиться в следующих разделах:

Практическое руководство

Раздел

Название руководства

Энергетика

Development of a model of the industrial circuit system of oil coolers of NPP with WCWR