Ladder Diagram to control this process Program Description
RUNG000 is simply for latching a coil and master start-stop buttons.
RUNG003 is to control the outlet valve through O:2/1. This is done when Temperature is above 50°C. When
temperature is greater than 50°C, outlet valve starts draining the liquid. XIO of Level Low Switch is connected in
series so that when Level Low is detected, it goes true closing the outlet valve.
Similarly in RUNG001, it works exactly same. It is energized when Level Low is detected. The only
difference in RUNG001 is that extra I:1/14 contact in parallel with LLS.
Suppose when the system is started and the tank is partially filled, neither LHS nor LLS is detected, in this
case heater output does not get energized and heating is not controlled.
To eliminate this error, I:1/14 (Start) is connected in parallel to LLS I:1/1 contact. This checks if LHS (I:1/0) is
detected or not. If LHS is not detected, then it opens the inlet valve until LHS is detected and heating is started.
In RUNG002, heater coil O:2/2 energizes when LHS I:1/0 is detected and heating is started. This is done
until temperature reaches 50°C, O:2/1 is energized de-energizing O:2/2 which in turn stops heating.
Runtime Test Cases Inputs
Outputs
Physical Elements
I:1/1 = 1
O:2/0 = 1
Open Inlet Valve, Close Outlet Valve
I:1/1 = 0, I:1/0 = 0
O:2/0 = 1
None detected, Open Inlet Valve
I:1/0 = 0 & Temp. < 50°C O:2/2 = 1
Heater ON
Temp. ≥ 50
O:2/1 = 1
Open Outlet Valve
O:2/1 = 1
O:2/2 = 0
Heater OFF
PLC Program to Control Level of Series Tanks
This is a PLC Program to Control Level of Series Tanks.