Amplitude limit

Updated at:

This topic describes the amplitude limit component.

Description

The amplitude limit component is used to limit fluctuations in a numerical value.

Calculation logic

  • If the actual value is greater than (reference point + upper limit), the output is (reference point + upper limit).

  • If the actual value is less than (reference point + lower limit), the output is (reference point + lower limit).

  • If the actual value is between (reference point + lower limit) and (reference point + upper limit), the output is the actual value.

Parameters

IN port - Input parameters

Parameter

Description

Required

Data type

Data source type

pv

Actual value

Yes

Integer or floating-point number

Note

If non-numeric data exists, an exception is thrown.

Any

pv_ref

Reference point

Yes

Integer or floating-point number

Note

If non-numeric data exists, an exception is thrown.

Any

lb

Lower limit

Yes

Integer or floating-point number

Note

If non-numeric data exists, an exception is thrown.

Any

ub

Upper limit

Yes

Integer or floating-point number

Note

If non-numeric data exists, an exception is thrown.

Any

OUT port - Output parameters

Parameter name

Description

Data type

out

Limited output

Floating-point number

Output quality codes

The output quality code is processed as follows:

  • If any input has a bad quality code, the output quality code is 0.

  • If all inputs have good quality codes, the output quality code is 192.

Note: If an input quality code is missing or is not a numeric type, it is treated as -1.

Note

A good value is a quality code of -1 or ≥ 192.

② Invalid quality code value: A value in the range of [0, 192).