Logic components

All 10 of the logic components process input values and provide a StatusBoolean output. Logic object types vary based on input type.

Four logic components receive StatusBoolean inputs:

  • And

  • Or

  • Xor

  • Not

Six logic components receive StatusNumeric inputs:

  • Equal

  • GreaterThan

  • GreaterThanEqual

  • LessThan

  • LessThanEqual

  • NotEqual

An ExprLogic component is unlike all others—and technically not a logic component. Instead, it demonstrates how to use an Expr component (BqlExprComponent) with a 4-input logic AND function.

You can add alarm and history extensions to any logic component, in addition to the control extension DiscreteTotalizerExt. If configured with a DiscreteTotalizerExt, you can also add special-purpose alarm extensions ChangeOfStateCountAlarmExt and/or ElapsedActiveTimeAlarmExt.

As with math components, you can individually configure logic components to propagate status flags received on linked inputs (by default, status propagation does not occur). For more details, refer to the Getting Started with Niagara.