C’mon over to https://realpars.com where you can learn PLC programming faster and easier than you ever thought possible!
PLC Programming Tutorial for Beginners_ Part-2
In this lesson we will learn how to write a PLC program using an “S7 300” PLC and “STEP 7” software.
We have two pumps which are being used to transfer two separate liquids into this tank.Inside the tank there are two level switches installed in the lower and upper parts of the tank respectively.
There is also an electrically powered mixer inside the tank which starts working for a defined period of time, mixing the two liquids together after the tank has filled.
We also have a discharge valve in the bottom of the tank which controls the draining of the liquid from the tank.
When the level of the liquid drops to the level of the switch’s position the contact closes, sending a 24 volt DC signal to the PLC input.
We want to write the program so that when the level of the liquid reaches this minimum, the pumps will be activated and begin filling the tank with the liquids.
The pumps continue filling the tank until the level reaches its maximum at the higher level switch. When this happens the open contacts in the switch will be closed and another 24 volt signal will be sent to the PLC input telling us that the tank is full.
When this signal has been sent, first the pumps should shut down so that no more liquid enters the tank, and then this mixer should be turned on.
We want the mixer to operate for seven seconds, mixing the liquids that have been pumped into the tank.
After seven seconds the mixer should automatically shut down and this discharge valve should open.
With the valve open the liquid will be discharged from the tank and transferred to another location within the factory to be processed.
When the level of the liquid in the tank drops to the minimum set level of the lower switch, the switch contacts will close again thus starting a repeat of the cycle!
To stay up to date with our last videos and more lessons, make sure to subscribe to this YouTube channel:
Like us on Facebook: https://www.facebook.com/therealpars/
Follow us on Twitter: https://twitter.com/realpars
Follow us on LinkedIn: https://www.linkedin.com/company/realpars