Deutsch - Hardware > easyE4

monthly counter

(1/1)

srd:
i am trying to do a program in LD that counts a pulse from a water meter from the 1st apr until the 31st oct, i need to show on the screen the saved reading for each month and then on the 1st of april all saved totals reset and start again until october. i kknow i can save the total as a mw but how can i show each month and have them all saved on the screen until the start of the next count year. so for example star counting the pulses for april and when the may starts we want the april count to stay on the screen until the cycle starts again next year and thiis is to happen with each month. Cheers

weiss_nix:
Hi srd.

You will find a programming approach in the appendix.
The counters must be set remanently. For the months to be counted, you only have to copy networks 2-4 and parameterize them accordingly.

But I think that the project could be solved much more elegantly in ST.

Regards

Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln