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

Viewing 9 posts - 1 through 9 (of 9 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
    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
    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.

    #8719
    SGG
    Participant

    Hello Mikhail,

    How do i set a channel to capture the value of another channel once every month (at the beginning of the month, between the first 15 minutes of the new month)?

    Thanks

    #8723
    Mikhail
    Moderator

    Hello,

    Use the formula:
    MonthBeg() ? Val(101) : Val()

    where 101 is the referenced channel.
    You can find MonthBeg implementation in the Formulas table if interested.
    The channel must be of the calculated real or calculated discrete type.

    #10076
    panggah
    Participant

    hello,

    is it possible to reading only 1 hour of the day at certain times?

    for example :
    the channel (e.g kWh) only reading from 09.00 AM to 10.00 AM in one day.

    #10079
    Mikhail
    Moderator

    Hello,

    In Communicator you can set a particular time when to poll a device.
    But there is only 1 time per day.
    To poll the second time, it’s possible to send a polling command using Automatic Control Module.

    #10080
    Mikhail
    Moderator

    To read a device in a period of time, send a polling commands using Automatic Control Module. Also you need an input channel that is set to 1 to trigger a command.

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