Description

The SmartOr is a BooleanPoint with an extension, the SmartOrExt, which applies an OR function to the Boolean values of multiple points. The SmartOrExt also performs the synthesis of their states. The components taken into account by the SmartOr are as follows:

  • BooleanPoints
  • BooleanPoint SmartOperators

The extension calculates the boolean resulting from the values of the valid points and then returns the result to the BooleanPoint in which it is located. The SmartOrExt is a variation of the SmartStatusExt, which means that it performs the same job on the states as the SmartStatusExt.

In the case of a SmartOr, the out slot of the BooleanPoint parent will therefore contain the resulting Boolean value of an OR function on the values of the valid points and the state resulting from the synthesis of all the states of the incoming points.


Implementation

Refer to the SmartOperator section for general description.

  • To use the SmartOr component: copy paste a SmartOr from the btibTooIkit palette to anywhere in the station.

To use the extension in an existing point, copy and paste the SmartOrExt extension in the SmartOr into a BooleanPoint.

  • Select points from the Query request ( (warning) Only BooleanPoints will be taken into account)
  • Change the Enable property to true


Properties

The properties of the extension are the same as those of the SmartStatusExt.

The properties of the parent point are the same as those of the SmartStatusExt parent. However, two slots differ in type and content:

  • Out: This is a StatusBoolean that contains the resulting Boolean value of an OR function on the valid values of the input points. A value is considered invalid in one case:
    • The state of the point is invalid according to the InvalidStatus property
    • Value: This is a boolean that contains the out value


Actions

The SmartOrExt actions are the same as those of the SmartStatusExt.