Capture Reading at a Certain Time of the Day

Forum Home Forums Understanding the Software Using Formulas Capture Reading at a Certain Time of the Day

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by Mikhail Mikhail 10 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3268

    pitch26
    Participant

    Hi, I am doing a data capture of an energy reading at a certain time of the day. I see 2 options if rapid scada is capable:

    1. Extract energy data from database at a certain time and reflect it in a new AI point.
    2. Capture reading using a formula that will automatically copy the energy reading at this certain time.

    I would like to know if these options are possible?

    Another also is the minute real under channel types. Can we make a formula for the channel types? Because I want to make energy reading faster than a minute like every 5 secs for I am using the system in a solar plant where power output is fluctuating greatly within a minute. Hope you can help me guys thanks. 🙂

    #3272
    Mikhail
    Mikhail
    Moderator

    Hi,
    Do you need to poll a device once a day? If possible, it’s better to poll a device all day in a cycle and get value what you need.

    Channel of the Minute real type calculates its value every minute. For example, if a formula is Val()+1, the channel value is incremented by 1 every minute.

    #3276

    pitch26
    Participant

    Do you need to poll a device once a day? If possible, it’s better to poll a device all day in a cycle and get value what you need.

    Channel of the Minute real type calculates its value every minute. For example, if a formula is Val()+1, the channel value is incremented by 1 every minute.

    What I did was I made a calculated energy reading by doing this formula:
    Val(1) – is the active power from the inverter
    Val(2) – is the energy (calculated)
    Channel Type – Minute Real
    Formula: Val(2)+(Val(1)/60)

    This formula increments every minute to whatever active power reading during that time. However, this is only applicable to power outputs who are constant and stable not with solar plants. Is there a way or a formula I can use to make a faster sampling to get more accurate energy calculated?

    I already made a time monitoring input channel that if the time is 6AM. My goal here is to capture the initial reading of the calculated energy I created at 6AM of the day and subtract it to the actual running energy counter in order for me to get the daily energy. Unless there is another way that you can suggest of getting the data from the system maybe through the historical database.

    #3281
    Mikhail
    Mikhail
    Moderator

    I can use to make a faster sampling to get more accurate energy calculated?

    Data are stored every minute by default. You can change this interval in SCADA-Server settings.
    But formula for a channel of the Real type calculates every time when data are received by Communicator and sent to the Server app.

    From a formula you can’t access historical data. You can save a value to another channel at 6am and then use this channel. Also you can develop or purchase a custom module that implement the required functionality.

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

You must be logged in to reply to this topic.