Calculation in ScadaRapid

Forum Home Forums Development and Integration Calculation in ScadaRapid

This topic contains 7 replies, has 3 voices, and was last updated by Avatar thohuynh1512 8 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #5184
    Avatar
    thohuynh1512
    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
    Mikhail
    Mikhail
    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
    Mikhail
    Mikhail
    Moderator
    #5189
    Avatar
    thohuynh1512
    Participant

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

    #5198
    Mikhail
    Mikhail
    Moderator

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

    #5201
    Avatar
    thohuynh1512
    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
    Avatar
    Krzysztof
    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
    Avatar
    thohuynh1512
    Participant

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

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.