February 20, 2025

Count products passing on the conveyor using counter instruction in FBD language

 Count products passing on the conveyor using counter instruction (S7-1200 FBD).

 

This is PLC Program for counting products passing on the conveyor using counter instruction.

 

Problem Description

On the conveyor boxes are passing, we need to count boxes passing on the conveyor. Write PLC program for this application using FBD diagram language.

 

Problem Diagram



Problem Solution

For this example we will use PLC programming and counter instruction.

Sensor is used to detect the boxes passing on the conveyor and show the count value on the display.

Here we considered two batches so when it will be completed indication lamp will glow.

Once production target is completed, total counter value can be reset by the reset button.

 

Program

Here is PLC program for counting products passing on the conveyor using counter instruction.

List of Inputs/Outputs

Inputs List:-

Box detector=I0.0

Reset button= I0.1

Main SW=I0.2

Outputs List:-

Target competed indication:- Q0.0

Batch 1 completed indication:-Q0.1

Batch 2 completed indication:-Q0.2

 

FBD diagram for counting products passing on the conveyor using counter instruction.







Program Description


In network 1 we've used on Main SW (I0.2) to START out the system and that we used NO contact of box detector (I0.0) nonparallel. Here we tend to thought-about one UP counter thus once box detector (I0.0) detects box then counter can count.

Here additionally we've taken target completed indication lamp (Q0.0) for target completion indication.

 

By pressing RESET BUTTON (I0.1) user will RESET the previous production record.

Counter operation boost count the boxes and RESET BUTTON (I0.1) for reset the assembly record. And preset value (PV) is 40 products and Counter value (CV) is MW10 for storage actual boxes on the conveyor detected by the sensor.

In network 2 we tend to took batch1 logic. Here we tend to used comparator for counting 20 boxes for batch 1 and once it'll be completed then batch 1 completed indication lamp (Q0.1) will ON.

 

In network 3 we tend to took batch 2 logic. Here we tend to used comparator for investigating 20 boxes for batch 1 and once it'll be completed then batch 2 competed indication lamp (Q0.2) will ON.


Note:-Application is only for learning and educational purpose .Above application may be different from actual application. This application can be done in other PLC also. Users are responsible for correct operation of the PLC system and for any possible injuries and or material damages resulting from the use of this program. It is necessary to take care of safety during implementation, installation, maintenance and operation.

 

All parameters and graphical representations considered in this example are for explanation purpose only, parameters or representation may be different in actual applications. Also all interlocks are not considered in the application.

 






February 19, 2025

Count products passing on the conveyor using counter instruction in ladder logic

Count products passing on the conveyor using counter instruction.

 

This is PLC Program for counting products passing on the conveyor using counter instruction.

 

Problem Description

On the conveyor boxes are passing, we need to count boxes passing on the conveyor. Write PLC program for this application using ladder diagram language.

 

Problem Diagram


Problem Solution

For this example we will use PLC programming and counter instruction.

Sensor is used to detect the boxes passing on the conveyor and show the count value on the display.

Here we considered two batches so when it will be completed indication lamp will glow.

Once production target is completed, total counter value can be reset by the reset button.

 

Program

Here is PLC program for counting products passing on the conveyor using counter instruction.

List of Inputs/Outputs

Inputs List:-

Box detector=I0.0

Reset button= I0.1

Main SW=I0.2

Outputs List:-

Target competed indication: - Q0.0

Batch 1 completed indication: - Q0.1

Batch 2 completed indication: - Q0.2

 

 


Ladder diagram for counting products passing on the conveyor using counter instruction.







Program Description


In network 1 we've used on Main SW (I0.2) to START out the system and that we used NO contact of box detector (I0.0) nonparallel. Here we tend to thought-about one UP counter thus once box detector (I0.0) detects box then counter can count.

Here additionally we've taken target completed indication lamp (Q0.0) for target completion indication.

 

By pressing RESET BUTTON (I0.1) user will RESET the previous production record.

Counter operation boost count the boxes and RESET BUTTON (I0.1) for reset the assembly record. And preset value (PV) is 40 products and Counter value (CV) is MW10 for storage actual boxes on the conveyor detected by the sensor.

In network 2 we tend to took batch1 logic. Here we tend to used comparator for counting 20 boxes for batch 1 and once it'll be completed then batch 1 completed indication lamp (Q0.1) will ON.

 

In network 3 we tend to took batch 2 logic. Here we tend to used comparator for investigating 20 boxes for batch 1.and once it'll be completed then batch 2 competed indication lamp (Q0.2) will ON.

Note:-Application is only for learning and educational purpose .Above application may be different from actual application. This application can be done in other PLC also. Users are responsible for correct operation of the PLC system and for any possible injuries and or material damages resulting from the use of this program. It is necessary to take care of safety during implementation, installation, maintenance and operation.

 

All parameters and graphical representations considered in this example are for explanation purpose only, parameters or representation may be different in actual applications. Also all interlocks are not considered in the application.

 

February 16, 2025

Develop a program in FBD Logic in SIMATIC Manager for an automatic material mixing system using a PLC.

Automatic material mixing system using PLC (S7-300 FBD).


This is PLC Program for automatic material mixing system using PLC.

 

Problem Description:-

We need to mix two material (material 1 and material 2). Provide separate switch for each material. And also provide facility for mixed material for the same. Write FBD diagram logic for the application.

Problem Diagram:-









Problem Solution
For explanation we are able to think about straight forward example of mixing system. During this application pure unmixed material is ready by the action of SW S1 and S2.And mixed material is ready by the action of SW3.

Operator watches the extent of the tank and he will discharge tank by the discharge valve and we keep the mixer motor ON whereas tank is being filled. We are going to give interlock system thus user cannot operate each switch at same time.

Program

Here is PLC program for Automatic material mixing system using PLC.

List of inputs

SW 1:-I0.0

SW 2:-I0.1

SW 3:-I0.2

Mixer trip:-I0.3

List of outputs

Material valve 1:-Q0.0

Material valve 2:-Q0.1

Discharge valve:-Q0.2


 FBD diagram for the automatic material mixing system using PLC






Program Description

In network 1 we used NO contact of SW1 (I0.0) and NC contact of SW2 (I0.1) and NC contact of SW3 (I0.2) in series. By activating SW1 operator can START the valve for material 1

In network 2 we have taken NO contact of SW2 (I0.1) and NC contact of SW1 (I0.0) and SW3 (I0.2) in series. By activating SW2 (I0.1) operator can START the valve for material 2.

In network 3 mixer motor will START when one of the valve is running out of two valves. If there is some fault in motor then motor will not start.

 

Note:-Application is only for learning and educational purpose .Above application may be different from actual application. This application can be done in other PLC also. Users are responsible for correct operation of the PLC system and for any possible injuries and or material damages resulting from the use of this program. It is necessary to take care of safety during implementation, installation, maintenance and operation.

 All parameters and graphical representations considered in this example are for explanation purpose only, parameters or representation may be different in actual applications. Also all interlocks are not considered in the application.