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
Related Articles
In the formula edit dialog, the replace button might be activated, even though no tag is selected
Summary When the paste button is used to fill a formula into the formula edit dialog for a condition in the Batch control module, the replace (tag) button is activated, even though no tag is selected. Clicking the button won't do anything. ...
Under specific circumstance the decimal places were set wrong at the value calculation of variables.
Summary In the value calculation of variables it is possible to set the amount of decimal places. When a user set amount that values negative for archive and positive for archive should have the appointed decimal places. This was not working ...
Sometimes Language switch function ensures that the header is displayed in the user list even though it is deactivated.
Description When using the Switch Language function with a different Font List, the header is sometimes displayed in the User List when the function is executed, even though the Display header checkbox is deactivated. The issue has been addressed and ...
zenon Changesets Excel
Here, you can access a comprehensive list of changes across all maintained versions of the zenon Software Platform as Excel Worksheets. This includes both implemented bug-fixes and new features. Additionally, these lists are available in CSV format ...
zenon Changesets CSV
Here, you can access a comprehensive list of changes across all maintained versions of the zenon Software Platform as Excel Worksheets. This includes both implemented bug-fixes and new features. Additionally, these lists are available in as Excel ...