Industry Online Support
Technical Forum
10/4/2010 9:36 PM | |
Joined: 7/28/2010 Last visit: 4/25/2023 Posts: 184 Rating:
|
Lily, 1. Define a Double Integer in a Data Block. 2. On Positive Edge Trigof the input, increment that value 3. Setup an on delay timer that goes on every 30 minutes. You can have two timers which one will start the other one every 30 minutes and vice versa 4. Setup a DB which you can save the Date & time of the Day besides the Meter Counter. 5. Setup a function that canread Date & Time andsave it in Data Block 6. Every 30 minutes read Read the Date & Time of CPU and read teh eter Counter and save it in Data Block 7. Make sur you have enough room in your DB for 7 months Is the only task that CPU is taking care of? Ifthe answer is Yes, you may consider replacing this powerfulcpu with something cheaper or even change your method? Regards, Behnam CPU315 <-> S120, How????? |
Last edited by: Behnam R at: 10/4/2010 9:38 PM |
|
Follow us on