This is PLC Program to implement program for counting of objects on the moving 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 PLC program for this application.
- 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.
Here is PLC program for counting of Objects on the conveyor.
List of inputs/outputs
- Start:- I0.0
- Stop:- I0.1
- Proximity:- I0.2 (Objects detection)
- Counter Reset PB:- I0.3
- Cycle ON:- Q0.0
- Counter Reset:- M0.1
- Total Objects collected:- MW10
Ladder Logic for counting Objects on the conveyor
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.
Runtime Test Cases
Author : Bhavesh
- PLC Program to Count and Pack Objects from Conveyor
- PLC Program for Daily Production Record
- PLC Program for Food Processing Industry
- PLC Counter Instructions
- PLC Program for Automatic Bottle Rejection System
- PLC Program for Controlling Conveyors ON Sequence and OFF Sequence
- PLC Program using Counters
- PLC Program for Alternate Output Circuit
- PLC Program for Conveyor System
- PLC Program to Control Level of Two Tanks