Unitronics Vision ver. 9.8.65 build 0
Faced the problem of floating point numbers. I tried to find a solution on my own - it didn’t work out. When outputting a floating point number to the HMI using the numeric indicator, at certain times the number goes beyond the indicator boundaries and is layered over the image, although this shouldn ’t happen. Image attached.
In the attached file, there are subroutines for processing the numeric indicator variable 1 - MF24 (Flow_meter) and the variable 2 - 56 (Convert_ML_to_MF). At the same time, for the program " Convert_ML_to_MF " the signal comes from the weight module "IO_LC1" starting with ten thousand, comparable to grams, therefore the corresponding division. For the subroutine " Flow_meter " the impulse weight from the panel is set, for example the process in the picture is set to 0.1, which is always multiplied by an integer. Аccordingly, there should never be more than one number after a point, the less it is.
Also, i have a video changing MF in motion, if someone want to see - i can send)