Friedmutant
Member
Hello All,
I inherited a S7 300 project at work after the previous guy left. I'm completely new to PLCs but have been trying to ramp up for a few weeks now.
I'm currently stuck in trying to figure out this logic: Given input 0.0, energize output coil for 5 minutes. After 5 minutes if input 0.0 is still set, then restart the timer. Keep doing that forever. If input 0.0 drops, then don't restart the timer after the current one expires.
I thought this would be simple but my first efforts failed. I think the problem is that the timer will only restart on a rising edge, so if my input stays high, I will only get 1 run of the timer. That's my guess at least. Either way, I am totally stumped. Any help would be very much appreciated.
I inherited a S7 300 project at work after the previous guy left. I'm completely new to PLCs but have been trying to ramp up for a few weeks now.
I'm currently stuck in trying to figure out this logic: Given input 0.0, energize output coil for 5 minutes. After 5 minutes if input 0.0 is still set, then restart the timer. Keep doing that forever. If input 0.0 drops, then don't restart the timer after the current one expires.
I thought this would be simple but my first efforts failed. I think the problem is that the timer will only restart on a rising edge, so if my input stays high, I will only get 1 run of the timer. That's my guess at least. Either way, I am totally stumped. Any help would be very much appreciated.