4/6/2020 8:24 AM | |
Joined: 12/3/2018 Last visit: 1/22/2024 Posts: 76 Rating:
|
And the test program with fixed 10kW for check out:
AttachmentTest4 (10kW fixed).zip (368 Downloads) |
4/6/2020 1:15 PM | |
Joined: 2/22/2008 Last visit: 8/6/2024 Posts: 2698 Rating:
|
There was a timing problem, when adding higher power values, then the counter gets no clock signal sometimes, too often. The problem is solved, but you have to clean up the diagram. Now there is an asynchronous adding and subtracting inserted. The cycle timer is 1s again, 0.99s on and 0.01s off. The positive edge is used for adding. With the cycle timer an additional timer is started, creating 4 impulses after 0.1s, 0.3s, 0.5s and 0.7s. These impulses are to subtract the values >3600, this is 14400 W maximum. If this is not enough, then you can reduce TH and TL to 0.05s to increase the amount up to 8. The complete time must be within the high signal of the cycle timer. I have tested it in a real Logo, exactly 10000 kWh after an hour. After testing you must rebuild the old connections for the right calculation, deleting the stopp watch and creating your desired display. Good luck, Scorp AttachmentTest5.zip (316 Downloads) |
4/6/2020 8:00 PM | |
Joined: 2/22/2008 Last visit: 8/6/2024 Posts: 2698 Rating:
|
In attachment the final program for you, i hope. The threshold trigger for the sensor is also good with a gate time of 1s, but directly connected to the power calculation block. The new timers are placed in upper position to see the connections directly. Regards, Scorp AttachmentTest6.zip (324 Downloads) |
4/7/2020 8:49 PM | |
Joined: 12/3/2018 Last visit: 1/22/2024 Posts: 76 Rating:
|
After a day of testing I think that`s it. Scorp, ixo65 and the others, thank you very much. |
Follow us on