5/29/2013 6:01 AM | |
Posts: 32 Rating:
|
hi,good day all, am programing a totalizer block using int_p ,i want to reset it daily and monthly, please advise me how to get the current day ,hour etc
|
6/10/2013 2:32 PM | |
Posts: 836 Rating:
|
Just use the system functrionREAD_CLK... |
12/19/2014 8:52 PM | |
Joined: 1/28/2009 Last visit: 4/22/2025 Posts: 6867 Rating:
|
For transitions, you can try SFC1 or Time-Of-Day Interrupts OB1X.More information can be found in the following links: Schedule output pulse signal at the end of the year If you are using CFC, develop your logic in an FC and import it to the CFC editor.Also possible to call SFC1 in CFC and then transfer the output to a global DB area and do the transition checks. |
12/20/2014 7:56 PM | |
Joined: 3/14/2008 Last visit: 4/18/2025 Posts: 2186 Rating:
|
Just my opinion....but I would use SCL logic to create a FB block which you can use in CFC. |
If I could help you, you can use the RATE button. Thank you. |
|
5/7/2015 10:04 AM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4766 Rating:
|
|
Follow us on