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
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 Program for Daily Production Record
Share
Notification Show More
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
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > PLC Program for Daily Production Record

PLC Program for Daily Production Record

PLC Program for Daily Production Record. Learn the problem description with a detailed explanation of the ladder logic.

Last updated: November 3, 2023 10:16 am
Editorial Staff
PLC Tutorials
No Comments
Share
5 Min Read
SHARE

PLC Program for Daily Production Record. Learn the problem description with a detailed explanation of the ladder logic.

Contents
Daily Production RecordProblem DiagramPLC SolutionList of Inputs/OutputsLadder Diagram for Daily Production RecordPLC Program DescriptionRuntime Test Cases

Daily Production Record

Problem Description

In many industries, It is required to count the number of products that are made in one day and it is very necessary for selling the products or tracking the production quantity on a daily basis.

In the olden days, human operators were allotted for counting the final products but because of some human errors, precise counting is not possible. Therefore we cannot get proper counting of all products and are unable to track the production quantity effectively.

Mostly these types of problems occur in food and beverage industries, box packaging industries, bottle filling applications etc. So we can use a simple PLC based logic to track the daily production and to record it electronically.

Problem Diagram

PLC Program for Daily Production Record

PLC Solution

Here we will solve the problem of counting of final products by using sensors and PLC programming. First sensor sense the product and counts the quantity and the value will be shown on the digital display (as shown in above figure).

For easy explanation, we will consider one simple example of empty box counting system. In this system empty boxes are travelling form first process to second process (say one place to another).

Sensor is used for counting the empty boxes. So when sensor will detect empty box then display will start , say starts count from  1 and this is done by simple logic.

Every 24 hours / after one day, we can reset the counter value by using RESET button. Here we will consider two batches of production for easy explanation.

And also we have considered two batches completion indications for operator for each batch which will display on the Local Panel. By PLC logic we will implement the desired logic.

So when any batch will be completed then indication lamp will be ON as per PLC program.

Once production target will be completed, display counter can be reset by using RESET button.

List of Inputs/Outputs

Inputs List

  • Box detector Sensor: I0.0
  • Reset: I0.1
  • Main SWITCH: I0.2

Outputs List

  • Target completed: Q0.0
  • Batch 1 completed: Q0.1
  • Batch 2 completed: Q0.2

Ladder Diagram for Daily Production Record

Ladder Logic for Daily Production Record

PLC Program Description

In this application, we have used Siemens S7-1200 PLC and TIA Portal Software for programming.

Network 1:

In Network 1 we used Main SWITCH (I0.2) to start the system/batch and we used NO contact of box detector sensor (I0.0) in series. Here we considered one UP counter so when box detector sensor (I0.0) detects  the box then counter will starts counting.

Here also we have taken target completed output (Q0.0) for target completion indication for the operator indication on the panel. By pressing RESET button (I0.1) operator can RESET the old production record.

Counter operation is used to count the products, in which RESET (I0.1) used for reset the production record. And Preset value (PV) is 20 products. Counter value (CV) is MW2 indicates the actual number of products detected by sensor & this value will be used in the following rungs to track the batch status.

Network 2:

In Network 2 we used batch1 logic from counter block output CV. Here we used comparator for counting 10 boxes for batch 1 and when it will be completed then batch 1 completed lamp (Q0.1) will ON. In this add equal to equal comparator in which input is (MW2) and for 10 products.

Network 3:

In network 3 we used batch 1 logic from counter block output CV. Here we used comparator for counting 20 boxes for batch 2 and when it will be completed then batch 2 competed lamp (Q0.2) will ON

And this way we can decide that how many products and batches are produced.

Runtime Test Cases

PLC Production

Note: The above PLC Logic provided for basic idea about application of PLC in industrial production record. The Logic is limited and not complete application.

Author: Bhavesh

If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • SR Flip Flop using PLC
  • PLC Program using Logic GATE
  • Asynchronous Motor Control PLC
  • PLC I/O addressing
  • Alarms in Process Control
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 Controlled Conveyor and Weighing with Labeling Automation
PLC Programming for Multi-Color Sorting Conveyor System
What is Live Zero in 4-20 mA Current Loop ?
Software Redundancy in Siemens PLC – Hardware versus Software
#2 PLC Best Practices – Track Operating Modes
What is a PLC? – Programmable Logic Controller
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

Explore More

Difference Between NO and NC Contacts
Programmable Logic Controller Practice Tests
What are High-Speed Counters and Fast Counters in PLC?
PLC Program for Password Management using Structured Text
PLC Program to Read Temperature in PLC
PLC Program for Stage Control: Curtains and Stage Elevation
PLC Structured Text Program for Light Sequences via Timers
How to Create Templates in FactoryTalk View Studio?

Keep Learning

Allen Bradley RSLogix 500 PLC Programming

How to Filter Digital and Analog Inputs in a PLC

#7 PLC Best Practices – Validate and Alert for Paired Inputs/Outputs

Allen-Bradley SLC 500

History of Programmable Logic Controllers (PLC)

Principle of Operation of PLC

Principle of Operation of PLC

CODESYS open source PLC software

What is CODESYS? Why Do You Need to Learn it?

WHILE DO Statement in SCL Language

WHILE DO Statement in SCL Language

Actuator Sensor Interface (ASi) Protocol in PLC

Actuator Sensor Interface (ASi) Protocol in PLC

Control 3 Motors with Toggle Switch

PLC Ladder Logic Design: Control 3 Motors with Toggle Switch

Learn More

Factors for Setting Alarm Levels on Toxic Gas Detectors

Factors for Setting Alarm Levels on Toxic Gas Detectors

Question on Analytical Controller

Question on Analytical Controller

Thermocouple Reference Junction

Thermocouple Working Principle

Level Loop Troubleshooting

Identify Faults in PID Control Loop

PLC Load Memory

What is Resources Tab in the Siemens PLC?

Electrical Conduit Seal

Assembling an Electrical Conduit Seal

SCADA Systems

SCADA Systems

How to Select a pH and ORP Meter

How to Select a pH or ORP Meter

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?