I have a little programming problem.
I use timers to pump product to our printerline (carpet industry), some tanks needs 12 seconds, some 10, some less, this was all tested at the moment we did the last software update. But, we have a problem. The problem is that I didn't set the timers retentive. Now that I did that, this happens: when the CPU starts-up, the timer continue it's time where the cpu stopped. That's no good. When the CPU start's up, nothing may functioning. Therefore, this question...
Can a timer presetvalue be variable ?
My idea is: when the cpu goes in stop at restarts, that u need to start again with a button, and then the timer must go on.
Can I write to a preset value of a timer ? How would u guys do this ?
I use timers to pump product to our printerline (carpet industry), some tanks needs 12 seconds, some 10, some less, this was all tested at the moment we did the last software update. But, we have a problem. The problem is that I didn't set the timers retentive. Now that I did that, this happens: when the CPU starts-up, the timer continue it's time where the cpu stopped. That's no good. When the CPU start's up, nothing may functioning. Therefore, this question...
Can a timer presetvalue be variable ?
My idea is: when the cpu goes in stop at restarts, that u need to start again with a button, and then the timer must go on.
Can I write to a preset value of a timer ? How would u guys do this ?