Home » PLC Program for Counting Moving Objects on Conveyor
PLC Tutorials

PLC Program for Counting Moving Objects on Conveyor

This is PLC Program to implement program for counting of 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 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/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

sensor for detecting the objects PLC Objects Conveyor

Program Description

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

Simulation for Counting Objects on Conveyor

Author : Bhavesh

Articles You May Like :

Automatic Mixing Controlling in a Tank

Mitsubishi PLC Programming Tutorials

STEP 7 PLC program using SIMATIC

PLC Problems Troubleshooting

Programmable Logic Controller

Related Articles

Oil and Water Separation Process using PLC Programming

S Bharadwaj Reddy

PLC Timer Instructions

S Bharadwaj Reddy

Distributed Control System Interview Questions

S Bharadwaj Reddy

SCADA Multiple Choice Questions

S Bharadwaj Reddy

Contacts and Coils in PLC Ladder Logic

S Bharadwaj Reddy

Free PLC Training Software Download

S Bharadwaj Reddy

1 comment

Belvin Anderson November 8, 2019 at 1:07 am

I like this page a lot. Really helpful


Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

PLC Program for Counting Moving Objects on Conveyor

WordPress Image Lightbox
Send this to a friend