8/31/2018 1:48 AM | |
Joined: 9/9/2015 Last visit: 4/11/2024 Posts: 727 Rating: (268) |
Dear Boost34, I am not sure what is inside PAC library, but I could achieve it with few blocks. 1st, drag a clock block in your program. Define your Start time, and end time. For example, start time = Hour ==08, Minutes = 00, seconds=0. and End time = 07, minutes = 59, seconds = 59. You can use a compare block to achieve the bit. Then you can use a totalizer block to represent the consumption. For example, Daily consumption, assume that you use TotalL, you can connect kW to In. Then reset the Out by using RstLi when the time hit 07:59:59. It will give you the result of Day Energy consumption. Hope it helps. When I have time, I will do some screenshot for you later. Regards, Jaz |
Please give me 5 stars Rating if my post is helpful for you. :) |
|
8/31/2018 6:32 AM | |
Joined: 3/14/2008 Last visit: 4/24/2024 Posts: 2065 Rating: (927)
|
Hi Boost34/JazTai. Rather than using a couple of blocks like a clock block, I suggest you will use the standard APL block: "TimeTrig". The area of application of this block: Daily, weekly or monthly generation of a pulse (trigger) using a definable time in hours (0 to 23h) and day of the week (Sun to Sat) or one day (1 to 31) per month. Delayed generation a pulse (trigger) based on the current CPU time and a delay time in seconds (0 to 20 days). With the trigger from TimeTrig, you can use it to generate a report in WinCC. In the report designer you can connect the tags from your PAC blocks. It ready features IO like TotalPower. Then you are already done!
|
If I could help you, you can use the RATE button. Thank you. |
|
This contribution was helpful to2 thankful Users |
Follow us on