
USER MANUAL – Z-GPRS2-SEAL / Z-LOGGER-SEAL
123
Data Type:
select the input1 and input2 data type from:
Integer Signed 16 Bits , Integer Signed 32 Bits or Floating point 32 Bits.
Event Threshold:
select the compare threshold value.
15.5.
Function Block THR: ANALOG THRESHOLD COMPARE WITH HYSTERESIS
FUNCTION
This block perform the analog compare function between the input and the configured threshold, also a
hysteresis can be configured.
The output boolean (True/False) value is obtained by the relation:
If the compare “>” is selected:
OUTPUT = TRUE
IF (INPUT > THRESHOLD)
OUTPUT = FALSE
IF (INPUT < THRESHOLD-HYSTERESIS)
If the compare “<” is selected:
OUTPUT = TRUE
IF (INPUT < THRESHOLD)
OUTPUT = FALSE
IF (INPUT > THHYSTERESIS)