PLC - SCADA PART 19 | Controlling Water Level in the PLC Ladder Logic Program | Timer Example

Home Videos PLC - SCADA PART 19 | Controlling Water Level in the PLC Ladder Logic Program | Timer Example
PLC - SCADA PART 19 | Controlling Water Level in the PLC Ladder Logic Program | Timer Example

Basics of PLC timer- PLC timers are instructions that provide the same functions as on-delay and off-delay mechanical and electronic timing relays. A PLC timer provides a preset delay to the control actions. In general, there are three types of PLC timer delays, ON-delay timer, OFF-delay timer and retentive timer on. The terms represented in the timer block in the PLC are a Preset value which means the delay period of the timer, an Accumulated value which is the current delay of the timer. A timer begins the counting on time-based intervals and continues until the accumulated value equals the preset value. When the accumulated value equals the preset time the output will be energized. Then the timer sets the output. Example of timer – PLC Program to Control Level of a Water Tank Problem Description One open tank is installed in the plant of which liquid level is to be controlled. When level reaches the Level Low, Outlet flow is blocked and inlet flow is allowed until high level is achieved. And when Level High is detected, outlet flow is allowed and inlet flow is blocked. Problem Solution To detect high and low level of liquid in the tank, two level switches are used which gives output in digital terms, that is when corresponding levels are detected, it gives output high otherwise remain low. To control level of this system, Single Acting piston valve can be used which has two states, either fully open or fully close. Low Level Switch is mounted at the bottom of the tank and Level High switch mounted at the side upper most position. When this inputs are detected, output to Control Valve has to be latched in order to continuously fill or empty the system. Master start/stop is also provided to shut down or start the entire process. PLC Program Here is PLC program to Control Level of a Single Tank, along with program explanation and run time test cases. List of Inputs and Outputs I:1/0 = Level High Switch (Input) I:1/1 = Level Low Switch (Input) O:2/0 = Inlet Valve (Output) O:2/1 = Outlet Valve (Output) I:1/14 = Start (Input) I:1/15 = Stop (Input) Program Description RUNG000 is simply for latching a coil and master start-stop buttons. RUNG001 is to control the outlet valve through O:2/1. This is done when Level High is detected. Latching of Output O:2/1 is done because when High Level is detected, input to RUNG001 is temporary, like Push Button. So in order to keep outlet valve open until the Level Low I:1/1 is detected, latching is done. 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 RUNG002, it works exactly same. The only difference in RUNG002 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, outlet and inlet valves remain closed while inlet valve should open to start filling the tank because it’s partially filled. 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. Follow Us On : Google Reviews : https://goo.gl/LxpEsU Facebook : https://www.facebook.com/wscubetech.india Twitter : https://twitter.com/wscube Linkedin : https://www.linkedin.com/company/wscube-tech Google + : https://plus.google.com/+wscubetechjodhpur Youtube : https://www.youtube.com/c/wscubetechjodhpur Website : http://wscubetech.com