[Rung 0] Title=This a 2 pump fail safe program Comment=If a low level exists and the pump fail bit is not set, turn on Pump 0 0=3|0|RungNode 1=21|0|LEQ|FCZ,I,0,1,100|If Low Level|Input<100 2=3|0|RungNode 3=7|0|XIO|B,0,0|open if fail| 4=3|0|RungNode 5=8|0|OTE|O,0,0|Turn on|Pump 0 6=3|0|RungNode [Rung 1] Title= Comment=If a low level exists, start a 5 minute timer 0=3|0|RungNode 1=20|0|LES|FCZ,I,0,1,100|If Low Level|Input <100 2=3|0|RungNode 3=12|0|TON|T,0,3,30000||5 min. Timer 4=3|0|RungNode [Rung 2] Title= Comment=If the low level still exists and the timer has expired, and the failure bit is not set, turn on Pump 1 0=3|0|RungNode 1=21|0|LEQ|FCZ,I,0,1,100|If Low Level|Input <100 2=3|0|RungNode 3=6|0|XIC|T,0,2||Timer 0 done 4=3|0|RungNode 5=7|0|XIO|B,0,0|open if fail| 6=3|0|RungNode 7=8|0|OTE|O,0,1|Turn on|Pump 1 8=3|0|RungNode [Rung 3] Title= Comment=When Pump 1 starts, turn on Timer 1 for 5 minutes 0=3|0|RungNode 1=6|0|XIC|O,0,1|Pump 1 On| 2=3|0|RungNode 3=12|0|TON|T,1,3,30000|5 min. Timer| 4=3|0|RungNode [Rung 4] Title= Comment=If the low level still exists after timer 1 has expired, set the Pump Fail bit which turns off both pumps 0=3|0|RungNode 1=6|0|XIC|T,1,2||Timer 1 done 2=3|0|RungNode 3=9|0|OTL|B,0,0|Set Fail Bit| 4=3|0|RungNode [Rung 5] Title= Comment=Pressing Reset switch resets the Pump Fail bit, which restarts the pumps 0=3|0|RungNode 1=6|0|XIC|I,0,0|Momentary|Reset Switch 2=3|0|RungNode 3=10|0|OTU|B,0,0|Reset Pump|Fail Bit 4=3|0|RungNode