Using TOT block to calculate Energy in kWh from Power in KW

Ihtisham

Member
Join Date
Aug 2023
Location
Pakistan
Posts
3
I want to calculate the energy consumed from instantaneous power. Can this be done using the TOT block with timebase set to Hour?
 
I want to calculate the energy consumed from instantaneous power. Can this be done using the TOT block with timebase set to Hour?
Probably. The biggest problem is probably going to limited accuracy due to the precision of the REAL input. Perhaps TOT can take an LREAL input?

Did you read the description of the TOT instruction here?

Is this related to the other thread here?
 
I suspect you won't be happy with a time base of one hour. There will be lots of power variations in that time frame. Instead, consider using a minute time base and divide the results by 60 to get kWh.
 

Similar Topics

Hi, I wrote a sequence loop using EQU and MOV instructions and would like to validate that i'm doing this properly. i attached a picture of the...
Replies
13
Views
387
Hi I'm very new to PLC programming and I'm trying to find out if this library (Tc2_NcFifoAxes) is necessary for our task In our case we need to...
Replies
0
Views
54
I have a project to automate four generator sets. The system will monitor and store the load demand of the factory. Once there's Power outage, the...
Replies
0
Views
97
Adding ethernet equipment to an existing panel that has none. We have some solid ethernet cables coming from other remote cabinets that I plan to...
Replies
3
Views
156
I'm trying to control a device via MODBUS RTU and the ModbusRtuMasterV2_PcCOM in Twincat 3. I've configured a device with the right com port and...
Replies
7
Views
304
Back
Top Bottom