Jump to content
  • Sign in to follow this  

    PLC programming for defective part classification

       (0 reviews)

    xiangjinjiao

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

    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.

    spacer.png

    PLC Inputs and Outputs

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

    Type Device No. Device name Operation
    Input X0 Drilling ON while drilling.
    Input X1 Part under drill One part is supplied when Y0 is ON: A large metal cube.
    Input X2 Drilled correctly ON when the part is drilled correctly. The previous result is cleared when drilling starts.
    Input X3 Drilled wrong ON when the part is detected at the left end.
    Input X4 Sensor ON when the part is detected at the right end.
    Input X5 Sensor ON when the part is detected in front of the pusher.
    Input X10 Sensor ON when the part is not drilled correctly. The previous result is cleared when drilling starts.
    Output Y0 Supply command The conveyor moves forward when Y1 is ON.
    Output Y1 Conveyor forward The conveyor moves forward when Y3 is ON.
    Output Y2 Start drilling Starts drilling when Y2 is ON (A process cycle that cannot be stopped partway).
    Output Y3 Conveyor forward Extends when Y5 is ON and retracts when Y5 is OFF. The pusher cannot be stopped in the mid-stroke.
    Output Y5 Pusher Extends 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

    1-2.jpg

    Sign in to follow this  


    User Feedback

    Create an account or sign in to leave a review

    You need to be a member in order to leave a review

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    There are no reviews to display.


Apply for friendship links:WhatsApp or E-mail: admin@plchmis.com
×
×
  • Create New...