Count the number of steps capping machine is placed from the sensor and set bit position to operate
capping machine accordingly.
In this example as you can see, bottle is 8 steps away from the proximity switch, so if Bit register B3:0 is
used, then capping machine should be operated when B3:0/0 is shifted to B3:0/7.
Capping machine is operated by pneumatic system. It is activated by air supply when energized.
Similarly we can even make an arrangement where two capping machines are operated, one to cap small
bottles and other for larger bottles.
PLC Program
Here is PLC program to Perform Capping of Beverage Bottles, along with program explanation and run
time test cases.
List
of Inputs and Outputs
I:1/0
= Start
(Input)
I:1/1
= Stop
(Input)
I:1/2
= Proximity
(Input)
O:2/0
= Master coil / Run
(Output)
O:2/1
=
Conveyor motor
(Output)
O:2/2
= Capping machine
(Output)
BSL
=
Bit shift left instruction
(Logical)
B3:0
= Bit shift Register
(Register)
B3:0/7 = Bit
to energize capping machine
(Bit)
R6:0
= Control register
(Register)
T4:0
= Timer
to stop conveyor for capping
(Timer)
LIM
= Limit output to perform capping before conveyor starts again
(Compare)