Calculation in ScadaRapid

Forum Home Forums Development and Integration Calculation in ScadaRapid

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #5184
    Avatarthohuynh1512
    Participant

    Hi,
    I have 3 input channels. I want to create another input channel that it has result by take arithmetic average of those channels. With the new channel, i can display value of that channel in Web. How can i do?
    Thanks,

    #5186
    MikhailMikhail
    Moderator

    Hi,
    1. Add a new channel of Calculated real type.
    2. Set a formula of the new channel, for example, (Val(1)+Val(2)+Val(3))/3
    where 1,2 and 3 are existing channels.
    3. Add new channel to your user interface.

    #5187
    MikhailMikhail
    Moderator
    #5189
    Avatarthohuynh1512
    Participant

    Hi,
    In existing channels, i have to take channel number which existed, don’t i?
    Thanks,

    #5198
    MikhailMikhail
    Moderator

    You should refer existing channels in a formula of a new channel.

    #5201
    Avatarthohuynh1512
    Participant

    Unfortunately, i don’t know how to refer that. Please help me. I looked over all of parameters, but i don’t know where to refer

    #5202
    AvatarKrzysztof
    Participant

    Example
    Chanel 1 number 1011
    Chanel 2 number 1012
    Chanel 3 number 1013
    Create Chanel 4 with number 1014 or other and enter the formula:
    (Val (1011) + Val (1012) + Val (1013)) / 3

    #5206
    Avatarthohuynh1512
    Participant

    Hi,
    I’m done and it worked. Thank you very much.

    • This reply was modified 1 year, 4 months ago by Avatarthohuynh1512.
    • This reply was modified 1 year, 4 months ago by Avatarthohuynh1512.
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.