Application:-There is one conveyor in the factory and boxes are moving on the conveyor. Write PLC program to count boxes moving on the table.
Components:-Programmable logic controller, electric DC motor, sensor, wires.
Explanation:-
There is one system in the factory. In this system there is one conveyor and some boxes are moving on the conveyor. Now our requirement is to count boxes moving on the conveyor. So for that we have done mechanical arrangement near to conveyor belt. In this mechanical arrangement one sensor is mounted so when box will pass through this sensor, it will cut the beam and
PLC program:-
Write the ladder program for above application using ladder diagram language. Here for ladder logic we can use any supported PLC system like S7-1200, S7-300, S7-1500 or any other PLC which can support this instruction. For PLC logic we need digital inputs and outputs.
For programming define the digital inputs and outputs and also prepare list of memory coils.
Digital inputs:-
ON/OFF Switch=I0.0
Box Detector=I0.1
Digital Output:-
Conveyor=Q0.0
M memory:-
M0.0=Reset
PLC program Explanation:-
In network 1, we have taken NO contact of ON/OFF switch to operate conveyor so when ON/OFF switch (I0.0) is pressed, conveyor (Q0.0) will be ON.
In network 2, we have taken counter logic. When conveyor is running the box will start to move so box detector (I0.1) will count parts and 200 parts completed then production completed (M0.1) command will on.
We have used NC contact of production completed (M0.1) memory bit so when part completed it will stop the conveyor.