Forum Home › Forums › Understanding the Software › Using Formulas › Capture Reading at a Certain Time of the Day
- This topic has 8 replies, 4 voices, and was last updated 2 years, 2 months ago by Mikhail.
-
AuthorPosts
-
March 8, 2018 at 2:43 am #3268pitch26Participant
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. ๐
March 8, 2018 at 3:47 pm #3272MikhailModeratorHi,
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.
March 9, 2018 at 2:13 am #3276pitch26ParticipantDo 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.
March 9, 2018 at 2:23 pm #3281MikhailModeratorI 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.
April 12, 2021 at 7:12 pm #8719SGGParticipantHello 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
April 13, 2021 at 3:29 pm #8723MikhailModeratorHello,
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.February 16, 2022 at 3:05 pm #10076panggahParticipanthello,
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.February 18, 2022 at 1:18 pm #10079MikhailModeratorHello,
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.February 18, 2022 at 1:19 pm #10080MikhailModeratorTo 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.
-
AuthorPosts
- You must be logged in to reply to this topic.