4/29/2016 10:38 PM | |
Joined: 10/10/2010 Last visit: 7/5/2025 Posts: 309 Rating:
|
how to set a one year timer in s7-300???? |
4/29/2016 11:12 PM | |
Joined: 5/28/2008 Last visit: 9/3/2025 Posts: 4522 Rating:
|
Hello, Another way, You can use OB10 and execute it once every month for instance / every day at certain hour. And inside OB10, make a counter and when it reaches to 12 if called every month or 365 if called every day, then it means that One year have been ended. But take care that PLC should be powered on all the time specially during execution set time of OB10, otherwise, it will make wrong calculations. And a third way, is to use Read clock and date and compare date function. Tips and tricks for reading and comparing date, time and counters Hope this helps. |
Ayman Elotaify |
|
This contribution was helpful to
7 thankful Users |
Follow us on