Hi,
Got an interesting one.
Have an array of parameter UDT's for different products. Product change is done on PV. New product is selected, writes value between 1 and 9 in variable, changeover button starts procedure. At certain point, right between old and new product, parameter change is done. Current parameters are stored and new parameters are loaded. Check if new product selection is between 1 and 9 before copying. Happened a few times now that the old values are stored and the working table is cleared (zeroed) without loading new values.
There is no clear/reset/delete programmed for the table, it just copies the new values into the table. None of the UDT's have zero values. So I'm wondering how the working table can get zeroed out?
Got an interesting one.
Have an array of parameter UDT's for different products. Product change is done on PV. New product is selected, writes value between 1 and 9 in variable, changeover button starts procedure. At certain point, right between old and new product, parameter change is done. Current parameters are stored and new parameters are loaded. Check if new product selection is between 1 and 9 before copying. Happened a few times now that the old values are stored and the working table is cleared (zeroed) without loading new values.
There is no clear/reset/delete programmed for the table, it just copies the new values into the table. None of the UDT's have zero values. So I'm wondering how the working table can get zeroed out?