Try our online PLC Simulator- FREE. Click here now to try it. |
Learn quickly with our PLC Training DVD Series: on sale
Click here now for details! The Program Scan Let's watch what happens in this program scan by scan. Initially the tank is empty. Therefore, input 0000 is TRUE and input 0001 is also TRUE.
Gradually the tank fills because 500(fill motor) is on. After 100 scans the oil level rises above the low level sensor and it becomes open. (i.e. FALSE)
Notice that even when the low level sensor is false there is still a path of true logic from left to right. This is why we used an internal relay. Relay 1000 is latching the output (500) on. It will stay this way until there is no true logic path from left to right.(i.e. when 0001 becomes false) After 1000 scans the oil level rises above the high level sensor at it also becomes open (i.e. false)
Since there is no more true logic path, output 500 is no longer energized (true) and therefore the motor turns off. After 1050 scans the oil level falls below the high level sensor and it will become true again.
Notice that even though the high level sensor became true there still is NO continuous true logic path and therefore coil 1000 remains false! After 2000 scans the oil level falls below the low level sensor and it will also become true again. At this point the logic will appear the same as SCAN 1 above and the logic will repeat as illustrated above. Click here and view the animation to really learn! Learn quickly with our PLC Training DVD Series: on saleClick here now for details! |
||||||
copyright © 1996-2011 by Phil Melore.
All rights reserved. |