10/12/2011 1:50 AM | |
Joined: 10/7/2005 Last visit: 9/5/2024 Posts: 3018 Rating:
|
Hello AutoNub a simple search on this subject at https://support.automation.siemens.compresents you with a solution that should fit your question like an old shoe as they say: How do you program a timer that retains the time value at STOP and counts on starting at the stored value? Note that the above is only out of many other Timers and Counters related FAQ collections, which are all listed at the top the above referencedpage (and may come in handy for future related questions that you may have on this subject). I hope this helps |
Cheers |
|
10/12/2011 2:54 PM | |
Posts: 22 Rating:
|
For whatever reason, a simple search using Mozilla (at least on my end) produces nothing but a blank white page. Using IE, I scanned through the first 4 pages of search results and found this and I also downloaded and viewed the P_FB115.zip from your response. Unfortunately, both of these show a different type of programming from what I'm familiar with. I'm interested in finding a ladder logic solution. I also still haven't read anywhere anything about a timer or counter block which retains its value even after power is shut off to the entire system (not just the conditions, but the entire PLC unit, PC, system--everything). I'm sure I'll eventually learn the visual basic or whatever programming language is being used on the thread in my first link, but I don't have time for that this week. I'm assuming there is a simple ladder logic solution that I'm just not clear about. I'm attaching a copy and paste of my custom counting ladder logic. Please let me know if it'll do what I want. As I understand it (based on PLC glossary and google search), when the initial condition is true timer "Runtime Accumulator" will begin counting, sending a true output "1" to the "ADD_DI" function block for every second the timer condition is true. If the timer condition goes false, it will stop timing and therefore will stop outputting a true "1" signal to the ADD_DI function block. Q80.5 will reset the timer when output Q80.5 from outside network is true. If timer condition goes false and resumes after some delay, timer will start timing again and the ADD_DI function block will begin adding +1 for every second that follows, counting up from its previously stored accumulated total. The value in "Total Cell Runtime" will be retained even when the output Q of the timer "Runtime Accumulator" goes false. It will also be retained even when power to the entire system is shut off (circuit breaker, power outage, etc). Please correct me if any of the above understanding is incorrect. Thanks in advance! |
This contribution was helpful to
1 thankful Users |
Follow us on