kitControl-NumericBitOr
This component performs a logical OR on the bit equivalent of the StatusNumeric In value against the bit equivalent of its StatusNumeric mask slot value. It may be useful in cases where boolean information is mapped into integer values.
NumericBitOr is available in the Util folder of the kitControl palette, along with the closely-related NumericBitAnd and NumericBitXor.
As an example, some manufacturers multiplex binary data into a single numerical point by converting the bits from hexadecimal to decimal format. To obtain the status of the individual binary data, the number must be converted back from decimal to hex format. Each digit of the hex number represents a particular binary state (0 = false, 1 = true). The NumericBitOr object converts a StatusNumeric input to a hex value, and compares it against the mask value. Any digits with a value of 1 in the mask or the input results in a corresponding value of 1 in the same digit of the output. Any value on the output slot greater than 1 indicates that at least one of the binary parameters is true.

In this example:
Input decimal 65553 converts to a hex value of 10011.
Mask decimal 0 converts to a hex value of 00000.
The resulting hex value is 10011.

| Property | Value | Description |
|---|---|---|
| Facets | Config Facets window (defaults to null units, a single decimal place, minimum=negative infinity, maximum=positive infinity, and radix=16) | Selects units and configures how the value displays: units defines the unit of measure fromacceleration to volumetric flow. precision defines the number of decimal places. min defines the lowest value allowed. max defines the highest value allowed. radix defines the base of the numeration system. Radix 16 is hexidecimal. This definition applies to the Out property value for this component. |
| Out | read-only number (defaults to zero (0)) | Displays the result of the comparison. |
| In | number (defaults to zero (0)) and null definition | Defines the bit to compare with the Mask. |
| Mask | number (defaults to zero (0)) and null definition | Defines what to compare with the In property. |