Overview Limit value

This function block combines several comparison blocks in one function.


Inputs

FG
Enable
Output enable. If 1 is applied to this input, the block is enabled, otherwise 0 is always output. This input is optional; if the input is not connected, the block is always enabled.
IW
Actual value

G1
Limit value 1 Limit value 1
G2
Limit value 2 Limit value 2

Outputs

A1
Output 1
Output becomes 1 when the conditions are met.

Parameters

Type

  • IW<=G1=E / IW>=G2=A: Output becomes 1 when the actual value is less than limit value 1, output becomes 0 when the actual value is greater than limit value 2.
  • IW<=G1=A / IW>=G2=E: Output becomes 0 when the actual value is less than limit value 1, output becomes 1 when the actual value is greater than limit value 2.
  • IW>=G1=E / IW<=G2=A: Output becomes 1 when the actual value is greater than limit value 1, output becomes 0 when the actual value is less than limit value 2.
  • IW>=G1=A / IW<=G2=E: Output becomes 0 when the actual value is greater than limit value 1, output becomes 0 when the actual value is less than limit value 2.
  • IW>=G1 AND IW<=G2: Output becomes 1 when the actual value is greater than or equal to limit value 1 and less than or equal to limit value 2.
  • IW<G1 OR IW>G2: Output becomes 1 when the actual value is greater than or equal to limit value 1 or greater than or equal to limit value 2.






See also common parameters of all function blocks.