Skip to content

Comparator (Hysteresis)

Symbol

Description

Output is equal to:

  • 1 if input 1 - input 2 > Hysteresis
  • 0 if input 2 - input 1 > Hysteresis

Output is constant otherwise.

Library

Control > Math

Pins

Name Description
In1 Input 1
In2 Input 2
Out Output

Parameters

Name Description
Hysteresis Hysteresis value
SamplingTime -none or 0: No sampling. The system will be solved in the Newton loop (default).
-auto: Inherit the sampling time of its source device.
-Sampling Period: defined in seconds.