A bank having three counters for Deposit /Withdraw cash in which totally 15 people are allowed for a day. When people count reaches 15, display will show Counter Closed and should not allow the 16th person to check-in. Develop a suitable program for this plc programming example.
Latching rung to operate the system through Master Start and Stop PB.
When a person enters Counter 1, Sw 1 is pressed by the bank person to make count .One shot is used to give single pulse input which will be store in O:0/1
When a person enters Counter 2, Sw 2 is pressed by the bank person to make count .One shot is used to give single pulse input which will be store in O:0/2.Counter done bit is used to restrict the 16th person to enter.
When a person enters Counter 3, Sw 3 is pressed by the bank person to make count .One shot is used to give single pulse input which will be store in O:0/3
Collected outputs from the above rungs are accumulate in Counter block. Comparator block is used to limit the count by 15.
Counter (C5:0) done bit is used to refresh the Process from beginning
Program runs continuously until STOP PB is pressed.
The above explained Bank counter using PLC is for example only. It may vary from real time. We can use this example program to understand the working of Counters function in AB PLC.
If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.
You can also follow us on Facebook and Twitter to receive daily updates.
Read Next:
PLC ladder logic design to control 3 motors with toggle switch and explain the program…
VFD simulator download: Master the online tool from the Yaskawa V1000 & programming software for…
The conveyor sorting machine is widely used in the packing industries using the PLC program…
Learn the example of flip-flop PLC program for lamps application using the ladder logic to…
In this article, you will learn the STAR DELTA programming using PLC controller to start…
Lube oil consoles of rotary equipment packages in industrial process plants are usually equipped with…