Limiter block

The Limiter block clips input data that lies outside of user-defined upper and lower limits.

Return to Overview of blocks

Limiter block

Description

The Limiter block checks that the value of an input field is within the bounds of user-defined upper and lower limits.  The value and quality may be changed when a field is outside of its range.

The Limiter block is used to clip and set data quality to bad when data is outside of the defined limits, such as outside the measurement of an instrument, or where erroneous measurements are received due to calibration settings on an instrument.

Limiter block

Block Type

Mathematical block

Input/Output ports

  • The input port may contain only double fields

  • There are 2 parameter ports (High limits and Low limits) that both contain double fields

  • There is an output field for every input field

  • If new input fields are added to the input port an output field will be created with the same name as the input field.

Functions performed on tags

  • On the values - The input data is clipped according to a user-defined value or value in one of the 2 parameter ports (High or Low).

    • When the input is inside the limits the output value is a copy of the input value.  

    • When the input is larger than the upper limit and the limit has been enabled, the output value is set to the upper limit.  

    • When the input is less than the lower limit and the limit has been enabled, the output value is set to the lower limit.

    • When the lower limit exceeds the upper limit (whether for parameter field limits or static limits)

      • No clipping occurs.

      • An entry is written to the log stating that the lower limit exceeded the upper limit.

    • If a parameter field is used as a limit and the parameter field's quality is bad, then no clipping occurs until the quality returns to good.

  • On the timestamp - The output timestamp is set to the input timestamp.

  • On the quality -

    • When the input is inside the limits the output quality is a copy of the input quality.

    • When clipping occurs, the quality is set according to the quality modifier setting.

      • If the quality modifier is set to Bad the output is bad.

      • If the quality modifier is set to Unchanged the output field quality is set to the quality of the input field.

    • If the lower limit exceeds the upper limit (whether for parameter field limits or static limits), the output quality is set to bad.

    • If a parameter field is used as a limit and the parameter field's quality is bad, then the output quality is set to bad.

Return to top


Related topics:

  

CSense 2023- Last updated: June 24,2025