Create a channel with increment per minute using the value of a variable as step

Forum Home Forums Understanding the Software Using Formulas Create a channel with increment per minute using the value of a variable as step

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #10078
    njalbarran
    Participant

    Hi, I need to create a channel with increment per minute using the value of a variable as step. I tryed to use the following formula.

    Val()+1 with channel type MinuteReal, the formula works, the channel increase one by minute, 1;2;3;4;5…etc.

    when i try to use a other channel value as step of increase , for example

    Val()+Val(XXXX)

    The value dont increase, only calculate everyminute.

    • This topic was modified 2 years, 2 months ago by Mikhail.
    #10083
    Mikhail
    Moderator

    Hi,
    Val()+Val(XXXX) should work. Please provide a screenshot of the input channel properties.

    #10084
    Mikhail
    Moderator

    Such formula can help to calculate power consumption by adding a current power every minute, for example.

    #10087
    njalbarran
    Participant

    I configured the channel follow

    as you said me, i want to calculate the volume of water using the flow every minute.

    #10088
    njalbarran
    Participant

    • This reply was modified 2 years, 2 months ago by njalbarran.
    #10090
    njalbarran
    Participant

    The result is like this

    #10091
    Mikhail
    Moderator

    The Signal field of the calculated channel (7446) must me empty.

    #13860
    grhsc
    Participant

    Such formula can help to calculate power consumption by adding a current power every minute, for example.
    – yes!

    Sorry for reopening this topic
    I need this feature, but the pictures can’t be viewed, and I still don’t know how to do it.

    For example, channel 107 is the instantaneous value of motor power, such as 100kw/h, and it keeps changing.
    If it samples every minute, I want to use 107/60 minutes and accumulate, the power consumption calc by minutes for 1 hour.

    Hope to get your help.

    #13864
    Mikhail
    Moderator

    In Rapid SCADA the general syntax of the formula would be
    EveryMin(() => MyFunc())

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.