Search the Community
Showing results for tags 'bugs'.
Hi all first, I want to say that although I really hated unitronics at the beginning I am quite impressed by the capabilities of the PLC+HMI all in one. so, I am using the Linearization function as follows: I convert a timer into a numeric value and then ramp up or down some variable, in function of time, my values are X2,X1, Y2,Y1, X, Y...a simple linear function. let's have this example going from 6000 to 600 in a period of 5hrs, so the variables are as follow X2=0 (End value as timer goes to 0) X1=1800000 (timer value 5:00:00:00 loaded on ML) Y2 = 6000 Y1=600 So far is a simple Linearization larger time value =minimun value, smaller time value = maximum number value the time is going down while the output is going up? So the linearization function "works" but at some specific time values boom! the output ..overflows? The green line is the timer going down, about at a remaining time of 3:53:40 (1402000 in the ML) the output value of the LINEAR function suddenly increases by 2400 then goes back and then increases by 2400 again, this happened again at another time with another set of variables 3:00:44:13 (1084413 in the ML ) going from 3500 to 500 I know that the linear function has its limitations but even with these limitations I am working within the range : " Note ♦ The X and Y values must not exceed the range of -2147483648 to +2147483647. Known Issue Note that the Linearization function cannot be used in cases where one of the following is close to the value FFFFFFFF: One of the inputs An intermediate calculation" So in conclusion, I am doing something wrong, or is this some stupid bug?.... this particular issue was about to be catastrophic for my application I added a test program that runs on V700 hardware to demmostrate the issue TEST.vlp