PLC Program for Daily Production Record

0
83

This is PLC Program for Daily Production Record.

Problem Description

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

In olden days, human operator is 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 unable to track the production quantity effectively.

Mostly these types of problems occur in food and beverage industries, box packaging industries, bottle filling application 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

Problem 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.

Program

Here is PLC program for Daily Production Record.

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

PLC Ladder Logic for Daily Production Record

Program Description

  • In this application we have used Siemens S7-1200 PLC and TIA Portal Software for programming.
  • 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.
  • 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.
  • 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 Program for Daily Production Record RunTime Test Cases

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.

Article by
Bhavesh Diyodara

LEAVE A REPLY

Please enter your comment!
Please enter your name here