• Not Answered

How to move a value?

How can I move a value of flow totalizer at particular time?

2 Replies

  • Use TIMER, ACTION or CALC Block

    1. Create a Output Parameter "FLOW_STORE"
    2. Add TIMER Block and set a specific time
    3. Add ACTION Block and write expression like
    IF "Timer Output Parameter" THEN
    FLOW_STORE := Totalizer value;
    END IF
    4. once complete, click the "Parse" button. error must be zero then only your expression is fully correct.
  • As "a particular time" do you mean a TOTAL value from the past is required???
    If so, you can use a DT block (Dead Time function block). Wiring INTEGRATOR block OUT into DT/IN and setting desired delay X into DT block provides TOTAL value X seconds in the past.
    With this you don't have to wait for X time intervals to get a new value. Notice that DT supports download without resetting t's critical values so you don't need to wait for X time after a download to get first "good" value.
    DT block also provides some useful functions, as FOLLOW_IN. When this is set to TRUE, DT/IN is passed to DT/OUT without delay, allowing to activate delay programatically. (Check books online to get better understanding on Dead Time Block(