Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: PLC Programming: Sorting and Distribution of Boxes by Height
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > PLC Programming: Sorting and Distribution of Boxes by Height

PLC Programming: Sorting and Distribution of Boxes by Height

In this PLC programming, we do sorting and distribution of boxes by height into the designated storage bins using sensors and conveyors.

Last updated: June 27, 2023 11:03 pm
Editorial Staff
PLC Tutorials
No Comments
Share
6 Min Read
SHARE

In this PLC programming, we do sorting and distribution of boxes by height into the designated storage bins using sensors and conveyors.

Contents
PLC Sorting Boxes by HeightPLC I/O ListProgram DescriptionPLC Ladder Logic

This PLC program distributes the specified number of parts according to their size.

PLC Sorting Boxes by Height

The below simulation shows the working principle of PLC logic for sorting boxes based on their height. Here we have 3 different size boxes like small, medium, and large sizes.

There are three storage bins for each box size. There are three pushers and three conveyors. Each box size has one pusher and one conveyor.

PLC Programming to Sort Boxes Based on Height and Parts Distribution

The robot places the boxes randomly on the conveyor. The sensors are used to detect the box’s size. The conveyors are started and stopped when the respective box size reaches there using the sensors.

The respective pusher is activated and moves the respective box size to the dedicated storage bins.

PLC I/O List

The below table lists the inputs and outputs of this system.

TypeDevice No.Device NameOperation
InputX0Starting pointON when the robot is at starting point.
InputX1UpperON when the part is detected.
InputX2MiddleON when the part is detected.
InputX3LowerON when the part is detected.
InputX4SensorON when the part is detected on the incline.
InputX5SensorON when the part is detected on the incline.
InputX6SensorON when the part is detected on the incline.
InputX7SensorON when the part is detected at the right end.
InputX10Detect partON when the part is detected in front of the pusher.
InputX11Detect partON when the part is detected in front of the pusher.
InputX12Detect partON when the part is detected in front of the pusher.
OutputY0Supply commandOne part is supplied When Y0 is ON. A process cycle begins: Wooden part repeats in order M, S, L, M, M, L, S, S, L, L.
OutputY1Conveyor forwardThe conveyor moves forward when Y1 is ON.
OutputY2Conveyor forwardThe conveyor moves forward when Y2 is ON.
OutputY3Conveyor forwardThe conveyor moves forward when Y3 is ON.
OutputY4Conveyor forwardThe conveyor moves forward when Y4 is ON.
OutputY5PusherExtends when Y5 is ON and retracts when Y5 is OFF. The pusher cannot be stopped in the mid-stroke.
OutputY6PusherExtends when Y6 is ON and retracts when Y6 is OFF. The pusher cannot be stopped in the mid-stroke.
OutputY7PusherExtends when Y7 is ON and retracts when Y7 is OFF. The pusher cannot be stopped in the mid-stroke.

Program Description

Programming a Programmable Logic Controller (PLC) for Box Sorting Based on Height and Component Distribution.

Initiating the robot’s operation involves pressing the pushbutton PB1 (X20) located on the control panel, which activates the Robot Supply Command (Y0).

The Robot Supply Command (Y0) is deactivated upon the robot completing the part movement and returning to its initial position.

The Conveyor Movement Command is controlled by the Switch SW1 (X24) on the control panel. Activating the switch (turning it ON) propels the conveyor’s movement forward while deactivating it (turning it OFF) brings the conveyor to a halt.

Sorting of parts, segregated into large, medium, and small sizes, is executed through the input from the Upper (X1), Middle (X2), and Lower (X3) sensors. Post-sorting, the parts are conveyed to their designated trays.

The presence of a part in the pusher is identified by the activation (turning ON) of the Part Detection Sensors (X10, X11, or X12). Upon part detection, the conveyor is brought to a halt, and the detected part is displaced onto the tray.

Note: The operation of the pusher is governed by the Pusher Actuation Command. Upon receiving an ON signal, the pusher fully extends, while an OFF signal causes the pusher to retract.

Each tray is to contain a specific number of parts, depending on their size. Any parts exceeding these specified numbers bypass the pusher and are ejected from the conveyor at the right end.

The designated number of parts per size is as follows:

  • Large: 3 parts
  • Medium: 2 parts
  • Small: 2 parts

PLC Ladder Logic

PLC Ladder Logic for Boxes Sorting by Height
Programmable Logic Controller for Sorting and Distribution

Source: Mitsubishi Electric

If you liked this article, then please subscribe to our YouTube Channel for Instrumentation, Electrical, PLC, and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • SCADA System Architecture
  • Two-Hand Press Safety Circuit
  • Feedback Monitoring in PLC
  • PLC Power Supply and Voltages
  • Automation System Power Supply
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Continue Reading

How to Program PID Control in PLC with Structured Text?
What is NOR Flash Memory in PLC?
PLC Program to Heat and Bend Glass Tubes
Importance of Grounding Electronic Equipment
Quiz Program Logic Using PLC Programming
PLC Sequencer Instruction with Example
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

What is Seal-in Circuit ?
Basics of Fail-safe Circuits
Why Are Charcoal and Salt Added to an Earthing Pit?
SCADA Communication and Protocols
What is Complementary Split Range Control (CSRC)?
How is Data Stored in Standard Modbus Protocol?
MODBUS ASCII Communication Protocol Explained
Lamp Control using PLC Logic Condition

Keep Learning

Auto Sugar Bag Filling Station

Auto Sugar Bag Filling Station

Example of PID Control Instruction

How to Configure PID in Siemens PLC?

How to Run Multiple Motors with a Single VFD

How to Run Multiple Motors with a Single VFD?

FIFO and LIFO Sequences in PLC

What are FIFO and LIFO Sequences in PLC?

PLC Program for Alarm Indication in Process

PLC Program for Alarm Indication in Process Control

PLC Programming Example for a Batch Process

PLC Programming Example for a Batch Process

Learn SCL programming from scratch

How to Start Writing SCL Language in Siemens Tia Portal?

Download Free HMI software – CODESYS

Learn More

Analog Modulators Objective Questions

Analog Modulators Objective Questions

Stability in Frequency Domain

Mathematical Preliminaries

simple motor start-stop circuit

Liquid Level Switch Control Logic

Basics-of-Gas-Chromatograph-Working-Principle

Working Principle of Gas chromatograph

Free Electronics Software Download

Power Tool Maintenance

Power Tool Maintenance – When And How To Replace Carbon Brushes

Time Response Analysis

Effect of Adding a Zero to a System

Power Systems Projects

400+ Power Systems Projects – Best Electrical Project Ideas

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?