Hi guys!
I'm looking for your suggestion on the most efficient way to generate a monthly kWh report from a Modbus Energy Meter. Currently, I am using a brand-less Modbus EM that I got online for testing. It already has the kWh parameter on its register table so at first glance, this should be easy since I only need to record the kWh recorded in the EM by the end of the month. However, what got me thinking is what happens once I move to the next month since the kWh recorded will not reset and will just continue to increment (I am assuming that that's how the EM will work since it did not say anything in the manual about it resetting automatically). That being said, I cannot just use the logic of me getting the recorded kWh from the EM every end of the month because it will only be accurate during the first month.
Another way that I thought was to store the recorded kWh before the month jumps to the next one and just subtract it to the latest recorded kWh once the latest month ends (and then repeat the same process before it jumps to the next month). Right now this is the only idea that I think will work. Do you guys have other idea on how to approach this that might be more efficient?
Thank you.
I'm looking for your suggestion on the most efficient way to generate a monthly kWh report from a Modbus Energy Meter. Currently, I am using a brand-less Modbus EM that I got online for testing. It already has the kWh parameter on its register table so at first glance, this should be easy since I only need to record the kWh recorded in the EM by the end of the month. However, what got me thinking is what happens once I move to the next month since the kWh recorded will not reset and will just continue to increment (I am assuming that that's how the EM will work since it did not say anything in the manual about it resetting automatically). That being said, I cannot just use the logic of me getting the recorded kWh from the EM every end of the month because it will only be accurate during the first month.
Another way that I thought was to store the recorded kWh before the month jumps to the next one and just subtract it to the latest recorded kWh once the latest month ends (and then repeat the same process before it jumps to the next month). Right now this is the only idea that I think will work. Do you guys have other idea on how to approach this that might be more efficient?
Thank you.