but I want to
increase the value for example every hour. The time have to be
variable so I need a calcout timer to count for example every 10
second from 0 to 50 and then to increase the value step by
step. My problem is how to realise this with two records. One
have to increase +1, then go to the timer record and wait for
example one hour set value and again: increase +1, then process
timer or counter for slowly periodic scan, set value.
On 26/08/2015 11:39,
[email protected] wrote:
Hello,
I
want to set a value like 200 ampere and increase the current
value slowly but how?
I
have a timer-record with a PROC field with the option
"transition to zero". A second record increase the value
every time. Is it possible to create records like this:
•
Calcout1 timer: scan every second from 1 to 10
•
-» then process Calcout2 (via PROC field, without SCAN
field) from 1 to 3
•
Calcout2 have to wait, process Calcout1 again...
In the ao record that is setting your value, set the field SCAN
to "1 second" (or how often you want to "slowly" update) and the
field OROC to the step size that you want to the value to change
every time (e.g. 0.1).
No other records needed.
Now, when you write a value like 200 to that record, the output
will step up by 0.1 every second. (Or whatever step size and
update rate you configured.)
Hope this helps,
~Ralph