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 for Weight-Based Packaging
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 for Weight-Based Packaging

PLC Programming for Weight-Based Packaging

Discover the steps for PLC programming in weight-based packaging with automating product sorting and control for packaging.

Last updated: October 28, 2024 10:31 pm
Editorial Staff
PLC Tutorials
No Comments
Share
6 Min Read
SHARE

This article explains how an Automatic Packaging Machine works that can select products based on weight. Products carried by the conveyor will be weighed when they arrive at the weighing area. If the product weighs 25 grams, the system will activate a piston to move it to the Collection Bin, and the number of products will be counted. If the product weight does not match with the 25-gram weight then the product will be rejected using a piston.

Contents
Weight-Based PackagingI/O AddressingPLC Programming

Weight-Based Packaging

The inputs for the PLC program are mentioned as follows.

  1. The PB_START (0.00) button is used to turn ON the system.
  2. The PB_STOP (0.01) button is used to turn OFF the system.
  3. The RESET_COUNTER (0.02) button is used to Reset the Counter data.
  4. The SENSOR_PRODUCT (0.03) sensor is used to detect products carried by the conveyor.
  5. Limit Switch LS_PISTON (0.04) is used to give feedback to the PLC when the piston has reached the maximum forward position.

The Conveyor CONVEYOR (100.00) will Run when this system is turned ON.

PLC Programming for Weight-Based Packaging

Sequence-1

When the sensor SENSOR_PRODUCT (0.03) detects a product in the Conveyor weighing area, CONVEYOR (100.00) will Stop momentarily for 3 seconds.

If the weight of the product is Not Equal to 25 grams, then the Piston PISTON (100.01) will Push the product into the Collection Bin. Next, Conveyor CONVEYOR (100.00) will Run again.

Sequence-2

If the product weighs 25 grams, the Conveyor CONVEYOR (100.00) will Run again to carry the product. Next, products that weigh 25 grams will be counted in the memory word COUNTER (D10).

Weight-Based Packaging System

I/O Addressing

CommentInput (I)Output (Q)Memory WordMemory BitsTimer
PB_START0.00    
PB_STOP0.01    
SENSOR_PRODUCT0.03    
LS_PISTON0.04    
RESET_COUNTER0.02    
CONVEYOR 100.00   
PISTON 100.01   
TIMER1    T0000
PV_PRODUCT  D0  
COUNTER  D10  
SYSTEM_ON   W0.00 
CUTOFF   W0.01 

PLC Programming

RUNG 0 (SYSTEM ON/OFF)

In this Rung, the memory bit SYSTEM_ON (W0.00) changes to the HIGH state when the PB_START (0.00) button is Pressed. The memory bit SYSTEM_ON (W0.00) remains in the HIGH state even though the PB_START (0.00) button has been Released because it uses the KEEP instruction.

The memory bit SYSTEM_ON (W0.00) will change to the LOW state if the PB_STOP (0.01) button is Pressed.

Automatic Packaging Based on Product Weight

RUNG 1

In this rung, the value in the memory word COUNTER (D10) will be Reset to zero “0” when the RESET_COUNTER (0.02) button is Pressed. Because the MOV instruction moves the zero value “0” to the memory word COUNTER (D10).

RUNG 2 (CONVEYOR ON)

The CONVEYOR (100.00) output will be ON if the NO contact of memory bit SYSTEM_ON (W0.00) in the HIGH state. The CONVEYOR (100.00) output will be OFF if the NC contact of memory bit CUTOFF (W0.01) is in the HIGH state.

PLC Weight-Based Packaging Applications

RUNG 3 (CONVEYOR STOP)

In this Rung, the memory bit CUTOFF (W0.01) will be in the HIGH state if the NO contacts of memory bit SYSTEM_ON (W0.00) and Sensor SENSOR_PRODUCT (0.03) are in the HIGH state.

The memory bit CUTOFF (W0.01) will remain in the HIGH state even though the Sensor SENSOR_PRODUCT (0.03) is in the LOW state because it uses the SET Instruction.

RUNG 4

In this Rung, Timer TIMER1 (T0000) will Start counting up to 3 seconds if the NO contact of memory bit CUTOFF (W0.01) is in the HIGH state.

Packaging Control with PLC Programming

RUNG 5

If the NO contact of TIMER1 (T0000) in the HIGH state and the value in memory word PV_PRODUCT (D0) is Equal to “25”, then the memory bit CUTOFF (W0.01) will be in the LOW state and the value in memory word COUNTER (D10) will increase (+1).

Sorting by Weight in PLC

RUNG 6 (PISTON ON/OFF)

In this Rung, the PISTON (100.01) output will be ON if contact NO of TIMER1 (T0000) is in the HIGH state and the value in memory word PV_PRODUCT (D0) is Not Equal to “25”.

The PISTON (100.01) output will be OFF and the memory bit CUTOFF (W0.01) will be in the LOW state if the Limit Switch LS_PISTON (0.04) is in the HIGH state.

Read Next:

  • Simple Conveyor Control PLC Program Example
  • PLC Sequential Control of Three Lights with Reset
  • PLC Packing Machine Control System Program
  • PLC Batch System for 4 Tanks Mixing Program
  • Basic PLC Conveyor System for Product Handling
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

PLC Conveyor Ladder Logic Program
Types of Cables used in Industrial Automation
Open Loop and Closed Loop System Questions Answers
Operator Interface for SCADA System
Communicating Delta PLC Software to Simulator
Real-Time Clock in Omron PLC? – CX Programmer
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

PLC Count values higher than 999
Procedure for Connecting Allen Bradley PLC and PC – RS Logix 500
MOVE Instruction in PLC – What You Need to Know?
Mis-conceptions of PLC Ladder Logic
STAR-DELTA Auto And Manual Program using XG5000 Software
Tutorial: Siemens Communication between PLCs using I-Device
Monitor and Modify Variables in Simatic Manager
How a PLC do the Scaling for a Sensor ?

Keep Learning

Push button Motor PLC Logic

Push button Motor PLC Logic

Liquid Tank Filling and Emptying PLC System

Auto and Manual Liquid Tank System: PLC Program Example

PLC Programming in Hindi - Siemens Tia Portal Full Course

PLC Programming in Hindi – Siemens Tia Portal Full Course Free

0 to 10 mA Current Loop

What is Live Zero in 4-20 mA Current Loop?

Siemens S7 300 and STEP 7 PLC program using SIMATIC Software

PLC program for Sorting System by Size Example

PLC Based Product Sorting Machine System – Lift Control

Bottle’s Capping with Rotating Mechanism

PLC FBD Program for Bottle’s Capping with Rotating Mechanism

PLC Ladder Logic for Lube Oil Pump Motor

PLC Ladder Logic for Lube Oil Pump Motor

Learn More

State Variable Analysis and Design

Diagonalization

What is Oscilloscope

What is Cathode Ray oscilloscope ?

Valve Leakage Tests

Types of Valve Leakage Tests

Differential Pressure (DP) Flow Meters Range Calculation Methods

Differential Pressure (DP) Flow Meters Range Calculation Methods

Siemens PLC Simulator and Plant Simulation Software

How to use Simulator in Siemens PLC?

Online Simulation

why-lel-important-in-gas-detection

Why LEL important in Gas Detection?

Difference between UPS and Stabilizer

Difference between UPS and Stabilizer?

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?