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: Advanced PLC Programming for Defective Parts Sorting
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 > Advanced PLC Programming for Defective Parts Sorting

Advanced PLC Programming for Defective Parts Sorting

Advanced PLC programming for defective parts sorting to distinguish between good and bad parts and then transport them via conveyors.

Last updated: June 27, 2023 2:15 pm
Editorial Staff
PLC Tutorials
No Comments
Share
5 Min Read
SHARE

Advanced PLC programming for defective parts sorting to distinguish between good and bad parts and then transport them via conveyors.

Contents
Advanced PLC Programming for Defective Parts SortingPLC Inputs and OutputsProgram DescriptionOverall ControlDrill ControlPLC Programming

Advanced PLC Programming for Defective Parts Sorting

The below simulation shows the good and bad products identification and sorting the products based on their quality using PLC ladder logic.

The conveyors are used to move the products. The conveyors are started and stopped when the products are delivered on the conveyor and during the drilling operation.

The drill machine is used for drilling the products as per the design. Sometimes the drilling operation may damage the products.

A sensor detects the quality of the products and a pusher is used to push the bad products into another storage bin.

Advanced PLC Programming for Defective Parts Sorting

PLC Inputs and Outputs

The below table lists the required inputs and outputs of the PLC system.

TypeDevice No.Device nameOperation
InputX0DrillingON while drilling.
InputX1Part under drillOne part is supplied when Y0 is ON: A large metal cube.
InputX2Drilled correctlyON when the part is drilled correctly. The previous result is cleared when drilling starts.
InputX3Drilled wrongON when the part is detected at the left end.
InputX4SensorON when the part is detected at the right end.
InputX5SensorON when the part is detected in front of the pusher.
InputX10SensorON when the part is not drilled correctly. The previous result is cleared when drilling starts.
OutputY0Supply commandThe conveyor moves forward when Y1 is ON.
OutputY1Conveyor forwardThe conveyor moves forward when Y3 is ON.
OutputY2Start drillingStarts drilling when Y2 is ON (A process cycle that cannot be stopped partway).
OutputY3Conveyor forwardExtends when Y5 is ON and retracts when Y5 is OFF. The pusher cannot be stopped in the mid-stroke.
OutputY5PusherExtends when Y5 is ON and retracts when Y5 is OFF. The pusher cannot be stopped in the mid stroke.

Program Description

This project aims to differentiate between good and defective parts using sensors and sorting them accordingly. The project consists of two key areas: overall control and drill control.

Overall Control

There is a pushbutton named PB1 (X20) on the control panel. When you press PB1, it triggers the Supply command (Y0) for the hopper, causing it to supply parts. Releasing PB1 deactivates the Supply command, stopping the hopper.

There is a switch, SW1 (X24), on the control panel. When you turn SW1 ON, the conveyors start to move forward. Turning SW1 OFF halts the conveyors.

Drill Control

Now let’s discuss the control of the drill:

When the Part under the drill sensor (X1) within the drill is activated, the conveyor halts.

The drilling process commences when the Start drilling command (Y2) is activated. It stops when the Drilling sensor (X0) is activated.

After one complete cycle of drill operation, if Start drilling (Y2) is activated, either the Drilled correctly (X2) or Drilled wrong (X3) sensor is triggered.

Note that the drill can’t be stopped mid-operation. In this PLC simulation, every third part is considered defective (A part with multiple holes also falls into the defective category).

When the Detect part sensor (X10) in the pusher identifies a defective part, the conveyor stops, and the pusher moves the part onto the ‘Defective’ tray.

Remember that when the actuating command for the pusher is ON, it fully extends. When the command is OFF, the pusher fully retracts.

A part that passes inspection continues along the conveyor to the ‘OK’ tray located at the right end.

PLC Programming

PLC Ladder Logic for Defective Parts Sorting

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:

  • Find the Best PLC for Your Project
  • HMI Screens on a Mobile or Tablet
  • Top Automation Vendors in World
  • Tia Portal Interrupt Organization Block
  • Types of Sensors Used in Automobiles
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

SCADA for Substation Automation
Free SCADA Training Course
Run 4 Motors Sequentially from Same Push button PLC Program
Quiz: Identifying I/O Examples in PLC Systems
Single-acting Cylinder OR Logic Operation (PLC and Sensors)
PLC Functional Block Diagram for Logic Gates
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

How to Prevent Ground Loops in Analog Circuits?
200+ Quiz on Electrical Meters, Measurement, and Troubleshooting
What is NOR Flash Memory in PLC?
ICS System Design Considerations
Free InTouch SCADA Tutorial Course for Beginners
User Defined Data Types (UDT) – Purpose, Need, Tutorial
How to Delete the Siemens CPU Memory?
What is PID Controller?

Keep Learning

Grounding or Earthing Scheme in DCS or PLC Systems

Grounding or Earthing Scheme in DCS or PLC Systems

What is a Wet Contact in PLC

What is a Wet Contact? – Basics of PLC Wiring

Top Automation Vendors

Top Automation Vendors from Around the World – An Overview

InTouch SCADA Password Protection

InTouch SCADA Login Password Security

Flexible Input Output Modules

Flexible Input Output Modules

How to Download Rslogix Free

Download Allen Bradley RSLogix PLC Software

HMI

Learn about SCADA and HMI Systems

ESG in Industrial PLC Automation Systems

ESG in Industrial PLC Automation Systems

Learn More

Valve Leakage Tests

Types of Valve Leakage Tests

Electrical Contactor, Switch, Circuit Breaker

Electrical Contactor, Switch, Circuit Breaker

Digital to Analog Converters Objective Questions

Digital to Analog Converters Objective Questions

Manual Call Point Testing Procedure

Manual Call Point Testing Procedure

Capacitive Level Measurement Principle

Capacitive Level Measurement

Spring Loaded Variable Area Flowmeter Working Principle

Spring Loaded Variable Area Flow Meter Working Principle

Shunt-Wound DC Motor

Shunt-Wound Motor Operation

Retro-Reflective Sensor

What is a Retro-Reflective Sensor? – Principle, Applications

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?