A warning is displayed when configuring a tag value with decimal places for an integer variable, even though the variable is configured to accept decimal places

A warning is displayed when configuring a tag value with decimal places for an integer variable, even though the variable is configured to accept decimal places

Summary

In Batch Control you may set a tag value so that it has decimal places (e.g. 10.5). This is also possible if the variable which is linked to the tag is an integer. In this case, however, the validation of the Batch recipe will report a warning. Normally integer does not support decimal places, therefor the warning may be valid. However, you may also configure a linear value adjustment for the variable and activate decimal places. In this case it is totally reasonable to configure a tag value with decimal places, so the warning is not necessary.

Description

In Batch Control you may set a tag value so that it has decimal places (e.g. 10.5). This is also possible if the variable which is linked to the tag is an integer. In this case, however, the validation of the Batch recipe will report a warning. Normally integer does not support decimal places, therefor the warning may be valid. However, you may also configure a linear value adjustment for the variable and activate decimal places. In this case it is totally reasonable to configure a tag value with decimal places, so the warning is not necessary.

Solution

The described issue has been addressed. A warning is now only displayed if the configured tag value has more decimal places than the variable allows. Example: If the variable is an integer and the "decimals" property is set to "1" and the tag value is "10.5" then no warning is displayed. Only if the "decimals" property is set to "0", then the warning is displayed.

Issue Number: 35217
Fixed on Date: 30.5.2017
Versions: 7.60 0 BUILD 36068