PLC Tutorials

PLC Program for Counting Moving Objects on Conveyor

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

PLC Program for Counting Objects on Conveyor

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

Author: Bhavesh

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:

You've successfully subscribed !

View Comments

Share

Recent Articles

  • PLC Tutorials

Conveyor Sorting Machine PLC Program with Calculation Function

The conveyor sorting machine is widely used in the packing industries using the PLC program…

4 days ago
  • PLC Tutorials

Example of Flip-Flop PLC Program for Lamps Application

Learn the example of flip-flop PLC program for lamps application using the ladder logic to…

5 days ago
  • PLC Tutorials

STAR DELTA Programming using PLC Controller

In this article, you will learn the STAR DELTA programming using PLC controller to start…

5 days ago
  • Instrumentation Design

Single and Three Phase Immersion Electrical Heaters Wiring Circuits

Lube oil consoles of rotary equipment packages in industrial process plants are usually equipped with…

2 days ago
  • Instrumentation Design

Immersion Heaters in Lube Oil Consoles

Rotating equipment packages such as pumps, compressors, turbines need the lube oil consoles for their…

4 days ago
  • PLC Tutorials

How to Blink Lights in Ladder Logic?

This article explains how to blink lights in ladder logic with a detailed explanation video…

4 weeks ago