Inst ToolsInst ToolsInst Tools
  • 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
  • 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 !

Recommended Articles

Move Instruction in Tia Portal
Rockwell PLCs for Large Scale Applications
Start the Counting from a Preset Value in PLC
Structured Text PLC Programming for Two-Tanks Level Application
How to Program PID Control in PLC with Structured Text?
PID Controllers in Closed Loop Control Systems – PLC Basics
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

  • William Snyder on Top Non-PLC Certification Courses for Automation Professionals
  • 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

Related Articles

RSLogix 5000 PLC Programming Procedure

PLC Program to Energize & De-energize the Outputs based on Events

PLC Energize or De-energize the Outputs based on Events

how-a-plc-do-the-scaling-for-a-sensor

How a PLC do the Scaling for a Sensor ?

V1000 Family Programming Simulator Tool

VFD Simulator Download – Free Yaskawa V1000 Software

What is Siemens TDC - Siemens Control System

What is Siemens TDC? – Siemens Control System

PLC Sequence Programming Ladder Logic

PLC Sequence Programming Ladder Logic

PLC based drilling machine

Drilling Process using PLC Program

Create PLC Program based on Logic Circuit

Create PLC Program based on Logic Circuit

More Articles

pH Analyzers Interview Questions Answers

pH Analyzer Interview Questions and Answers

Gas Detectors Practical Problems and Troubleshooting

Gas Detectors Practical Problems and Troubleshooting

Piston Flow Meters Working Animation

Piston Flow Meters Working Principle with Animation

Digital Electronics Objective Questions

Number Systems Multiple Choice Questions

Raspberry Pi Projects

200 Raspberry Pi Projects

Electron Spin Resonance Questions & Answers

Electron Spin Resonance

Types of Interrupts Organization Blocks in Tia Portal

Types of Interrupt OB in Siemens Tia Portal

Differential Pressure Sensor for Filtration Monitoring

Differential Pressure Sensor for Filtration Monitoring

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?