kitControl-StatusNumericToInt

This component converts a StatusNumeric value to an Int (integer).

StatusNumericTolnt is available in the Conversion folder of the kitControl palette.

Figure 39.   StatusNumericToInt properties
Image
Property Value Description
Facets Config Facets window Selects units and configures how the value displays:

units defines the unit of measure from acceleration to volumetric flow.

radix defines the base of the numeration system.

This configuration applies to the In property value.
Out read-only integer Displays the converted target integer.
In number and null definition (defaults to 0) Displays the source status numeric value.

When null is checked, the value displayed defaults to the incoming value from the device. If you remove the check mark you can configure the In value.

On Null In Value drop-down list (defaults to Use In Value) Configures how to handle null values.

Use In Value outputs the Out default value when the result of the conversion is null. Normally, the Fallback property for a given point defines the meaning of an Enum null as zero (0). If, during configuration, the null status check box is unchecked and another value entered and saved, the changed value becomes the new null default value for the point.

If this modified component links to another StatusEnum property, the framework ignores the null value. But, if connected to a StatusEnumToInt component, the result of a null input value defaults to the changed value, which may not be what you intended.

Specify Out Value adds the outValueOnNull property to this component. Configure it to return a reasonable value when the In value is null.

Out Value On Null number Defines an In value for the conversion object when the input Out value has a null status.