March 15, 2026

Automatic Ball Counting, Box Filling, and Packaging System using Schnieder PLC and HMI

Problem Statement

In industries where small objects like balls (plastic, rubber, or metal) need to be counted and packed, manual counting leads to:

Human errors in counting

Time-consuming process

Inconsistent packaging

Increased labor costSo, an automated system is required to accurately count balls, fill bxes, and package them efficiently with minimal human intervention.

 Objective

To design an automated system using PLC

To count balls accurately using sensors

To fill boxes with a predefined number of balls

To automate box movement and packaging

To monitor and control system using HMI

System Components

Software-Based System (Simulation Model)

This project is developed using a PLC simulation environment and HMI interface, without physical hardware implementation. The system behavior is designed and tested virtually.

 

Software Used

PLC Programming Software (e.g., Control Expert classic)

HMI Design Software (e.g., Vijeo Designer)

Virtual Components Used

Since this is a simulation, all components are represented digitally:

Virtual PLC Executes ladder logic program

HMI Screen Used to control and monitor system

Virtual Sensors (IR/Proximity) Simulated input signals for ball detection

Virtual Conveyor Motor Represented through output indicators

Virtual Limit Switch Detects box position in simulation

Internal Counters G Timers Used for counting and sequencing

 

System Nature

No physical wiring or hardware used

All inputs/outputs are simulated using software

HMI acts as the main interface for control and monitoring

Working Principle

Balls are placed on a conveyor belt.

Conveyor motor starts moving balls forward and second Conveyor motos start with same time to move a box forward.

A sensor detects each ball passing through a point.

PLC counts each ball using sensor signals.

When the count reaches a preset value (e.g., 10 balls):

Conveyor stops

Balls are dropped into the box

A limit switch ensures the box is in position.


After filling:

Conveyor restarts

Filled box moves forward for packaging

The next empty box is positioned automatically

Cycle repeats

 

Ladder Diagram for the application













 



Explanation

The system is controlled using a PLC and monitored using an HMI screen. When the START button is pressed from the HMI, the PLC activates the conveyor motor and begins the process.

 

As balls move on the conveyor, a sensor sends signals to the PLC, which counts each ball using a counter. The count is displayed on the HMI as Product Count. When the preset number of balls is reached, the PLC stops the conveyor and activates the dropper to fill the box.

 

After filling, the system resets the counter and starts the next cycle. A second conveyor moves the filled boxes forward, and a sensor updates the Box Count on the HMI.

The HMI also provides START/STOP control and shows system status, making it easy to monitor and control the process.




 










HMI Design

On HMI screen, include:

Start Button

Stop Button

Reset Button

Ball Count Display

Target Count Input (User can change value)

System Status (Running/Stopped)


Advantages Of PLC

High accuracy in counting and control

Fast and reliable operation

Easy to modify program (flexible)

Reduces human errors

Suitable for industrial automation

 

Advantages of HMI

Easy monitoring of system (counts, status)

User-friendly control (Start/Stop buttons)

Real-time data display

Reduces need of manual supervision

Improves overall system control and safety

 

Applications

Toy manufacturing industry

Bearing ball packing

Food industry (small items like candies)

Pharmaceutical industry

 

Conclusion

The automatic ball counting and packaging system using PLC and HMI provides an efficient and reliable solution for industrial automation. It reduces errors, increases productivity, and ensures accurate packaging. The system can be further enhanced with advanced sensors and IoT integration.


 

March 13, 2026

Design Safety Door System

To design and implement a safety door control system using a Programmable Logic Controller (PLC) that ensures the door operates only under safe conditions. The system will continuously monitor safety inputs and generate an alarm in case of any violation, thereby enhancing workplace safety and reliability.

 INTRODUCTION: -

A Safety Door Control System is an industrial automation system that makes sure doors operate safely and in a controlled way using a PLC (Programmable Logic Controller). This system is mainly used to prevent unauthorized people from entering and to keep operators safe while working.

 

PROBLEM:

Unsafe door opening

Accident risk during machine operation

Human error (incorrect key operation)

Unauthorized access

Absence of alarm system

 

OBJECTIVE:

The main objectives of this system are:

To operate the door only in safe conditions

To allow access only through safety keys

To generate an alarm if something goes wrong

To follow industrial safety standards

 

COMPONENTS REQUIRED

PLC (Programmable Logic Controller)

Door Motor Switch

Door Sensor

Alarm

Safety Keys (1,2,3,4)

Start and Stop push buttons

Power Supply

WORKING:

Door Opening Condition (Y0 ON):

The door will open only when:

The motor is ON

Key-1 ON

Key-3 ON

Key-2 OFF

Key-4 OFF

This combination ensures that the door only opens under safe conditions.

Alarm Condition (Y1 ON): The alarm will turn ON if

The motor is ON

Either Key-1 or Key-3 is OFF

Or Key-2 or Key-4 is ON

This indicates that the safety rules have been violated and something is wrong.

 



Ladder Program: -



 









HUMAN MACHINE INTERFACE(HMI) +PLC LADDER Logic

 

SAFETY FEATURES:

Interlocking system using safety keys

Alarm for fault detection

Prevents unauthorized access

Reliable operation using PLC

APPLICATIONS:

Industrial safety doors

Guarding machines in factories

Automated gates

Secure access systems

ADVANTAGES:

High level of safety

Easy to control and monitor

Fast response in emergencies

Reduces human errors

CONCLUSION:-

The PLC-based Safety Door Control System is a reliable and efficient way to control doors safely in an industrial environment. It ensures that doors open only under the correct conditions and warns operators with an alarm if there is a fault. This makes it a very safe and practical system for factories and secure areas.