# Calc value from multiple device

Forum Home Forums Understanding the Software Using Formulas Calc value from multiple device

Viewing 12 posts - 1 through 12 (of 12 total)
• Author
Posts
• #8574

Hi Mik,

How can I calculate value from another device? Let say I have 3 device and want to sum Total KW from each machine.

Thank you,

#8576

New Channel, use formula
Val(Channel_machine_1)+Val(Channel_machine_2)+Val(Channel_machine_3)

#8668

Hi Manjey,

I tried like this. create new channel in Input channel machine 1. I put on the last table row no 163, channel type = real, object = Enterprise, Formula used = checked, Formula = Val(131)+Val(231)+Val(331). and I add on my table input channel 163. But when I open rapidscada view. the value just show —-. Is there any step that I missed?

#8676

Hi,
Screenshots of the existing settings would help.

#8686

Hi,

#8701

Hi,

Set the type of channel 163 to “Calculated real”, and set Signal to blank.

#11319

Hello,

I want to sum two channels,

the values keep increasing,

Both are channels without signal,

Both are real calculated type, one of them is based on a value with signal.

Basically I want that when the value of one of them changes, the result will be added,

Could you help me, thank you

I attach pictures

#11323

Hello,
Formula of the channel 532 refers itself.

#11334

Hello,

I have the following query,

If a channel receives an actual value of 100.0 continuously and after some time the same channel receives a value of 200.0

Is there a way to sum these specific values?

i.e. 100.0 + 200.0?

Thank u

#11357

Hello,
It’s possible, but more tricky. Check the averaging formulas.

#11374

Hello,

I have incorporated the table of formulas,

They work correctly,

I get the average using these 2 formulas,

MovAvg(5); AvgStat()

TimeAvg(10, 5); AvgStat()

>

I have been playing with them in order to get the sum of 2 values at the change of an input channel,

What I am trying to do is for example that, during 1 hour I get on one input channel 100.0 and after another hour I get 200.0, on the same input channel,

I try that another input channel picks up the sum of these 100.0 + 200.0

>

In the first input channel (904) where I receive the values to be added,
I put the formula

MovAvg(2); AvgStat()

In the second input channel (905) in order to obtain the sum, I put the formula,

Val(904) *2

I do not obtain the expected result,

I hope you can help me with this, thank you

#11408