By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: PLC Programming: Sorting and Distribution of Boxes by Height
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Ask
  • Courses
  • Videos
  • Q & A
  • EE
  • Measure
  • Control
  • More
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
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 Tutorials

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
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 !
PLC Program to Simulate Gate Array Logic
PLC Programming for Traffic Barrier Control
Difference Between CompactLogix and ControlLogix
Instrumentation Engineer in Process Plant Project
Electrical Earthing Calculations
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
206kSubscribersSubscribe
38kFollowersFollow

Latest

Top Non-PLC Certification Courses for Automation Professionals
Top Non-PLC Certification Courses for Automation Professionals
Common
Things You Need to Know About DeviceNet
Things You Need to Know About DeviceNet
Communication
Why is IEC 60269 Important
Why is IEC 60269 Important? – Electrical Applications
Standards
NAMUR OPEN ARCHITECTURE
What is NAMUR OPEN ARCHITECTURE?
Control Systems

More Articles

Diaphragm Valves

How Diaphragm Valves Work ?

Galileo thermometer Principle

Galileo Thermometer

Control Loop

What is a Control Loop ?

orifice plate vent hole

What is the Purpose of Orifice Plate Drain Hole and Vent Hole?

What we need to Know before Tune a PID Controller

What we need to Know before Tune a PID Controller ?

Use of Regions in SCL Language

Use of Regions in SCL Language

phototransistor-circuit

Phototransistor Circuit Example

DC Circuit

Main differences between Sinking and Sourcing Circuits

//

Inst Tools

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

[mc4wp_form id=”847″]

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?