how to save a value to memory
i am using 800xa , i have an anlog value , i want to creat a bool to show the value is increasing or decreasing , i want to save the value to memory and then compare it with the real value after 3 seconds and the comparison will show if the saved value is less than or greater than the new value , any other way to know if a value is increasing or decreasing ?
Answers
Hello.
If you have any controllers in your system, it can be done. I show you how do this with AC800M controller, but I think any controller can provide same function.
If Signal_Old > Signal then
Greater := True;
Else
Greater := False;
End_If;
Signal_Old := Signal;
Assign this code to a task with is running every 3000ms.
by backdraft
Is this in PG2 Graphics or on any Controller (which Type?) or PLC connect?
Add new comment