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
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 Convert Current to Voltage using Resistor ?
Waste-Burning System OMRON PLC Program Example
How Could FB and FC Make Me Professional PLC Programmer?
What is the DDE Protocol?
What is a Tower Lamp? – Light Tower in Industrial Automation
What is Contextual HMI? – HMI Screens on a Mobile or Tablet
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

Comparator in PLC Programming
Why Use a Current Loop?
One Shot Rising PLC Example Program
Siemens S7 300 CPU Status and LED Errors Explanation
PLC Program for Alternate Output Circuit with Latched Function
Basics of Permissive and Interlock Circuits
How does SMPS Works? – Switched Mode Power Supply
Glass Cutting and Polishing Machine: PLC Automation Solution

Keep Learning

RSLogix 5000 PLC Programming Procedure

Burning Oven PLC Program

PLC Program for Ceramic Burning Oven Conveyor System

Commissioning Checklist for Industrial Automation System

Commissioning Checklists for Industrial Automation Systems

PLC Sequence Programming Ladder Logic

PLC Sequence Programming Ladder Logic

Advantages of Redundant System

Redundant Automation Systems – Need and Advantages

PLC Program Example on Multiple LEDs using Set Coil

PLC Program Example on Multiple LEDs using Set Coil

Database in Siemens PLC

Steps to Configure TCP/IP Communication in Siemens S7-1200 PLC

PLC Program for Conveyor Motor

PLC Conveyor Motor Ladder Logic

Learn More

Difference between Standards and Codes

Difference between Standards, Codes, Specifications, Regulations

Alarm Chattering

Categorization of Alarms in a Process Plant

Types of Allen Bradley PLC

Types of Allen Bradley PLC

Cleat Wiring

Types of Electrical Wiring

Arc Protective Clothing

What is Arc Protective Clothing? – Importance, Features, Materials

Analog signal with noise

Signal Coupling and Cable Separation

FOUNDATION Fieldbus junction boxes

Fieldbus Cables

Transformers Coolers Weld Joints Oil

Transformers Coolers Weld Joints Oil Oozes Were Eye Sores

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?