8/9/2023 6:09 AM | |
Joined: 8/3/2017 Last visit: 6/11/2024 Posts: 1086 Rating:
|
Hello Franck, I don't think anyone will write a code for you in their free time. 🙈 BR, |
Please, check out the forum search to find already existing topics regarding your issue and to get some hints. |
|
8/9/2023 4:21 PM | |
Joined: 2/10/2015 Last visit: 5/16/2025 Posts: 291 Rating:
|
Hi, you're right, I'm trying, since he already gave me the idea, I think it can help me. Thank you very much. |
8/10/2023 6:44 PM | |
Joined: 5/6/2010 Last visit: 8/31/2025 Posts: 2029 Rating:
|
Hello Franck, at the atachment you can find a archive of the project. Short explanation: The OB10 (TimeOfDay-Interrupt) will start every hour, starting today at 00:00. At the OB10 can you find the calculation for your value. It run's every hour and calculate the production value of the last hour. All the values are saved at a DB in the format UDINT. Hope this is a helpful start to improve your programming knowledge. regards AttachmentTestSaveValue_20230810_2031.zip (566 Downloads) |
Follow us on