I am trying to calculate max values but I keep encountering a circular reference error. I have gotten around it by using the ‘Data Snap’ object and using snapValue < inputValue as my snap property and it works great. This is, until I put an OR statement on the snap property to reset it using a button. That crashes the entire program.
Does anyone have any advice on storing a Max value from a PLC tag?