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 for Weight-Based Packaging
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
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 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 !
Applications of PLC Programming in Bottle Filling Process
PLC Latching Function
Ladder Logic Programming Examples
PLC Program for Automatic Liquid Mixing Application
Smart Automation Solutions: PLC Logic for Stairway Lighting
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
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • Kamli on Top Free PLC Software
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals

Related Articles

Ladder Logic for Motor Control

PLC Programming for 3 Motors control in Ladder logic

Motor Feedback Fail Logic in PLC

Motor Feedback Fail Logic in PLC

PLC Program for Daily Production Record

PLC Program for Daily Production Record

Automated Garage Gate Control - PLC Ladder Logic

Automated Garage Gate Control – PLC Ladder Logic

What is a Network Switch?

Network Switch Requirement in SCADA and DCS Architecture

If Else Statement in SCL Language

If Else Statement in SCL Language

PLC Timer Programming Examples on Coffee Machine

PLC Timer Practice Exercise: Coffee Machine Programming

Key Facts About RS485 Industrial Network

Key Facts About RS485 Industrial Network

More Articles

Electrical Machines Questions and Answers

Rotating Magnetic Field Quiz

CO2 Absorber Graphics in DCS

CO2 Absorber Corroded Wall Thickness & Weld Building

Interview Questions on Instrumentation

Interview Questions for Instrumentation

Two Wattmeters to Measure 3 Phase Power

Three Phase Wattmeter

Ball Valve root cause

Ammonia Feed Ball Valve to Ship Tank Closed

fire alarm system operation

What is Fire Alarm System?

Transformer MCQ - Multiple Choice Questions

200+ Transformer MCQ – Multiple Choice Questions

How to Select a Rotameter? – Parameters and Applications

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?