3/10/2025 8:52 PM | |
Joined: 6/11/2019 Last visit: 9/10/2025 Posts: 2628 Rating:
|
Hello AutoGen, I programmed something to make it easier to understand. The counting pulses (I1) are counted in counter B001 and multiplied by 10 in module B023 to minimize rounding errors when calculating the mean later. Since you don't get more than 700 in an hour, you stay below the limit of 32767. The pulse generator B002 delivers a pulse every 10 minutes. This triggers a bucket brigade memory and writes the count value into the first memory cell B017. Another trigger pulse pushes this value into the second memory cell B004 and takes a new value into B017, etc. Once this has happened, the pulse delayed by one cycle by M1 will reset counter B001. The arithmetic mean is calculated from the six values of the bucket brigade memory using modules B020 to B022. The result can then be divided by 10 or, as I did, displayed as a decimal point. I hope you can do something with this, Greetings Ella_68 AttachmentProduktzähler.zip (221 Downloads) |
This contribution was helpful to
1 thankful Users |
Follow us on