Typical conversion link usage

The most expected usage of a conversion links is to support a link between a “status type” numeric or boolean to a “simple type” numeric or boolean, or vice versa. Figure 1 shows an example.

Figure 1. Example link from status type to simple type (statusBoolean to Boolean)


Example link from status type to simple type (statusBoolean to Boolean)

In the example above, the statusBoolean “out” of a BooleanWritable (Fan control) point is needed to enable/disable several history extensions, where the “Enabled” property is a simple boolean type. Before AX-3.6, this required an intervening “StatusBooleanToBoolean” component. However, now you simply link between the two dissimilar slots, as allowed in the Link editor.

Figure 2 shows another example, this time linking from a simple data type to a status type.

Figure 2. Example link from simple type to status type (integer to statusNumeric)


Example link from simple type to status type (integer to statusNumeric)

In the example above, the integer “Change Of State Count” slot value of a DiscreteTotalizerExt of a BooleanWritable is needed as an input in a Math component, say an “Add” component. Before AX-3.6, this required an intervening “IntegerToStatusNumeric” component. Again, now you can simply link the two slots, as allowed in the Link editor.