This is a PLC Program to implement a program for counting objects on the moving conveyor.
Counting Moving Objects on Conveyor
Objects are moving on the conveyor. We need to count the total number of objects collected at the end of conveyor and display it on the local control panel.
Write a PLC program for this application.
Problem Diagram
Problem Solution
Here we use PLC ladder program to implement this logic.
Mostly proximity sensors are used to detect the objects. Here we mount proximity sensor to detect the parts or objects moving on the conveyor.
Inductive sensor are mostly used to detect metal objects. For other type of objects, we use Capacitive proximity sensor for detecting the objects moving on the conveyor. We connect this sensor to the PLC and by using counter logic,we will count the number of objects and display the total number on the local control panel display.
Here we use UP counter for counting the collected Objects at the end of conveyor.
Note:- Here we considered simple application for counting objects. We considered proximity sensor for detecting the objects. Proximity sensor will sense the object and PLC UP counter will count the collected objects.
List of Inputs and Outputs
Digital Inputs
- Start :- I0.0
- Stop :- I0.1
- Proximity :- I0.2 (Objects detection)
- Counter Reset PB :- I0.3
Digital Output
- Cycle ON :- Q0.0
M memory
- Counter Reset :- M0.1
- Total Objects collected :- MW10
PLC Ladder Logic for counting Objects on the conveyor
Ladder Logic Explanation
For this application, we use S7-300 PLC and TIA portal software for programming. We can implement this logic by using other PLC also.
Network 1:
In first network we used latching circuit for cycle ON. Here we used START PB (I0.0 ) to start the cycle and STOP PB (I0.1) to stop the cycle.
Network 2:
PLC Counter instruction is used to count the number of objects. Proximity sensors are mounted near to the conveyor.
When an object comes near to the proximity sensor (I0.2), it will detect the object and output of the sensor becomes energize or changes to ON state.
When there will be no object near to the proximity sensor then output of sensor becomes de-energize or changes to OFF state.
PLC counter counts in the incremental way. Total counted Objects number will be stored in the memory word or register (MW10).
Note :- Above application may be different from actual application. This example is only for explanation purpose only. We can implement this logic in other PLC also. This is the simple concept of UP counter. By using this concept we can count objects moving on the conveyor or any other counting application. This logic is only part or for specific application logic only.
All parameters considered in example are for explanation purpose only, parameters may be different in actual applications.
Result
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:
- Automatic Mixing Controlling in a Tank
- Mitsubishi PLC Programming Tutorials
- STEP 7 PLC program using SIMATIC
- PLC Problems Troubleshooting
- Programmable Logic Controller
I like this page a lot. Really helpful
I have a project based on PLC with source code
How do you do it in Wiring diagram?