Skip to content

Compare To Constant

Symbol

Description

Compares the input signal against a constant threshold using a relational operator. The output is 1 when the condition is true and 0 otherwise.

Library

Control > Logic

Parameters

Property Display Name Parameter Type Description
Operator Operator RelationalParameterType Relational operator applied between the input signal and the threshold.
Threshold Threshold DoubleParameter Constant value used for the comparison.
SamplingTime Sampling Time [s] DoubleParameter Sampling Time

Pins

Property Pin Name Type Description
In In ControlIn Input
Out Out ControlOut Output

Default Size

Width Height
4 4